Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow namespace packages in dependencies #1673
In #1671, we learned that there are users of CherryPy installing the package to environments that do not support namespace packages. As a result, we've removed those offending dependencies and are explicitly supporting those environments, meaning CherryPy cannot accept namespace packages for dependencies.
CherryPy wishes to be able to adopt dependencies even on packages that use namespaces.
Python explicitly presents namespace packages; there is useful functionality published in namespace packages; the real defect lies in the environments that can't support these packages.
Let's set a deadline and after which a new backward-incompatible release will restore support for these dependencies.
The environments thusfar implicated are Pex, Celery, and py2exe. I do strongly encourage CherryPy users in those environments to file tickets with those projects upstream to add support for namespace packages to their product in order to avoid blocking the use of CherryPy when this change lands.
referenced this issue
Dec 17, 2017
That ticket links also to pantsbuild/pex#393, which appears to have been fixed.
The py2exe error is indicated in jaraco/jaraco.classes#3, where I'm still investigating, but some indications are that py2exe may be able to support namespace packages if those packages are able to declare/incorporate their support for py2exe.