-
Notifications
You must be signed in to change notification settings - Fork 2
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
Switch to implicit (PEP 420) namespace. #8
Conversation
Those small changes are all that's required? |
While testing it at work, I noticed the same, tests do not run. Not sure if it is connected with |
The problem is indeed |
After checking again it looks like the perceived slowdown doesn't really exist. So the fix is in |
@dataflake Thank you for digging into the issue. I created a ticket for it: zopefoundation/zope.testrunner#160 |
@dataflake wrote:
Yes, I think so. But it has be done for all packages in a namespace at the same time. I chose this package to try out implicit namespaces because it is the only one in its namespace. See also https://packaging.python.org/en/latest/guides/packaging-namespace-packages/ |
In an experiment on a different package I had to add the following to the
|
This is what we usually do, so it is already in all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've done it the same way for my minor packages in the dataflake
namespace and it worked out just fine. There's just a few so I changed them all at the same time and published releases. I am scared of doing this in the zope
or Products
namespace. That all needs to be closely coordinated for hundreds of packages.
@dataflake It will be a major update for all the packages. So not updating is still a possibility. And yes, it is a mayor effort, but it is nice to see that it is possible. |
Open issues: