Skip to content

Update setuptools-scm requirement from >=3.5.0 to >=10.1.2#552

Merged
hoffmang9 merged 1 commit into
mainfrom
dependabot/pip/setuptools-scm-gte-10.1.2
Jun 30, 2026
Merged

Update setuptools-scm requirement from >=3.5.0 to >=10.1.2#552
hoffmang9 merged 1 commit into
mainfrom
dependabot/pip/setuptools-scm-gte-10.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 30, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on setuptools-scm to permit the latest version.

Release notes

Sourced from setuptools-scm's releases.

setuptools-scm v10.1.2

Fixed

  • Fix DeprecationWarning leak by threading VcsEnvironment through VersionInferenceConfig and using env.make_reader() in _should_write_to_source. (#1424)
Commits
  • fa1c6e2 Merge pull request #1427 from pypa/release/main
  • 0e8b865 Prepare release: setuptools-scm v10.1.2, vcs-versioning v2.1.0
  • b447622 Merge pull request #1432 from RonnyPfannschmidt/fix/1431-fallback-discovery-p...
  • d79683c fix: don't let unprocessed .git_archival.txt shadow PKG-INFO (#1431)
  • 651e9bf Merge pull request #1430 from RonnyPfannschmidt/fix/1422-suppress-tag-strict-...
  • 2dba8af fix: use surrogateescape for subprocess encoding on Windows
  • 2480097 Merge pull request #1428 from RonnyPfannschmidt/fix/compat-shim-parse-version
  • 42c97f9 fix: suppress conflicting tag.strict warnings (#1422)
  • 2c17c0e fix: add backward-compat shim for parse_version (#1423)
  • a841b68 Merge pull request #1426 from RonnyPfannschmidt/warning-fixes
  • Additional commits viewable in compare view


Note

Low Risk
Only the build-time version constraint changes; no runtime or security-sensitive logic is modified.

Overview
Raises the build-system floor for setuptools_scm[toml] from >=3.5.0 to >=10.1.2 in pyproject.toml, so installs and CI wheels can resolve current setuptools-scm releases while keeping the existing [tool.setuptools_scm] config unchanged.

This is a dependency-only change with no application or runtime code updates.

Reviewed by Cursor Bugbot for commit cc91cdd. Bugbot is set up for automated code reviews on this repo. Configure here.

@dependabot dependabot Bot added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 30, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1723da4. Configure here.

Comment thread pyproject.toml Outdated
@coveralls-official

coveralls-official Bot commented Jun 30, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 28481008936

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage remained the same at 79.715%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 4486
Covered Lines: 3576
Line Coverage: 79.71%
Coverage Strength: 14684500.34 hits per line

💛 - Coveralls

hoffmang9 added a commit that referenced this pull request Jun 30, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary

Addresses the Bugbot finding on #552: `setuptools_scm[toml]>=10.1.2`
requires Python 3.10+, but chiapos still declared support for Python
3.7+ and tested Python 3.9 in the riscv64 workflow.

This PR aligns chiapos with [chia-blockchain's Python
requirements](https://github.com/Chia-Network/chia-blockchain/blob/main/pyproject.toml)
(`>=3.10, <4`).

## Changes

- Update `python_requires` in `setup.py` from `>=3.7` to `>=3.10, <4`
- Remove Python 3.9 from the riscv64 CI matrix in
`.github/workflows/build-test-riscv64.yml`

## Context

Bugbot reported on PR #552 that requiring `setuptools_scm[toml]>=10.1.2`
breaks builds on Python 3.7–3.9 because that version of setuptools-scm
needs Python 3.10+. Since chia-blockchain already requires Python 3.10+,
dropping older Python versions in chiapos is consistent with downstream
usage.
<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-019f1984-3c3d-75fb-83bb-2d5f1eb70896"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-019f1984-3c3d-75fb-83bb-2d5f1eb70896"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Gene Hoffman <hoffmang9@users.noreply.github.com>
@hoffmang9

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/pip/setuptools-scm-gte-10.1.2 branch from 1723da4 to 1adb995 Compare June 30, 2026 22:48
Updates the requirements on [setuptools-scm](https://github.com/pypa/setuptools-scm) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools-scm/releases)
- [Changelog](https://github.com/pypa/setuptools-scm/blob/main/RELEASE_SYSTEM.md)
- [Commits](pypa/setuptools-scm@setuptools-scm-v10.0.0...setuptools-scm-v10.1.2)

---
updated-dependencies:
- dependency-name: setuptools-scm
  dependency-version: 10.1.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/setuptools-scm-gte-10.1.2 branch from 1adb995 to cc91cdd Compare June 30, 2026 22:51
@hoffmang9 hoffmang9 merged commit a388902 into main Jun 30, 2026
53 checks passed
@hoffmang9 hoffmang9 deleted the dependabot/pip/setuptools-scm-gte-10.1.2 branch June 30, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant