Skip to content

Pin tld package to maintain py2 support#235

Open
bradchiappetta wants to merge 2 commits into
mailgun:masterfrom
bradchiappetta:patch-1
Open

Pin tld package to maintain py2 support#235
bradchiappetta wants to merge 2 commits into
mailgun:masterfrom
bradchiappetta:patch-1

Conversation

@bradchiappetta
Copy link
Copy Markdown

In order to maintain py2 support tld needs to be pinned : tld==0.10
https://github.com/barseghyanartur/tld/releases

In order to maintain py2 support tld needs to be pinned : `tld==0.10`
https://github.com/barseghyanartur/tld/releases
@mailgun-ci
Copy link
Copy Markdown

Can one of the admins verify this patch?

@punkrokk
Copy link
Copy Markdown

@horkhe this PR pins tld==0.10 (the last version that supports py2) can you merge or let me know what else is needed to merge?

@horkhe
Copy link
Copy Markdown
Member

horkhe commented Dec 11, 2019

I do not think it makes sense to pin tld in the library, for python3 users may not be happy about it. If the library is used by a Python2 application it is application's responsibility to install relevant tld version. That is what we do.

@punkrokk
Copy link
Copy Markdown

punkrokk commented Dec 11, 2019 via email

@horkhe
Copy link
Copy Markdown
Member

horkhe commented Dec 11, 2019

I am not saying that we do not support python 2. I am saying it is your application responsibility to pin versions. Each our python application has requirements.txt file where all dependency versions are pinned. I recommend you to do the same. Pinning version here will immediately cause issues if another your dependency pins to another tld version.

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.

4 participants