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
Use PEP 420: implicit namespace packages #967
Comments
Bumping to critical because this is failing all builds. As of setuptools 62.3.0 released today, we should see a |
Sorry for the disruption. Soon the new setuptools version will be available with the fix for the unexpected error (it should only be a warning).Thank you @emlys . Please let me know if it does not work. |
No worries @abravalheri, thanks for fixing it so quickly! |
* use PEP 420: implicit namespace package * update api docs config for namespace package * allow internationalization data to be included as a namespace 'package' * missing import * sphinx apidoc use implicit namespaces option #967 * restore setup package_data * update docs requirements to keep up with other requirements files * set language to en * remove unused imports, refactor excluded modules * Update doc/api-docs/conf.py Co-authored-by: James Douglass <jamesdouglassusa@gmail.com> Co-authored-by: James Douglass <jamesdouglassusa@gmail.com>
natcap
is a namespace package. We indicate that with the filesrc/natcap/__init__.py
which containsToday I learned that that's outdated. If I'm understanding correctly, we can just delete
src/natcap/__init__.py
and it will work the same way.https://stackoverflow.com/a/27586272/14451410
https://peps.python.org/pep-0420/
This isn't really an enhancement, just keeping up with changes in the python standards.
The text was updated successfully, but these errors were encountered: