Skip to content
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

Python: Fix "implicit namespace packages" migration #327

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amotl
Copy link
Member

@amotl amotl commented Nov 13, 2024

... by omitting `__init__.py` from `crate` namespace package altogether,
see "PEP 420" [1] and "Package Discovery and Namespace Package » Finding
namespace packages" [2].

[1] https://peps.python.org/pep-0420/
[2] https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#namespace-packages
@amotl amotl marked this pull request as ready for review November 14, 2024 00:08
@amotl
Copy link
Member Author

amotl commented Nov 15, 2024

ok to test

Copy link
Member

@seut seut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably can/should remove any __init__.py file, e.g. https://github.com/crate/crate-qa/blob/master/tests/bwc/__init__.py?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants