-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 connecting to npipe://, tcp://, and unix:// urls #8632
Conversation
Looks like we do need npipe as well https://github.com/aio-libs/aiodocker/blob/288d2168263364ad98ed7fd7bcf1a44d86cb98d9/aiodocker/docker.py#L96 |
I think this is good. I'd note that a frozenset() isn't actually needed as the second operator to result in a frozenset. The |
I tried that first but it iterated each character in the string |
Will fix the type when I get the next site. Have to drive now. |
Backport to 3.10: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply b2691f2 on top of patchback/backports/3.10/b2691f211511dc476ce4fb77f2293e4082a8a357/pr-8632 Backporting merged PR #8632 into master
🤖 @patchback |
Backport to 3.11: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply b2691f2 on top of patchback/backports/3.11/b2691f211511dc476ce4fb77f2293e4082a8a357/pr-8632 Backporting merged PR #8632 into master
🤖 @patchback |
Co-authored-by: Sam Bull <git@sambull.org> (cherry picked from commit b2691f2)
Co-authored-by: Sam Bull <git@sambull.org> (cherry picked from commit b2691f2)
… and unix:// urls (#8638) Co-authored-by: Sam Bull <git@sambull.org>
… and unix:// urls (#8637) Co-authored-by: Sam Bull <git@sambull.org>
@bdraco @Dreamsorcerer it would be worth also checking if connecting to abstract UNIX sockets works (it's a Linux-only feature). |
The original PR that causes the regression only added validation for the schema part of the URL so I think we should be ok with the abstract Unix sockets |
What do these changes do?
Fixes a regression in 3.10.x connecting to
npipe://
,tcp://
, andunix://
urlsA future PR should remove
allowed_protocol_schema_set
inBaseConnector
as its only there for backwards compatAre there changes in behavior for the user?
no
Is it a substantial burden for the maintainers to support this?
no
Related issue number
fixes #8600