Skip to content

Remove unused setuptools_scm build requirement#54

Merged
squahtx merged 1 commit intomainfrom
squah/remove_setuptools_scm_requirement
Nov 4, 2022
Merged

Remove unused setuptools_scm build requirement#54
squahtx merged 1 commit intomainfrom
squah/remove_setuptools_scm_requirement

Conversation

@squahtx
Copy link
Copy Markdown
Contributor

@squahtx squahtx commented Nov 4, 2022

#52 introduced a build dependency on setuptools_scm.

According to https://github.com/pypa/setuptools_scm, usage of
setuptools_scm involves either a [tool.setuptools_scm] section in
pyproject.toml, or use_scm_version=True in setup.py. We do neither
of those things, so this build requirement ought to be safe to remove.

Resolves #53.

Signed-off-by: Sean Quah seanq@matrix.org

#52 introduced a build dependency on `setuptools_scm`.

According to https://github.com/pypa/setuptools_scm, usage of
`setuptools_scm` involves either a `[tool.setuptools_scm]` section in
`pyproject.toml`, or `use_scm_version=True` in `setup.py`. We do neither
of those things, so this build requirement ought to be safe to remove.

Signed-off-by: Sean Quah <seanq@matrix.org>
@squahtx squahtx requested a review from a team as a code owner November 4, 2022 15:35
Copy link
Copy Markdown
Contributor

@reivilibre reivilibre left a comment

Choose a reason for hiding this comment

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

yep, alternatively the __version__ can be set using it, but I notice it's set manually so that's not a problem here! Thanks.

@squahtx squahtx merged commit 079803b into main Nov 4, 2022
@squahtx squahtx deleted the squah/remove_setuptools_scm_requirement branch November 4, 2022 17:22
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.

Fix setuptools_scm requirement

2 participants