Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use setuptools-scm v7+ for building the dists #628

Merged
merged 1 commit into from
Jun 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .git_archival.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
node: $Format:%H$
node-date: $Format:%cI$
describe-name: $Format:%(describe:tags=true)$
ref-names: $Format:%D$
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ requires = [
"setuptools>=34.4",

# Plugins
"setuptools_scm[toml]>=3.5",
"setuptools_scm_git_archive>=1.1",
"setuptools-scm >= 7.0.0",
]
build-backend = "setuptools.build_meta"

Expand Down
3 changes: 1 addition & 2 deletions requirements/dist-build-constraints.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
setuptools >= 34.4

# Plugins
setuptools_scm[toml] >= 3.5
setuptools_scm_git_archive >= 1.1
setuptools-scm[toml] >= 7.0.0

# Dynamic (coming from setuptools' PEP 517 build backend)
wheel
16 changes: 7 additions & 9 deletions requirements/dist-build-constraints.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --allow-unsafe --output-file=requirements/dist-build-constraints.txt --strip-extras requirements/dist-build-constraints.in
#
packaging==21.3
packaging==23.1
# via setuptools-scm
pyparsing==3.0.6
# via packaging
setuptools-scm==6.3.2
setuptools-scm==7.1.0
# via -r requirements/dist-build-constraints.in
setuptools-scm-git-archive==1.1
# via -r requirements/dist-build-constraints.in
tomli==2.0.0
tomli==2.0.1
# via setuptools-scm
typing-extensions==4.6.3
# via setuptools-scm
wheel==0.37.1
# via -r requirements/dist-build-constraints.in
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ include_package_data = True

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

# These are required in actual runtime:
install_requires =
Expand Down