Skip to content

pep420 namespace package, add pyproject.toml, bump version#6

Open
ThomasWaldmann wants to merge 1 commit intomasterfrom
modernize
Open

pep420 namespace package, add pyproject.toml, bump version#6
ThomasWaldmann wants to merge 1 commit intomasterfrom
modernize

Conversation

@ThomasWaldmann
Copy link
Contributor

No description provided.

@gawel
Copy link

gawel commented Feb 9, 2026

This is now required since yesterday and setuptools 82: https://setuptools.pypa.io/en/stable/history.html#v82-0-0
Can you merge it and release a new version on pypi ? This break our builds:

ModuleNotFoundError: No module named 'pkg_resources'
(...)
ERROR: Failed to build 'XStatic-jQuery' when getting requirements to build wheel\n

@ThomasWaldmann
Copy link
Contributor Author

@gawel We will need a coordinated release of all "modernized" xstatic packages. Until that happens, just use setuptools < 82.

@gawel
Copy link

gawel commented Feb 9, 2026

Ok. An option is to push a wheel of the current version on pypi to avoid the local build (and failure). Is that doable ?

@stephenfin
Copy link
Contributor

As with xstatic-py/xstatic-font-awesome#4, this looks good to me and roughly matches what we've done in OpenStack-maintained xstatic packages (minus the pyproject.toml)

@stephenfin
Copy link
Contributor

I've proposed #7 as an precursor PR to this one that will allow us to dig ourselves out of the pkg_resources hole while we wait for the new major release of xstatic

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

Comments