-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix: lock down aio-pika dependency #110
Conversation
Hm... @unkcpz looks like the jupyter notebook test now fails across all python/rabbitmq versions. It's not clear to me what changed - the last passing commit is from Jan 17 2022. The only other thing I notice is that aio-pika 6 is using a somewhat dated version of aiormq (3.3.1) from 2020. Today, aiormq 6 is already out. |
try to reproduce passing CI from January 2022.
Codecov Report
@@ Coverage Diff @@
## develop #110 +/- ##
========================================
Coverage 90.32% 90.32%
========================================
Files 16 16
Lines 1146 1146
========================================
Hits 1035 1035
Misses 111 111 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Wow - either the problem was introduced in aio-pika 6.8.2 or the test is not reproducible. |
just to trigger another CI run; let's see whether it still works
let's see whether jupyter notebook test fails reproducibly with aio-pika 6.8.2
@sphuber @chrisjsewell |
Just for the record, the jupyter notebook test also fails with the combination aio-pika 6.8.2 and pamqp 2 (which was not tested in this PR). |
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.
Correct |
Do you guys mean that this PR with upper limit |
Yes (upper limit is both for aio-pika and for pamqp, both of which currently break kiwipy) |
Ok great, thanks. Want me to take care of merging and making a release? |
That would be great, thanks Seb! |
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.
Thanks @ltalirz
fixes #94
fixes #111
see also #112
CI tests fail with recent versions of aio-pika (e.g. version 8) due to API changes.
Furthermore, the Jupyter notebook test from the test suite seems to reproducibly fail with aio-pika version 6.8.2 but pass with aio-pika 6.8.1 (see commits in PR).
Also, kiwipy depends directly on
pamqp
because of this single check:kiwipy/kiwipy/rmq/threadcomms.py
Line 261 in adf373e
This dependency was not made explicit in the
setup.py
, and the pre-commit pylint checks alert us to the fact that the API of pamqp 3 has changed.