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

Migrate codebase to Python 3.8 or later #504

Closed
alex-l-kong opened this issue Feb 16, 2022 · 0 comments · Fixed by #650
Closed

Migrate codebase to Python 3.8 or later #504

alex-l-kong opened this issue Feb 16, 2022 · 0 comments · Fixed by #650
Assignees
Labels
bug Something isn't working

Comments

@alex-l-kong
Copy link
Contributor

alex-l-kong commented Feb 16, 2022

Describe the bug

With Python 3.6 having reached EOL on December 23, 2021, our codebase is due for an upgrade. Several libraries have stopped supporting Python 3.6 or will stop soon. Additionally, PyPI now requires a codebase of at least 3.7; trying to deploy with python: 3.6 in .travis.yml produces this error:

Screen Shot 2022-02-16 at 3 52 05 PM

To Reproduce

For PyPI, try to create a tagged commit, which includes making a new release.

Expected behavior

Deployment to PyPI should be successful on a tagged commit or new release.

Additionally, our code should be compatible with at least Python 3.8.

Addressing the Issue

When addressing the issue, please ensure that the following are addressed:

  • All tests run in a Python 3.8 or later environment
  • The Dockerfile now specifies Python 3.8 or later and successfully builds
  • .travis.yml runs the tests on the Travis CI and deploys to PyPI/Docker Hub on Python 3.8 or later

Additional Notes

Because Python 3.7 will reach EOL on June 27, 2023, we want to skip this version to avoid another migration the following year. Python 3.8 has an EOL of October 14, 2024; Python 3.9 has an EOL of October 5, 2025. These would be better options.

@alex-l-kong alex-l-kong added the bug Something isn't working label Feb 16, 2022
@alex-l-kong alex-l-kong changed the title Migrate codebase to Python 3.7 or later Migrate codebase to Python 3.8 or later Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants