Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevOps: Pin version of setuptools as it breaks dependencies #5782

Merged
merged 1 commit into from
Nov 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ jobs:
run: sudo apt update && sudo apt install postgresql graphviz

- name: Upgrade pip and setuptools
# Install specific version of setuptools, because 65.6.0 breaks a number of packages, such as numpy
run: |
pip install --upgrade pip setuptools
pip install --upgrade pip
pip install setuptools==65.5.0
pip --version

- name: Build pymatgen with compatible numpy
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip and setuptools
# Install specific version of setuptools, because 65.6.0 breaks a number of packages, such as numpy
run: |
pip install --upgrade pip setuptools
pip install --upgrade pip
pip install setuptools==65.5.0
pip --version

- name: Create environment from requirements file.
Expand Down Expand Up @@ -229,8 +231,10 @@ jobs:

- name: Upgrade pip and setuptools
# It is crucial to update `setuptools` or the installation of `pymatgen` can break
# Install specific version of setuptools, because 65.6.0 breaks a number of packages, such as numpy
run: |
pip install --upgrade pip setuptools
pip install --upgrade pip
pip install setuptools==65.5.0
pip --version

- name: Install aiida-core
Expand Down