-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make valkey-py install the correct dependencies in Python 3.11.0 to Python 3.11.3 #92
Make valkey-py install the correct dependencies in Python 3.11.0 to Python 3.11.3 #92
Conversation
a2f7f5b
to
e79e8d3
Compare
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 for your contribution! It looks good to me.
Two questions:
- Did you verify locally that this does fix your problem?
- Could you squash the commits into one as the second one is a fixup to the first one?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #92 +/- ##
=======================================
Coverage 75.12% 75.12%
=======================================
Files 132 132
Lines 34398 34398
=======================================
Hits 25840 25840
Misses 8558 8558 ☔ View full report in Codecov by Sentry. |
Hi! |
Signed-off-by: Nirav Ark <nirav@ark-biotech.com>
e79e8d3
to
f3fc0bb
Compare
Signed-off-by: Salvatore Mesoraca <salvatore.mesoraca@aiven.io>
f3fc0bb
to
0c76703
Compare
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.
LGTM thanks!
Signed-off-by: Mikhail Koviazin <mikhail.koviazin@aiven.io>
there are some issues with asyncio-timeout in 3.11.1 and 3.11.2 We need to test at least 3.11.1 separatly Signed-off-by: Salvatore Mesoraca <salvatore.mesoraca@aiven.io>
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.
LGTM 🚀
Great, thanks all! |
I just happened to be using Python 3.11.1 while using valkey-py.
The PR #87 broke my CI/CD pipeline (when upgrading to valkey-py
6.1
bc the codebase, invalkey-py/valkey/asyncio/connection.py
Line 31 in 03320e6
just so happens to check whether or not we're 3.11.3 and above.
If you are in Python 3.11.0 - 3.11.2, you go into the else and this code fails if async timeout is not installed
so we need to still to install
async-timeout
if python version < 3.11.3Pull Request check-list
Description of change