Skip to content

Commit

Permalink
pin setuptools < 65, required by numpy.distutils
Browse files Browse the repository at this point in the history
pin flake8 < 5, required by pytest
  • Loading branch information
Matthias Wittgen committed Aug 15, 2022
1 parent e0fe5cd commit 7d3df76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Build and install
run: |
python -m pip install --upgrade "pip<22" setuptools
python -m pip install --upgrade pip "setuptools<65" "flake8<5"
python -m pip install .[yaml,test]
- name: Run tests
Expand All @@ -54,7 +54,7 @@ jobs:

- name: Install dependencies
run: |
pip install --upgrade setuptools wheel build
pip install --upgrade "setuptools<65" wheel build
- name: Build and create distribution
run: |
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

- name: Install dependencies
run: |
pip install --upgrade setuptools wheel cibuildwheel
pip install --upgrade "setuptools<65" wheel cibuildwheel
- name: Build and create distribution
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
with:
python-version: 3.8

- name: Update Python packages
run: pip install --upgrade "setuptools<65" "flake8<5"

- name: Install Python prereqs
run: |
pip install \
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools",
"setuptools<65",
"lsst-versions >= 1.3.0",
"wheel",
"pybind11 >= 2.5.0",
Expand Down Expand Up @@ -40,7 +40,7 @@ dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest >= 3.2",
"flake8 >= 3.7.5",
"flake8",
"pytest-flake8 >= 1.0.4",
]
yaml = ["pyyaml >= 5.1"]
Expand Down

0 comments on commit 7d3df76

Please sign in to comment.