Skip to content

Commit

Permalink
Constrain setuptools<70.0.0
Browse files Browse the repository at this point in the history
Resolves "ImportError: cannot import name 'packaging' from 'pkg_resources'"
  • Loading branch information
mrclary committed May 22, 2024
1 parent 1edfef8 commit 0a2b671
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/installer-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
if [[ -z ${LITE_FLAG} ]]; then
INSTALL_FLAGS+=('-r' 'req-scientific.txt')
fi
${pythonLocation}/bin/python -m pip install -U pip setuptools wheel
${pythonLocation}/bin/python -m pip install -U pip wheel
${pythonLocation}/bin/python -m pip install -r req-build.txt -r req-extras.txt -r req-plugins.txt "${INSTALL_FLAGS[@]}" -e ${GITHUB_WORKSPACE}
- name: Install Subrepos
if: ${{github.event_name == 'pull_request'}}
Expand Down
3 changes: 2 additions & 1 deletion installers/macOS/req-build.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# For building standalone Mac app
black==24.1.1 # Pin it to add missing modules to the bundle. See workflow file for the details.
dmgbuild>=1.4.2
py2app==0.28.4
setuptools<70.0.0
sphinx==5.1.1 # See spyder-ide/spyder#19618 for details.
black==24.1.1 # Pin it to add missing modules to the bundle. See workflow file for the details.

0 comments on commit 0a2b671

Please sign in to comment.