Skip to content

MNT: account for changes in setuptools-scm#31387

Draft
tacaswell wants to merge 1 commit intomatplotlib:mainfrom
tacaswell:mnt/update_setuptools_scm_version_scheme
Draft

MNT: account for changes in setuptools-scm#31387
tacaswell wants to merge 1 commit intomatplotlib:mainfrom
tacaswell:mnt/update_setuptools_scm_version_scheme

Conversation

@tacaswell
Copy link
Member

Names changed in pypa/setuptools-scm#1276

This fixes a warning, however may require us to push our min setuptools-scm up or put a hard cap on it until it has been out long enough that we are willing to push the min version up.

We can version-gate the call in __init__.py, but I don't know of anyway to version gate the usage in pyproject.toml.

@timhoffm
Copy link
Member

timhoffm commented Mar 26, 2026

I suspect version-gating in __init__ would prevent all runtime warnings, e.g. fix the tests that are currently mass-failing on the deprecation warning. I would do this at least as a stop-gap for fixing the tests.

I'm not clear what the pyproject setting is used for and whether a warning there has negative impact.

Edit: or possibly simpler: pin temporarily to <10.0

@QuLogic
Copy link
Member

QuLogic commented Mar 26, 2026

Edit: or possibly simpler: pin temporarily to <10.0

#31401

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.

3 participants