-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add importlib_metadata requirement #1177
Conversation
I'm not able to find an importlib_metadata version that meets the constaints of the requirements of flake8, keyring, etc. So I delete this PR. As a quick fix I suggest to remove the use of importlib_metadata and to revert at least partially #1165 that introduced it. |
Translation of the above message:
Reverting #1165 would break the doc. I already requested yanking the failing version from Pypi. I understand a full fix is in #1168. That PR was ready to be shipped last week, with only deployment needing a fix, but it has since then been entirely reworked and force-pushed so it needs a new full review 🙃
I do not know what is the use of this module. Can you clarify what would be the consequences? |
The problem comes from a version change in twine, reverting nor yanking would solve the problem. This is not a bug introduced by the mentioned PR. |
This is the good fix, I completed it in #1138 💯
Thanks @eraviart .
We've had countless bugs already due to the same dependency resolution problem. #1015 is one possible definite solution to this, yet this is a known source of bugs in general. See in #1179 I added I think the incorporation of a lock-file with automatic env management imposes itself, I don't see another way to minimise this issues arising in the future (we can't fully stop them, as the
I missed that message, sorry. But it would've created another problems. And the fix is non-functional: the Makefile we propose in
A full yet non definitive fix is in #1179.
If it needed a fix it was not ready to be deployed, and glad you found it!
I interpreted the failing deployment as coming from the increased complexity of the workflow.yaml file. In fact, the splitting of the workflows —something we evoked during pair programming— allowed me to spot it. While the changes might be rolled-back, I'd advise not to and instead give it a full new review. I did easily extract #1179 however.
I can't find trace of that force-push, apologies if that was the case but I'm more confident it was not the case.
|
Technical changes
importlib_metadata
imported byopenfisca_core/taxbenefitsystems/tax_benefit_system.py
(Fix Missing importlib_metadata requirement #1176 ; see also comment of issue 1165)