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

[3.9] Fix cookie handling (#6638) #6891

Conversation

galaxyfeeder
Copy link
Contributor

  • Fix cookie handling

  • Fix cookie handling

  • [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

  • Update aiohttp/cookiejar.py

Co-authored-by: Sam Bull [email protected]

Co-authored-by: Bruno Cabral [email protected]
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sam Bull [email protected]
(cherry picked from commit 916b3ee)

What do these changes do?

Are there changes in behavior for the user?

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt
    • The format is <Name> <Surname>.
    • Please keep alphabetical order, the file is sorted by names.
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> for example (588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the pr
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files."

* Fix cookie handling

* Fix cookie handling

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update aiohttp/cookiejar.py

Co-authored-by: Sam Bull <[email protected]>

Co-authored-by: Bruno Cabral <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sam Bull <[email protected]>
(cherry picked from commit 916b3ee)
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Aug 23, 2022
@galaxyfeeder
Copy link
Contributor Author

@Dreamsorcerer @webknjaz I don't think I should correct the lint error that there is in 3.9 branch for merging this as it was already present on the branch before this PR, but let me know if you think different.

@Dreamsorcerer
Copy link
Member

@Dreamsorcerer @webknjaz I don't think I should correct the lint error that there is in 3.9 branch for merging this as it was already present on the branch before this PR, but let me know if you think different.

I've done it separately. But, I now remember there is another issue on 3.9 branch which causes all the tests to fail. We'll need to sort that out separately, then we can merge this (and probably some other pending backports).

@Dreamsorcerer Dreamsorcerer changed the title Fix cookie handling (#6638) [3.9] Fix cookie handling (#6638) Aug 23, 2022
@Dreamsorcerer
Copy link
Member

If you could merge latest 3.9 branch, so tests get passing again, that would be great.

…3.9/916b3eecda825cd42415b6f8821c035647baf890/pr-6638
@codecov
Copy link

codecov bot commented Sep 27, 2022

Codecov Report

Merging #6891 (f46ed55) into 3.9 (9f8d48d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              3.9    #6891   +/-   ##
=======================================
  Coverage   97.31%   97.31%           
=======================================
  Files         103      103           
  Lines       30170    30183   +13     
  Branches     3738     3738           
=======================================
+ Hits        29360    29373   +13     
  Misses        617      617           
  Partials      193      193           
Flag Coverage Δ
CI-GHA 97.21% <100.00%> (+<0.01%) ⬆️
OS-Linux 96.86% <100.00%> (+<0.01%) ⬆️
OS-Windows 94.37% <100.00%> (+<0.01%) ⬆️
OS-macOS 96.48% <100.00%> (+<0.01%) ⬆️
Py-3.10.6 ?
Py-3.10.7 96.97% <100.00%> (+0.26%) ⬆️
Py-3.11.0-rc.2 96.33% <100.00%> (-0.05%) ⬇️
Py-3.7.14 96.67% <100.00%> (+<0.01%) ⬆️
Py-3.7.9 94.22% <100.00%> (+<0.01%) ⬆️
Py-3.8.10 94.14% <100.00%> (-0.01%) ⬇️
Py-3.8.13 ?
Py-3.8.14 96.63% <100.00%> (+0.17%) ⬆️
Py-3.9.13 94.15% <100.00%> (-2.78%) ⬇️
Py-3.9.14 96.59% <100.00%> (+0.22%) ⬆️
Py-pypy7.3.9 96.22% <100.00%> (+<0.01%) ⬆️
VM-macos 96.48% <100.00%> (+<0.01%) ⬆️
VM-ubuntu 96.86% <100.00%> (+<0.01%) ⬆️
VM-windows 94.37% <100.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
aiohttp/cookiejar.py 98.83% <100.00%> (ø)
tests/test_cookiejar.py 99.07% <100.00%> (+0.03%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Dreamsorcerer Dreamsorcerer merged commit c5432b3 into aio-libs:3.9 Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants