Skip to content

Commit

Permalink
Bump setuptools-scm version
Browse files Browse the repository at this point in the history
Also fixing bug uncovered by 6.3.0 related to missing toml extra. As
these requirements are needed only for wheel building, we should bump
them.
  • Loading branch information
ssbarnea committed Sep 5, 2021
1 parent 39fb500 commit c286014
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -12,7 +12,7 @@ repos:
entry: >-
sh -c 'git hash-object setup.py
|
python -c raise\ SystemExit\(input\(\)\ !=\ \"f6d1010b609cbe816d3ef652eee452d09d52979f\"\)
python -c raise\ SystemExit\(input\(\)\ !=\ \"28da0d9dd407d1b3f931217f6f62ce34b98b74c6\"\)
'
pass_filenames: false
language: system
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools >= 42.0.0", # required by pyproject+setuptools_scm integration
"setuptools_scm[toml] >= 3.5.0", # required for "no-local-version" scheme
"setuptools >= 45.0.0", # required by pyproject+setuptools_scm integration
"setuptools_scm >= 6.3.1", # required for "no-local-version" scheme
"setuptools_scm_git_archive >= 1.0",
"wheel",
]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -57,7 +57,7 @@ zip_safe = False

# These are required during `setup.py` run:
setup_requires =
setuptools_scm>=1.15.0
setuptools_scm>=6.3.1
setuptools_scm_git_archive>=1.0

# These are required in actual runtime:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -9,5 +9,5 @@
# https://github.com/jazzband/pip-tools/issues/1278
setuptools.setup(
use_scm_version={"local_scheme": "no-local-version"},
setup_requires=["setuptools_scm[toml]>=3.5.0"],
setup_requires=["setuptools_scm>=6.3.1"],
)

0 comments on commit c286014

Please sign in to comment.