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

Continue to support Python 2 #1453

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

madscientist
Copy link
Contributor

Avoid Python 3-only capabilities:

  • Remove f-strings (jira.py, confluence.py)
  • Remove type specifications (bitbucket)
  • Remove trailing commas (bitbucket)

@gonchik
Copy link
Member

gonchik commented Sep 15, 2024

@madscientist how about to adjust black ? :)

Avoid Python 3-only capabilities:
- Remove f-strings (jira.py, confluence.py)
- Remove type specifications (bitbucket)
- Remove trailing commas (bitbucket)
@madscientist
Copy link
Contributor Author

Hrm, I fixed the black warnings but there's some kind of GPG key issue with the Ubuntu PPA that's now causing test failures.

@gkowalc
Copy link
Contributor

gkowalc commented Sep 24, 2024

python2 has been deprecated 4 years ago, I don't see a good reason to keep library backwards compatibility with python2.x

@madscientist
Copy link
Contributor Author

Well, that's up to the project of course. But currently the setup for this module says it supports Python 2, but it fails. This relatively small patch continues to support Python 2. If the project decides that they no longer want to support Python 2, then they need to modify setup.py to stop saying it does.

Regardless of that, the failures in the online tests above are due to some kind of PPA key failure which has nothing to do with Python 2, and needs to be addressed before I can rerun my tests to verify the patch.

Cheers!

@gonchik
Copy link
Member

gonchik commented Sep 25, 2024

@madscientist let's continue to support python2

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.

3 participants