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 Python 2 to 3 and upgrade Web2py to Version 2.21.1 #443

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

Conversation

earora97
Copy link
Contributor

@earora97 earora97 commented Jan 7, 2021

Checks:

  • Working locally + Checked all major scripts
  • Requirements.txt updated after checking on Virtual environment

Python 2to3 major changes include:

  • Python2 Print -> Python3 Print()
  • Python3 uses absolute imports
  • All strings are unicode in Python3

@@ -1,8 +1,8 @@
parsedatetime==2.1
gevent==1.1.1
greenlet==0.4.9
gevent==20.12.1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They've jumped from v1 to v20 directly: https://pypi.org/project/gevent/#history
Hence not a major change.

@earora97
Copy link
Contributor Author

earora97 commented Jan 7, 2021

No changes made for AWS Lambda.

@earora97
Copy link
Contributor Author

earora97 commented Jan 7, 2021

@raj454raj I am mostly done with the changes here. Can you take a look? Thanks!

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.

1 participant