Bump setuptools-scm from 9.2.2 to 10.0.2
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(3 months ago)
(3 months ago)
(3 months ago)
dependencies python:uv
Bumps setuptools-scm from 9.2.2 to 10.0.2.
Release notes
Sourced from setuptools-scm's releases.
setuptools-scm v10.0.2
Fixed
- Fix version file not generated for editable installs. Version files are now written to the source tree by default during inference (restoring pre-10.x behavior), and also registered as
build_pyoutputs so strict editable installs include them in the persistent auxiliary directory. SetSETUPTOOLS_SCM_WRITE_TO_SOURCE=0to disable source-tree writing (e.g., for read-only source directories). (#1298)setuptools-scm v10.0.1
Miscellaneous
- Simplify release tag creation to use a single
createReleaseAPI call instead of separatecreateTag/createRef/createReleasecalls, avoiding dangling tag objects on partial failures. (#release-pipeline)setuptools-scm v10.0.0
Removed
- Drop Python 3.8 and 3.9 support. Minimum Python version is now 3.10. (#1228)
Added
setuptools-scm now depends on vcs-versioning for core version inference logic. This enables other build backends to use the same version inference without setuptools dependency. (#1228)
Version files (
write_toandversion_file) are now written to the build directory duringbuild_pyinstead of the source tree during version inference. This enables installing packages from read-only source directories (e.g., Bazel builds).Path transformation is automatically applied for
src/layouts - a configured path likesrc/mypackage/_version.pyis correctly written tomypackage/_version.pyin the build directory based on thepackage_dirconfiguration.To restore the old behavior of writing version files at inference time (useful for development workflows), set the environment variable
SETUPTOOLS_SCM_WRITE_TO_SOURCE=1. (#1252)Fixed
- Fix issue #1231: Don't warn about tool.setuptools.dynamic.version conflict when only using file finder without version inference. (#1231)
Miscellaneous
- Refactored should_infer from method to standalone function for better code organization. (#1228)
- Updated mypy version template test to use uvx, ensuring generated version files remain compatible with Python 3.8+ consumers. (#1228)
- Refactored TestBuildPackageWithExtra into parametrized function with custom INI-based decorator for cleaner test data specification. (#1228)
- Internal refactoring: modernized type annotations, improved CLI type safety, and enhanced release automation infrastructure. (#1228)
v9.2.2
Fixed
- fix #1231: don't warn about
tool.setuptools.dynamic.versionwhen only using file finder. The warning about combining version guessing with setuptools dynamic versions should only be issued when setuptools-scm is performing version inference, not when it's only being
... (truncated)
Commits
d6f8df2Merge pull request #1304 from pypa/release/main81eea6dPrepare release: setuptools-scm v10.0.20df426aMerge pull request #1300 from RonnyPfannschmidt/fix/1298-editable-version-filee3c712dtest: extract _run_setuptools_setup helper with non-zero assertionedddf09refactor: extract ScmVersionFileMixin for cooperative build_py composition480110bfix: write version files to source by default and register in editable wheel ...80c74ceMerge pull request #1293 from pypa/dependabot/uv/pynacl-1.6.231246d9Merge pull request #1294 from pypa/dependabot/github_actions/github-actions-6...86837f2Merge pull request #1290 from pypa/dependabot/uv/pyjwt-2.12.06d7302eMerge pull request #1291 from pypa/dependabot/uv/cryptography-46.0.5- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 14819049 |
| UUID: | 4138977631 |
| Node ID: | PR_kwDODM87vM7Ngkaf |
| Host: | GitHub |
| Repository: | VWS-Python/vws-cli |