Skip to content

Commit

Permalink
Use older version of setuptools-scm, because the new one adds commit …
Browse files Browse the repository at this point in the history
…has in the version
  • Loading branch information
noscode committed Nov 6, 2024
1 parent 9a4a5c2 commit b93ed79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publication_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

publish-to-pypi:
name: Publish distribution 📦 to PyPI
if: github.repository_owner == 'ctlab'
if: github.repository_owner == 'ctlab' && github.event.release
needs:
- build
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
# We need setup.cfg support, which setuptools introduced in 30.3.0.
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm"]
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm<=8.0.4"]
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ install_requires =
pandas <= 2.2.2
setup_requires =
setuptools
setuptools_scm
setuptools_scm <= 8.0.4

[options.entry_points]
console_scripts =
Expand Down

0 comments on commit b93ed79

Please sign in to comment.