Skip to content

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

Merged
webknjaz merged 1 commit into
cherrypy:mainfrom
serhii73:rm-setuptools_scm_git_archive
Jun 8, 2023
Merged

Use setuptools-scm v7+ for building the dists#628
webknjaz merged 1 commit into
cherrypy:mainfrom
serhii73:rm-setuptools_scm_git_archive

Conversation

@serhii73

@serhii73 serhii73 commented May 9, 2023

Copy link
Copy Markdown
Contributor

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

@webknjaz webknjaz left a comment

Copy link
Copy Markdown
Member

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
Comment thread requirements/dist-build-constraints.in
@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
Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
@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
Comment thread requirements/dist-build-constraints.txt Outdated
Comment thread setup.cfg
Comment thread setup.cfg Outdated
Comment thread setup.cfg Outdated
Comment thread requirements/dist-build-constraints.in Outdated
Comment thread requirements/dist-build-constraints.txt
Comment thread requirements/dist-build-constraints.in Outdated
@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

@webknjaz webknjaz left a comment

Copy link
Copy Markdown
Member

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.

Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
Comment thread requirements/dist-build-constraints.in
Comment thread requirements/dist-build-constraints.txt
Comment thread requirements/dist-build-constraints.txt
Comment thread requirements/dist-build-constraints.in Outdated
@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
Comment thread requirements/dist-build-constraints.in Outdated
@serhii73 serhii73 changed the title 🎨Only use setuptools-scm-git-archive under < py37 Bump setuptools_scm to >= 7.0.0 Jun 7, 2023
Comment thread requirements/dist-build-constraints.in Outdated
@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