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

Pin tld package to maintain py2 support #235

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bradchiappetta
Copy link

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

Can one of the admins verify this patch?

@punkrokk
Copy link

@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
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

punkrokk commented Dec 11, 2019 via email

@horkhe
Copy link
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