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

Fix socket connections #374

Merged
merged 5 commits into from
Jun 13, 2024
Merged

Conversation

mattjala
Copy link
Contributor

After #371, socket operations started failing. This seems to be due to an incompatibility between requests>=2.29.0 and urllib3>=2.0.0. The only change that PR made to dependencies was to bump aiobotocore, which doesn't require urllib3>=2.0.0, so I'm not sure why the package versions downloaded changed as a result.

To resolve this

  • fix the version of urllib3<=2.0.0 to avoid the incompatibility with newer requests
  • Also fix requests <=2.31.0 to fix the incompatibility with requests-unixsocket. `The requests version was already fixed at this value in Use old requests version #363, but it looks like a dependabot PR was merged after that.

This PR also includes a new workflow to test the socket specifically to prevent this from happening in the future.

@mattjala mattjala added bug ci/cd Issues related to the CI/CD setup and execution labels Jun 12, 2024
@mattjala mattjala self-assigned this Jun 12, 2024
@mattjala mattjala force-pushed the fix_urllib3_chunked_error branch 2 times, most recently from 1491078 to 1d66438 Compare June 12, 2024 19:21
@mattjala mattjala force-pushed the fix_urllib3_chunked_error branch from 1d66438 to 9c9ced9 Compare June 12, 2024 19:28
Copy link
Member

@jreadey jreadey left a comment

Choose a reason for hiding this comment

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

looks good!

@mattjala mattjala merged commit b50b903 into HDFGroup:master Jun 13, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ci/cd Issues related to the CI/CD setup and execution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants