Skip to content

Commit 87c9129

Browse files
authored
Merge pull request #451 from leoslf/dev
python 3.12 CI/build workaround
2 parents b057554 + ce618ee commit 87c9129

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/main.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
restore-keys: |
3535
${{ runner.os }}-pip-
3636
${{ runner.os }}-
37+
- name: Upgrade setuptools
38+
if: matrix.python-version == 3.12
39+
run: |
40+
# workaround for 3.12, SEE: https://github.com/pypa/setuptools/issues/3661#issuecomment-1813845177
41+
pip install --upgrade setuptools
3742
- name: Install dependencies py3.7
3843
if: matrix.python-version == 3.7
3944
run: pip install -r requirements-dev-3.7.txt

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ bump2version==1.0.1
44
jsonpickle==3.0.2
55
coverage==6.5.0
66
ipdb==0.13.13
7-
numpy==1.24.4
7+
numpy>=1.24.4,<2.0.0
88
pytest==7.4.2
99
pytest-cov==4.1.0
1010
python-dotenv==0.21.0

0 commit comments

Comments
 (0)