Skip to content

Commit

Permalink
[Python] Downgrade setuptools_scm, drop python 3.7 as EOL (#6180)
Browse files Browse the repository at this point in the history
The wheel version string has been broken for python>=3.8. It seems
recent version of setuptools_scm has changed something, so
downgrade the version for now.

Also this commit removes python 3.7 supports since it caused some version conflicts.

Tested: https://github.com/llvm/circt/actions/runs/6272413564
  • Loading branch information
uenoku authored Sep 22, 2023
1 parent 5a1d0ee commit cb0c8af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/uploadWheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
fail-fast: false
matrix:
config:
- os: ubuntu-20.04
cibw_build: cp37-manylinux_x86_64
- os: ubuntu-20.04
cibw_build: cp38-manylinux_x86_64
- os: ubuntu-20.04
Expand All @@ -26,8 +24,6 @@ jobs:
cibw_build: cp310-manylinux_x86_64
- os: ubuntu-20.04
cibw_build: cp311-manylinux_x86_64
- os: macos-latest
cibw_build: cp37-macosx_x86_64
- os: macos-latest
cibw_build: cp38-macosx_x86_64
- os: macos-latest
Expand Down
2 changes: 1 addition & 1 deletion lib/Bindings/Python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools>=42",
"setuptools_scm>=6.2",
"setuptools_scm==7.1.0",
"wheel",
"cmake>=3.12",
# MLIR build depends.
Expand Down

0 comments on commit cb0c8af

Please sign in to comment.