Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(deps): update dependency requests to v2.31.0 [security]#2627

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 2 commits intomainfromjlvillal/requests
Aug 19, 2023

Conversation

JohnVillalovos
Copy link
Member

@JohnVillalovosJohnVillalovos commentedJul 24, 2023
edited
Loading

At the moment need to pinurllib3<2 as unit tests break.

Closes:#2626

urllib3>=2 now checks for expected content length. Also codes 204 and304 are set to expect a content length of 0 [1]So in the unit tests stop setting content to return in thesesituations.[1]https://github.com/urllib3/urllib3/blob/88a707290b655394aade060a8b7eaee83152dc8b/src/urllib3/response.py#L691-L693
@JohnVillalovos
Copy link
MemberAuthor

JohnVillalovos commentedAug 2, 2023
edited
Loading

@nejch When you have some time would appreciate a review on this. Will fix some of the problems we are seeing where the automated dependency updates are failing.

Also update dependency `responses==0.23.3` as it provides support for`urllib3>=2`Closes:#2626
@nejch
Copy link
Member

@nejch When you have some time would appreciate a review on this. Will fix some of the problems we are seeing where the automated dependency updates are failing.

Thanks a lot@JohnVillalovos!

Weird about the upstream discussions.. I was pretty sure GitLab actually had{"message": "204 No Content"} in some responses for 204 there, otherwise I'm not sure why I'd add that there 🤷

@nejchnejch merged commit988a6e7 intomainAug 19, 2023
@nejchnejch deleted the jlvillal/requests branchAugust 19, 2023 05:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nejchnejchnejch approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

urllib3>=2 breaks unit tests
2 participants
@JohnVillalovos@nejch

[8]ページ先頭

©2009-2025 Movatter.jp