-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Releasing sphinx-contrib packages using implicit namespace packages #11495
Comments
Are you able to reproduce this outwith Nix? |
I have not been able to reproduce this yet outside of Nix, so please treat this as a feature request instead of a bug report. |
I do have a lead on what's happening and, to make a long story short, it seems to be due to behavior from a With that said, I still am interested in releases of the sphinxcontrib modules that migrate away from this legacy setuptools code path that could let us clean up any potential workarounds, and willing to help in any way. |
In case it's interesting to you, I described this in more detail in pypa/setuptools#3991. |
I have an approach to fix this in nixpkgs by post-processing some of these packages to delete those nspkg.pth files. I would like to gradually rely less and less on that over time. Would you be amenable if I worked on migrating to implicit namespaces? |
Yes, feel free to tag me. A |
I have just made a new release of each of the first party sphinxcontrib packages, though the PyPI uploads are currently prevented by pypa/trove-classifiers#150. A |
Thank you so much! |
Now released are:
All with PEP 420 packaging. All other A |
Thank you very much again for all your help. It's really tedious work, and I appreciate it. |
Is your feature request related to a problem? Please describe.
I am working on updating
sphinx
andsphinxcontrib
packages in nixpkgs, which has its own quirks in its method for Python packaging. I don't fully understand why, but mixing packages that use setuptool's legacy namespace packages with those that use implicit namespace packages (e.g. sphinxcontrib-jquery, sphinxcontrib-applehelp) cause the latter to be considered missing when importing them.I cannot reproduce this in a virtualenv, so it could be Nix specific, but it's also strange enough that I fear sinking tons of time into it if there's already a plan to migrate and release all the sphinxcontrib packages using either setuptools's or flit's support for implicit namespace packages. I am also willing to help with testing, PRs, or in any other way.
The text was updated successfully, but these errors were encountered: