-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
8.4.0 release is broken due to missing files #475
Comments
A quick fix for everybody facing the same issue, manually downgrade to
|
thanks for the quick fix @voegtlel please update pypi with a working version of |
Seems it's fixed in the new patch 8.4.1 |
I appreciate your quick response. However, I would expect to see a test for the API to pass, e.g.:
or an alternative using importlib - so that this issue doesn't go unchecked in the future. |
A test like you mention would do nothing: the project is not installed the same way in tests as it is for regular users, so even if there was a test, it wouldn't really test anything. Logic errors, code errors, we can test, packaging errors, I don't really think we easily can, and I'd argue I don't think we should. |
Perhaps OT - but could you expand on the reason for this? |
The only way I know of achieving tests of the package as it is installed by someone using |
I'm not someone who takes any kind of decisions on this project, so this is just my very own opinion. Adding tests that are similar to existing tests is (normally) cheap, and mostly always free, especially if they're unit tests and run in milliseconds. In that sense, making a rule of always adding a quick non-reg test is almost always worth it. When you start talking about adding tests that have a different way of being run, or changing the way all of your tests run, suddenly, the impacts are different. Does this mean you want another job in your CI ? that is going to potentially slow down every build by a non-negligible factor, potentially make it more complex to run locally, which means raising the bar for contributions etc. At this point, it's necessary to weight the pros and cons. At this point, it's not a "we have a bug, we need a non-reg tes, period". It's negociations and taking decisions with many aspects in mind. Now, I can't take the decision for the owners here, but I would say that from seeing what went wrong, and what would be an effective step to avoid this from happening, the risk-benefit analysis seems to me in favor of just fixing. |
This error is too low-level and can be found by simple testing. |
Thanks much for sharing @ewjoachim. I am probably spoiled by my workplace - our internal runner (soft) installs the repo in a venv as @ryancausey said. |
Seems 8.4.0 should be yanked. |
Apparently,
asyncio
is missing from the released wheel. All imports fail immediately withchecked the released wheel, and it's missing there.
The text was updated successfully, but these errors were encountered: