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

Requests 2.32.0 Not supported URL scheme http+unix #73

Closed
cartertinney opened this issue May 22, 2024 · 4 comments · Fixed by #72
Closed

Requests 2.32.0 Not supported URL scheme http+unix #73

cartertinney opened this issue May 22, 2024 · 4 comments · Fixed by #72

Comments

@cartertinney
Copy link

cartertinney commented May 22, 2024

Latest security fix for requests has broken requests-unixsocket. It appears they do not plan to fix the breakage, and are suggesting it be the responsibility of consuming libraries.

Will there be a fix coming for this? Or will PRs for fixing it be accepted/released?

@brasse
Copy link

brasse commented May 22, 2024

Would the same fix work here?

docker/docker-py#3257

@cartertinney
Copy link
Author

@brasse Yes, that is my understanding that that would be all that is required.

@crgwbr
Copy link
Collaborator

crgwbr commented May 22, 2024

FYI to all: since this project seems to be abandoned, but its longevity is important to my team, we've forked the project as requests-unixsocket2. It should be a drop in replacement for this package.

We've migrated the fix for this issue there, merged it, and released to PyPI as part of v0.4.0.

tigarmo added a commit to canonical/craft-application that referenced this issue May 31, 2024
Version 2.32.0 breaks with the "http+unix" protocol used by requests-unixsocket,
which in turn is used by craft-parts. Pin this as a "dev" dependency since the
issue is in craft-parts, and not here.

Ref: msabramo/requests-unixsocket#73
tigarmo added a commit to canonical/craft-application that referenced this issue May 31, 2024
Version 2.32.0 breaks with the "http+unix" protocol used by requests-unixsocket,
which in turn is used by craft-parts. Pin this as a "dev" dependency since the
issue is in craft-parts, and not here.

Ref: msabramo/requests-unixsocket#73
tigarmo added a commit to canonical/craft-application that referenced this issue May 31, 2024
Version 2.32.0 breaks with the "http+unix" protocol used by requests-unixsocket,
which in turn is used by craft-parts. Pin this as a "dev" dependency since the
issue is in craft-parts, and not here.

Ref: msabramo/requests-unixsocket#73
arcan1s added a commit to arcan1s/ahriman that referenced this issue Jun 12, 2024
Since requests-2.32.0, the http+unix url scheme is brokek, check
msabramo/requests-unixsocket#73 for more
details
arcan1s added a commit to arcan1s/ahriman that referenced this issue Jun 12, 2024
Since requests-2.32.0, the http+unix url scheme is brokek, check
msabramo/requests-unixsocket#73 for more
details
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 16, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
roypat added a commit to roypat/firecracker that referenced this issue Jul 22, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
zulinx86 pushed a commit to firecracker-microvm/firecracker that referenced this issue Jul 22, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
arcan1s added a commit to arcan1s/ahriman that referenced this issue Aug 14, 2024
Since requests-2.32.0, the http+unix url scheme is brokek, check
msabramo/requests-unixsocket#73 for more
details
ghost pushed a commit to JamesC1305/firecracker that referenced this issue Aug 14, 2024
requests 2.32.0 breaks requests-unixsocket, which seems to be abandoned
[1]. So pin it to a version that works.

[1]: msabramo/requests-unixsocket#73

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
PerfectSlayer added a commit to DataDog/dd-trace-java-docker-build that referenced this issue Aug 22, 2024
requests 2.32 introduce behavior break in validating scheme: psf/requests#6707
requests-unixsocket is no more maintained but a fork was put in place to fix the issue: msabramo/requests-unixsocket#73
PerfectSlayer added a commit to DataDog/dd-trace-java-docker-build that referenced this issue Aug 22, 2024
requests 2.32 introduce behavior break in validating scheme: psf/requests#6707
requests-unixsocket is no more maintained but a fork was put in place to fix the issue: msabramo/requests-unixsocket#73
arcan1s added a commit to arcan1s/ahriman that referenced this issue Sep 30, 2024
Since requests-2.32.0, the http+unix url scheme is brokek, check
msabramo/requests-unixsocket#73 for more
details
@webknjaz
Copy link
Collaborator

webknjaz commented Jan 5, 2025

xref #72

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 a pull request may close this issue.

4 participants