Skip to content
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: Upgrade python-socketio + flakyness #3622

Conversation

sanderegg
Copy link
Member

@sanderegg sanderegg commented Nov 30, 2022

What do these changes do?

Highlights on updated libraries (only updated libraries are included)

  • #packages before: 3
  • #packages after : 11
# name before after upgrade count packages
1 python-engineio 3.14.2 4.3.4 MAJOR 1 web⬆️
2 python-socketio 4.6.1 5.7.2 MAJOR 1 web⬆️
3 websockets 10.3 10.4 minor 1 web🧪

Legend:

  • ⬆️ base dependency (only services because packages are floating)
  • 🧪 test dependency
  • 🔧 tool dependency

This PR brings a big upgrade in python-socketio library.

Also aims at reducing the flakyness in the test_rabbit.py which was probably due to some lag in the transmission over websocket in the CI runners.

Related issue/s

as discussed here: miguelgrinberg/python-socketio#1092
closing the python-socketio AsyncServer needs some ad-hoc removal.

How to test

Checklist

@sanderegg sanderegg added this to the Athena milestone Nov 30, 2022
@sanderegg sanderegg self-assigned this Nov 30, 2022
@codecov
Copy link

codecov bot commented Nov 30, 2022

Codecov Report

Merging #3622 (51d6df3) into master (51d6df3) will not change coverage.
The diff coverage is n/a.

❗ Current head 51d6df3 differs from pull request most recent head 5642d3e. Consider uploading reports for the commit 5642d3e to get more accurate results

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #3622   +/-   ##
======================================
  Coverage    83.3%   83.3%           
======================================
  Files         868     868           
  Lines       36555   36555           
  Branches      782     782           
======================================
  Hits        30486   30486           
  Misses       5862    5862           
  Partials      207     207           
Flag Coverage Δ
integrationtests 62.5% <0.0%> (ø)
unittests 81.3% <0.0%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@sanderegg sanderegg marked this pull request as ready for review November 30, 2022 21:45
Copy link
Contributor

@GitHK GitHK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 thx!

@sanderegg sanderegg force-pushed the maintenance/socket_io_update_and_flaky branch from c938a04 to aa76184 Compare December 1, 2022 07:38
@sanderegg sanderegg enabled auto-merge (squash) December 1, 2022 07:38
@sanderegg sanderegg force-pushed the maintenance/socket_io_update_and_flaky branch from aa76184 to 5642d3e Compare December 1, 2022 08:22
@sonarcloud
Copy link

sonarcloud bot commented Dec 1, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sanderegg sanderegg merged commit db03a28 into ITISFoundation:master Dec 1, 2022
@sanderegg sanderegg deleted the maintenance/socket_io_update_and_flaky branch December 1, 2022 12:38
sanderegg added a commit to sanderegg/osparc-simcore that referenced this pull request Dec 1, 2022
sanderegg added a commit to sanderegg/osparc-simcore that referenced this pull request Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants