Skip to content

Correct build issues caused by vcs_versioning==2.0#779

Merged
mhsmith merged 6 commits into
mainfrom
vcs-versioning
Jun 23, 2026
Merged

Correct build issues caused by vcs_versioning==2.0#779
mhsmith merged 6 commits into
mainfrom
vcs-versioning

Conversation

@freakboy3742

@freakboy3742 freakboy3742 commented Jun 23, 2026

Copy link
Copy Markdown
Member

Over the last 24 hours, vsc_versioning 2.0 has been released; this has caused problems with scm_versioning.

There's an underlying bug (pypa/setuptools-scm#1434). Based on the recommendation from the maintainers on that ticket, this simplifies version handling to always use importlib metadata.

The direct call to get_version() may have been needed historically because importlib.metadata hadn't been fully formalized, but it isn't any more. The only consequence I can see is that an editable install won't necessarily show the current VCS version.

Also includes some tweaks to the docs configuration that are shared with other projects (disabling a MkDocs 2 warning, and moving the link checker out of the linting task)

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

@freakboy3742 freakboy3742 requested review from mhsmith and removed request for mhsmith June 23, 2026 08:39
@freakboy3742 freakboy3742 requested a review from mhsmith June 23, 2026 09:26
@mhsmith mhsmith merged commit fb96955 into main Jun 23, 2026
22 checks passed
@mhsmith mhsmith deleted the vcs-versioning branch June 23, 2026 11:08
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.

2 participants