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

Address breaking change introduced in aiohttp==3.9.2 #1081

Merged
merged 3 commits into from
May 16, 2024

Conversation

jakob-keller
Copy link
Collaborator

@jakob-keller jakob-keller commented Jan 29, 2024

Description of Change

aiohttp==3.9.2 introduces a change in handling SSL/TLS-related arguments that breaks our code. This PR applies current aiohttp best-practices to SSL/TLS-related arguments.

Assumptions

  • The PR is based on Fix use of HTTPS proxies #1070 #1077 which fixes HTTPS proxy support and is thus related.
  • The dependency specification for aiohttp was bumped to prevent regressions with our updated code and aiohttp<3.9.2.

Checklist for All Submissions

  • I have added change info to CHANGES.rst
  • If this is resolving an issue (needed so future developers can determine if change is still necessary and under what conditions) (can be provided via link to issue with these details): closes potential aiohttp>=4.0.0 breaking changes #882
    • Detailed description of issue
    • Alternative methods considered (if any)
    • How issue is being resolved
    • How issue can be reproduced
  • If this is providing a new feature (can be provided via link to issue with these details):
    • Detailed description of new feature
    • Why needed
    • Alternatives methods considered (if any)

Checklist when updating botocore and/or aiohttp versions

  • I have read and followed CONTRIBUTING.rst
  • I have updated test_patches.py where/if appropriate (also check if no changes necessary)
  • I have ensured that the awscli/boto3 versions match the updated botocore version

@jakob-keller jakob-keller self-assigned this Jan 29, 2024
@jakob-keller jakob-keller added bug Something isn't working deps-update labels Jan 29, 2024
@jakob-keller jakob-keller force-pushed the aiohttp-ssl branch 3 times, most recently from 3b7b25c to 99b9244 Compare January 29, 2024 17:53
@jakob-keller jakob-keller marked this pull request as ready for review January 29, 2024 17:57
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.28%. Comparing base (2d6520b) to head (05c9321).
Report is 71 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1081      +/-   ##
==========================================
- Coverage   86.33%   86.28%   -0.06%     
==========================================
  Files          62       62              
  Lines        5913     5913              
==========================================
- Hits         5105     5102       -3     
- Misses        808      811       +3     
Flag Coverage Δ
unittests 86.28% <100.00%> (-0.06%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dacevedo12
Copy link

Seems like they addressed this in 3.9.3 aio-libs/aiohttp#8098

@jakob-keller
Copy link
Collaborator Author

Seems like they addressed this in 3.9.3 aio-libs/aiohttp#8098

Indeed, still we should cease using the deprecated verify_ssl argument to prevent this issue from popping up again in the future.

@jakkdl
Copy link
Contributor

jakkdl commented Feb 1, 2024

Seems like they addressed this in 3.9.3 aio-libs/aiohttp#8098

Indeed, still we should cease using the deprecated verify_ssl argument to prevent this issue from popping up again in the future.

perhaps of note is that #749 (which I've been slowly chugging away on) wants to replace aiohttp with httpx, so there might not be a very long future for aiohttp.

@jakob-keller
Copy link
Collaborator Author

@thehesiod: This PR builds on #1077. Maybe we should first finish that PR?

setup.py Show resolved Hide resolved
@thehesiod thehesiod enabled auto-merge (squash) May 16, 2024 18:55
@jakob-keller
Copy link
Collaborator Author

CI doesn't allow for two releases dated the same in CHANGES.txt :-(

@thehesiod
Copy link
Collaborator

will fix test here, one sec

@thehesiod thehesiod merged commit 752f8b5 into aio-libs:master May 16, 2024
12 checks passed
@jakob-keller jakob-keller deleted the aiohttp-ssl branch May 16, 2024 19:15
@jakob-keller jakob-keller added dependencies Pull requests that update a dependency file and removed deps-update labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

potential aiohttp>=4.0.0 breaking changes
4 participants