Skip to content

fix(deps): update dependency setuptools-scm to v10#196

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/setuptools-scm-10.x
Closed

fix(deps): update dependency setuptools-scm to v10#196
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/setuptools-scm-10.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 1, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
setuptools-scm ==8.*==10.* age adoption passing confidence

Release Notes

pypa/setuptools-scm (setuptools-scm)

v10.0.3: setuptools-scm v10.0.3

Compare Source

Fixed
  • Remove monorepo-only ../vcs-versioning/src from build-system.backend-path so sdists install under PEP 517 (paths must stay inside the source tree). (#​1306)
Miscellaneous
  • Add griffecli to test dependencies so the API stability check keeps working after the Griffe CLI was split into a separate package. (#​1310)

v10.0.2: setuptools-scm v10.0.2

Compare Source

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_py outputs so strict editable installs include them in the persistent auxiliary directory. Set SETUPTOOLS_SCM_WRITE_TO_SOURCE=0 to disable source-tree writing (e.g., for read-only source directories). (#​1298)

v10.0.1: setuptools-scm v10.0.1

Compare Source

Miscellaneous
  • Simplify release tag creation to use a single createRelease API call instead of separate createTag/createRef/createRelease calls, avoiding dangling tag objects on partial failures. (#release-pipeline)

v9.2.2

Compare Source

What's Changed

Full Changelog: pypa/setuptools-scm@v9.2.1...v9.2.2

v9.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: pypa/setuptools-scm@v9.2.0...v9.2.1

v9.2.0

Compare Source

Added
  • add simplified activation via setuptools-scm[simple] extra

    A new streamlined way to enable version inference without requiring a [tool.setuptools_scm] section.
    When setuptools-scm[simple] is in build-system.requires and version is in project.dynamic,
    version inference is automatically enabled with default settings.

Removed
  • unchecked simplified activation - too many projects use setups where it would fail
Changed
  • refine activation logic and add unittest for the relevant cases instead of trying to speedrun setuptools

v9.1.1

Compare Source

Fixed
  • fix #​1194: correctly handle version keyword when pyproject metadata is missing

v9.1.0

Compare Source

Fixed
  • complete reiteration of the decision logic for enabling version inference on setuptools_scm

    • shared logic for the important parts
    • proper deferring based in precedence of finalize options vs version keyword
    • unittestable for the parsing parts and the decision steps

v9.0.3

Compare Source

Fixed
  • fix #​1184: verify version is dynamic if the dependency is used as indicator for enabling

v9.0.2

Compare Source

Fixed
  • fix #​1184: in case setuptools-scm is a indirect dependency and no pyproject.toml section exists - don't infer the version

v9.0.1

Compare Source

Fixed
  • fix #​1180: ensure version dumping works when no scm_version is given (problems in downstreams)
  • fix #​1181: config - reintroduce control over when we expect a section to be present
    as it turns out there's valid use cases where setuptools_scm is not direct part of the dependencies
  • add codespell pre-commit hook

v9.0.0

Compare Source

Breaking
  • fix #​1019: pass python version build tags from scm version to results properly
Added
  • add setuptools-scm console_scripts entry point to make the CLI directly executable
  • make Mercurial command configurable by environment variable SETUPTOOLS_SCM_HG_COMMAND
  • fix #​1099 use file modification times for dirty working directory timestamps instead of current time
  • fix #​1059: add SETUPTOOLS_SCM_PRETEND_METADATA environment variable to override individual ScmVersion fields
  • add scm parameter support to get_version() function for nested SCM configuration
  • fix #​987: expand documentation on git archival files and add cli tools for good defaults
  • fix #​311: document github/gitlab ci pipelines that enable auto-upload to test-pypi/pypi
  • fix #​1022: allow version_keyword to override infer_version when configuration differs
  • fix #​554: document fallback_root parameter in programmatic usage and configuration
Changed
  • add pip to test optional dependencies for improved uv venv compatibility
  • migrate to selectable entrypoints for better extensibility
  • improve typing for entry_points
  • refactor file modification time logic into shared helper function for better maintainability
  • reduce complexity of HgWorkdir.get_meta method by extracting focused helper methods
  • fix #​1150: enable setuptools-scm when we are a build requirement
  • feature #​1154: add the commit id the the default version file template
  • drop scriv
  • fix #​921: document setuptools version requirements more consistently - 61 as minimum asn 8 as recommended minimum
Fixed
  • fix #​1145: ensure GitWorkdir.get_head_date returns consistent UTC dates regardless of local timezone
  • fix #​687: ensure calendar versioning tests use consistent time context to prevent failures around midnight in non-UTC timezones
  • reintroduce Python 3.9 entrypoints shim for compatibility
  • fix #​1136: update customizing.md to fix missing import
  • fix #​1001: document the missing version schemes and add examples in the docs
  • fix #​1115: explicitly document file finder behaviour
  • fix #​879: add test that validates case different behavior on windows
  • migrate git describe command to new scm config
  • add support for failing on missing submodules
  • fix #​279: expand errors when scm can be found upwards and relative_to wasn't used
  • fix #​577: introduce explicit scmversion node and short node
  • fix #​1100: add workaround for readthedocs worktress to the docs
  • fix #​790: document shallow fail for rtd
  • fix #​474: expand version not found error message to provide clearer guidance about SETUPTOOLS_SCM_PRETEND_VERSION_FOR_* environment variables
  • fix #​324: document/recommend the v tag prefix
  • fix #​501: add py.typed
  • fix #​804: git - use fallback version instead of 0.0 when no version is found at all
  • fix #​1139: use logging.lastResort instead of a own replica to avoid polluting logging._handlerList
  • fix #​873: don't infer version in cli if --no-version is given
  • fix #​535: accept tags from a release action in the gh ui
  • fix #​1073: explain namespaces for release-branch-semver
  • fix #​1052: use consistent node hash length across all SCM backends
  • fix #​1045: reindent the __all__ in the version template for better readability
  • fix #​968: harden environment override finding with better normalization and typo suggestions
  • fix #​846: add support for failing on missing submodules

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 3am every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from timo-reymann April 1, 2026 22:44
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 1, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.58%. Comparing base (1684815) to head (1377687).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #196   +/-   ##
=======================================
  Coverage   76.58%   76.58%           
=======================================
  Files          81       81           
  Lines        1930     1930           
=======================================
  Hits         1478     1478           
  Misses        318      318           
  Partials      134      134           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 2, 2026

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 10.x releases. But if you manually upgrade to 10.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate Bot deleted the renovate/setuptools-scm-10.x branch April 2, 2026 23:12
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.

1 participant