-
Notifications
You must be signed in to change notification settings - Fork 27
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
⬆️ Maintenance/update aioredis #2898
⬆️ Maintenance/update aioredis #2898
Conversation
a5b6ba4
to
6c5c763
Compare
Codecov Report
@@ Coverage Diff @@
## master #2898 +/- ##
=========================================
+ Coverage 68.9% 75.2% +6.3%
=========================================
Files 338 681 +343
Lines 16126 28398 +12272
Branches 2012 3659 +1647
=========================================
+ Hits 11111 21375 +10264
- Misses 4596 6323 +1727
- Partials 419 700 +281
Flags with carried forward coverage won't be shown. Click here to find out more.
|
4f079fe
to
1b52852
Compare
6148231
to
e9d2a1f
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.
Awesome, thanks for this update and the additional tests. Now we make doubly sure all locks are released :--)
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.
👍
Are you sure about the version of redis-py? I think it's already present in the one you can install now via pip.
services/web/server/src/simcore_service_webserver/projects/project_lock.py
Show resolved
Hide resolved
good that you ask as actually I just see redis 4.2.2 came out yesterday. now aioredis is included, so I will change for it. |
services/web/server/src/simcore_service_webserver/exporter/request_handlers.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/project_lock.py
Outdated
Show resolved
Hide resolved
243dc06
to
98667d8
Compare
98667d8
to
a3306eb
Compare
What do these changes do?
Upgrades aioredis to 2.0.1
webserver: removes aioredlock (was preventing update of aioredis), is replaced by aioredis integrated lock, new tests in place to check functionality.
reduces the amount of warnings while testing
Important NOTE: once the official Redis python package 4.2.0 comes out, then asyncio module will be integrated and aioredis will not be necessary anymore.
1/2 Changes to libraries (only updated libraries are included)
Bonus:
test_resource_manager.py::test_regression_removing_unexisting_user
:redis.exceptions.ConnectionError: no running event loop
test_version_control_handlers.py::test_delete_project_and_repo
:RuntimeError: no running event loop
DeprecationWarning: Deprecated, use .url #1654 assert r.url_obj.path == url.path
Related issue/s
How to test
Checklist