Skip to content

First version of python 3 support - #5

Closed
EnTeQuAk wants to merge 11 commits into
docker:masterfrom
EnTeQuAk:feature/py3k
Closed

EnTeQuAk wants to merge 11 commits into
docker:masterfrom
EnTeQuAk:feature/py3k

Conversation

@EnTeQuAk

@EnTeQuAk EnTeQuAk commented Jan 6, 2014

Copy link
Copy Markdown

Hey there, I was using fig for a project using Python3 and I thought I do my best to add support for running it on all major platforms.

At least the tests run on python 2.6-3.3 now and the rest seems to work too.

I also changed the way tests are running, removing requirements*.txt and relying on setup.py test - calling nosetests still works but in my experience it feels more natural this way.

Let me know what you think.

Cheers!

@bfirsh

bfirsh commented Jan 6, 2014

Copy link
Copy Markdown

This is brilliant – thanks so much! I've added unittest2 to requirements so we can get assertIn. Would you mind rebasing against that?

@bfirsh

bfirsh commented Jan 6, 2014

Copy link
Copy Markdown

Actually, I'll rebase myself – feels unfair to pass that on to you. ;)

@EnTeQuAk

EnTeQuAk commented Jan 6, 2014

Copy link
Copy Markdown
Author

@bfirsh no worries, I merged with master. Though, there are still some smaller bugs in py3k together with docker-py - I'm working on those

@bfirsh

bfirsh commented Jan 6, 2014

Copy link
Copy Markdown

@bfirsh

bfirsh commented Jan 6, 2014

Copy link
Copy Markdown

I'll get this merged and then you can open PRs against the new master :)

@EnTeQuAk

EnTeQuAk commented Jan 6, 2014

Copy link
Copy Markdown
Author

Sweet, thanks a ton!

On Mon, Jan 6, 2014 at 9:19 AM, Ben Firshman [email protected]:

I'll get this merged and then you can open PRs against the new master :)

—
Reply to this email directly or view it on GitHubhttps://github.com//pull/5#issuecomment-31666750
.

@bfirsh

bfirsh commented Jan 6, 2014

Copy link
Copy Markdown

As you say looks like docker-py is broken:

https://travis-ci.org/orchardup/fig/jobs/16475860

I'll merge it in and we can wait on docker-py :)

@EnTeQuAk

EnTeQuAk commented Jan 6, 2014

Copy link
Copy Markdown
Author

Yeah, I did run into that too after I pushed everything :-/

Hopefully I will find the time today to get docker-py working a bit better

On Mon, Jan 6, 2014 at 9:34 AM, Ben Firshman [email protected]:

As you say looks like docker-py is broken:

https://travis-ci.org/orchardup/fig/jobs/16475860

I'll merge it in and we can wait on docker-py :)

—
Reply to this email directly or view it on GitHubhttps://github.com//pull/5#issuecomment-31668130
.

@bfirsh

bfirsh commented Jan 6, 2014

Copy link
Copy Markdown

Aaah damnit, the merge commit didn't show up even though I used --no-ff. Grr. Git.

Anyway, this is merged. Thanks! 🍰

@bfirsh bfirsh closed this Jan 6, 2014
@bfirsh bfirsh mentioned this pull request May 12, 2014
glours pushed a commit that referenced this pull request Jun 15, 2026
golang.org/x/crypto v0.52.0 has various fixes for vulnerabilities.
These do NOT impact docker compose, but may show up in vulnerability
scanners;

    govulncheck --version
    Go: go1.26.4
    Scanner: [email protected]
    DB: https://vuln.go.dev
    DB updated: 2026-06-02 21:39:47 +0000 UTC

    govulncheck -show verbose ./...
    Fetching vulnerabilities from the database...

    Checking the code against the vulnerabilities...

    === Package Results ===

    Vulnerability #1: GO-2026-5023
        Invoking VerifiedPublicKeyCallback permissions skip enforcement in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5023
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #2: GO-2026-5020
        Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5020
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #3: GO-2026-5019
        Invoking bypass of FIDO/U2F security keys physical interaction in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5019
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #4: GO-2026-5018
        Invoking pathological RSA/DSA parameters may cause DoS in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5018
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #5: GO-2026-5017
        Invoking client can cause server deadlock on unexpected responses in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5017
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #6: GO-2026-5016
        Invoking memory leak when rejecting channels can lead to DoS in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5016
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #7: GO-2026-5015
        Invoking server panic during CheckHostKey/Authenticate in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5015
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #8: GO-2026-5014
        Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5014
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #9: GO-2026-5013
        Invoking byte arithmetic causes underflow and panic in

        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5013
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    === Module Results ===

    Vulnerability #1: GO-2026-5033
        Invoking pathological inputs can lead to client panic in
        golang.org/x/crypto/ssh/agent
      More info: https://pkg.go.dev/vuln/GO-2026-5033
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #2: GO-2026-5021
        Invoking auth bypass via unenforced @Revoked status in
        golang.org/x/crypto/ssh/knownhosts
      More info: https://pkg.go.dev/vuln/GO-2026-5021
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #3: GO-2026-5006
        Invoking agent constraints dropped when forwarding keys in
        golang.org/x/crypto/ssh/agent
      More info: https://pkg.go.dev/vuln/GO-2026-5006
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #4: GO-2026-5005
        Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
      More info: https://pkg.go.dev/vuln/GO-2026-5005
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Your code is affected by 2 vulnerabilities from 1 module.
    This scan also found 9 vulnerabilities in packages you import and 4
    vulnerabilities in modules you require, but your code doesn't appear to call
    these vulnerabilities.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
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 this pull request may close these issues.

2 participants