Skip to content

Replace pkg_resources with packaging for version parsing#206

Merged
manzt merged 1 commit intomainfrom
push-zvmnnpuvnoyv
Feb 28, 2026
Merged

Replace pkg_resources with packaging for version parsing#206
manzt merged 1 commit intomainfrom
push-zvmnnpuvnoyv

Conversation

@manzt
Copy link
Member

@manzt manzt commented Feb 28, 2026

Fixes broken docs build.

pkg_resources from setuptools is unavailable in Python 3.13, breaking the docs build with Sphinx 9. This switches to the packaging library which provides the same Version.base_version API and is the modern standard replacement. Also drops the stale markupsafe==2.0.1 pin which was a workaround for an old Jinja2 compatibility issue.

`pkg_resources` from `setuptools` is unavailable in Python 3.13,
breaking the docs build with Sphinx 9. This switches to the `packaging`
library which provides the same `Version.base_version` API and is the
modern standard replacement. Also drops the stale `markupsafe==2.0.1`
pin which was a workaround for an old Jinja2 compatibility issue.
@manzt manzt added the internal Internal changes to the project; not end-user facing and shouldn't be documented in release notes. label Feb 28, 2026
@manzt manzt merged commit ca5fb56 into main Feb 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal changes to the project; not end-user facing and shouldn't be documented in release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant