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

Conversation

serhii73
Copy link
Contributor

@serhii73 serhii73 commented May 9, 2023

Since version 7, setuptools-scm has native support for git archive, so the setuptools-scm-git-archive project is obsolete and this patch removes it from the build dependencies. Close #515


This change is Reviewable

Copy link
Member

@webknjaz webknjaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Please, follow the instructions outlined in sphinx-contrib/sphinxcontrib-towncrier#80 (comment) to make said dependency conditional.

Also, make sure to fix the commit message so that it contains useful details and doesn't cause linting violations like this one: https://github.com/cherrypy/cheroot/actions/runs/4927684940?pr=628#summary-13347875183

@serhii73 serhii73 force-pushed the rm-setuptools_scm_git_archive branch from a6baadb to 905bd59 Compare May 14, 2023 13:05
@serhii73 serhii73 force-pushed the rm-setuptools_scm_git_archive branch 2 times, most recently from d84c424 to 45aa5d0 Compare May 15, 2023 19:46
@serhii73 serhii73 changed the title Migrate setuptools_scm_git_archive 🎨Only use setuptools-scm-git-archive under < py37 May 15, 2023
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
@serhii73 serhii73 force-pushed the rm-setuptools_scm_git_archive branch 7 times, most recently from 23446ac to 5d05b3a Compare May 17, 2023 17:41
setup.cfg Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
@serhii73 serhii73 force-pushed the rm-setuptools_scm_git_archive branch from 5d05b3a to b4ea4f2 Compare May 28, 2023 17:59
@serhii73 serhii73 force-pushed the rm-setuptools_scm_git_archive branch from b4ea4f2 to 4bd9e28 Compare June 6, 2023 15:35
Copy link
Member

@webknjaz webknjaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some things to fix still.

pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
requirements/dist-build-constraints.in Show resolved Hide resolved
requirements/dist-build-constraints.txt Show resolved Hide resolved
requirements/dist-build-constraints.txt Show resolved Hide resolved
requirements/dist-build-constraints.in Outdated Show resolved Hide resolved
@serhii73 serhii73 force-pushed the rm-setuptools_scm_git_archive branch 2 times, most recently from d382570 to c26b0e7 Compare June 7, 2023 13:25
@serhii73 serhii73 changed the title 🎨Only use setuptools-scm-git-archive under < py37 Bump setuptools_scm to >= 7.0.0 Jun 7, 2023
@webknjaz webknjaz changed the title Bump setuptools_scm to >= 7.0.0 Use setuptools-scm v7+ for building the dists Jun 7, 2023
@serhii73 serhii73 force-pushed the rm-setuptools_scm_git_archive branch from 2381966 to 36ab389 Compare June 8, 2023 14:08
Since version 7, setuptools-scm has native support for git archive,
so the setuptools-scm-git-archive project is obsolete
and this patch removes it from the build dependencies.
Close cherrypy#515
@serhii73 serhii73 force-pushed the rm-setuptools_scm_git_archive branch from 36ab389 to f0c51af Compare June 8, 2023 14:10
@webknjaz webknjaz merged commit 4c608cc into cherrypy:main Jun 8, 2023
webknjaz added a commit that referenced this pull request Apr 14, 2024
webknjaz added a commit to webknjaz/cheroot that referenced this pull request Apr 17, 2024
webknjaz added a commit that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setuptools_scm_git_archive is obsolete
2 participants