-
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
⬆️ Upgrade to Python 3.11 #6186
⬆️ Upgrade to Python 3.11 #6186
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6186 +/- ##
=========================================
+ Coverage 84.5% 88.1% +3.5%
=========================================
Files 10 1466 +1456
Lines 214 60941 +60727
Branches 25 2063 +2038
=========================================
+ Hits 181 53691 +53510
- Misses 23 6935 +6912
- Partials 10 315 +305
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…oromeo/osparc-simcore into is5854/upgrade-to-py311
Regarding the failing The reason for that test is in a patch that we do for a bug in Therefore the relevant part for now is that osparc-simcore/packages/settings-library/tests/test_base.py Lines 320 to 325 in 1cea431
passes. I checked and it does thx |
packages/service-library/tests/deferred_tasks/test__base_deferred_handler.py
Show resolved
Hide resolved
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 a lot.
Please see my concerns below.
services/web/server/src/simcore_service_webserver/projects/_ports_api.py
Show resolved
Hide resolved
services/web/server/tests/unit/with_dbs/01/test_resource_manager_user_sessions.py
Outdated
Show resolved
Hide resolved
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.
Some general comments:
- took the liberty to change in "related issues" the item to
"closes"
. Read this - Remove WIP from title
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.
Two things:
- I would like to check with you many of the mypy ignores. ignoring should be last resource
- I was expecting some info on this PR about increase of performance. I suggest
- time of tests
- service start times
services/web/server/src/simcore_service_webserver/projects/_common_models.py
Show resolved
Hide resolved
...s/web/server/src/simcore_service_webserver/projects/_projects_nodes_pricing_unit_handlers.py
Show resolved
Hide resolved
services/web/server/tests/unit/with_dbs/01/test_resource_manager_user_sessions.py
Show resolved
Hide resolved
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.
so a bit too many ignores in the web server for me. we can go through some of them? otherwise it looks super! thanks a bunch!
services/web/server/src/simcore_service_webserver/director_v2/_handlers.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/_ports_api.py
Show resolved
Hide resolved
services/web/server/tests/unit/with_dbs/01/test_resource_manager_user_sessions.py
Outdated
Show resolved
Hide resolved
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 a lot!
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.
thx a lot! do not forget to add pylint 3.12 🎉
Back to the |
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.
All good thanks! looking forward!
Quality Gate passedIssues Measures |
What do these changes do?
The idea is to upgrade services to Python 3.11, to obtain an improvement in performance and benefit from the new features introduced in the new version of the language.
Related issue/s
How to test
Dev-ops checklist