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

Drop support for Python 2.7 #905

Closed
5 of 9 tasks
Tracked by #1604
rdb opened this issue Apr 10, 2020 · 0 comments
Closed
5 of 9 tasks
Tracked by #1604

Drop support for Python 2.7 #905

rdb opened this issue Apr 10, 2020 · 0 comments
Labels
build Issues related to build system cleanup Codebase cleanup related tasks

Comments

@rdb
Copy link
Member

rdb commented Apr 10, 2020

Python 2.7 is officially already EOL since January 1st. Continuing to support it is a big burden on Panda3D maintenance. Python 3 has been available for a very long time, is quite stable in Panda3D, and we have given ample warning about the imminent removal of Python 2.7. I think it is about time we stopped needing to give any thought to Python 2.

The final release of the 2.7 branch, 2.7.18, occurs on April 18th. I suggest that after that point:

  • We remove Python 2.7 from supported platforms in setup.cfg.
  • The buildbot stops building Python 2.7 builds from the master branch of Panda3D
  • We remove Python 2.7 from CI tests
  • makewheel explicitly refuses to build wheels for Python 2.
  • We remove deploy-ng support for Python 2 (Remove python2 code from deployment tools #889, Python2 code remove from deploy_stub  #892).
  • We clean up all the places where we have to bend over backwards to support Python 2.
  • We update sample code to use Python 3 idioms where Python 2-isms are used
  • In the 1.10 manual, we put warnings in all places relevant to Python 2.
  • In the 1.11 manual, we remove anything specific to Python 2 and indicate that we do not support it.

We can continue building the 1.10 releases for now against Python 2.7.18, but if that becomes too much effort, I would be open to stopping this as well.

@rdb rdb added build Issues related to build system cleanup Codebase cleanup related tasks labels Apr 10, 2020
rdb added a commit to panda3d/buildbot-panda3d that referenced this issue Apr 26, 2020
rdb added a commit that referenced this issue Apr 26, 2020
@rdb rdb closed this as completed in d799a09 Apr 26, 2020
@rdb rdb mentioned this issue Jan 23, 2024
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to build system cleanup Codebase cleanup related tasks
Projects
None yet
Development

No branches or pull requests

1 participant