...
Given the list of repos that we think might be ready for python 3, here is how to confirm this fact and what to do next.
...
First: Take ownership of the review of a repo
Put your name in the Review Owner column (O) of the spreadsheet for an unclaimed repo.
Second: Confirm Python 3 Readiness
- Confirm that the test config(.travis.yml) is configured to run tests on python 3.6.
- If it is running on python 3.6, look at travis to confirm that tests on 3.6 are passing on master. eg. Go to something like https://travis-ci.org/edx/registrar/branches
- If tests are running and passing on master for a python 3.6 environment then do all the steps to update the repo as python 3 ready
- If it is running only on older versions(3.4, 3.5, etc)
- Make a PR to update the tests to run on python 3.6
- If this passes, merge it and then do all the steps to update the repo as python 3 ready.
- If no tests are running on python 3.x
- Make a note in the inventory spreadsheet and mark the repo as needing follow-up.
- If it is running on python 3.6, look at travis to confirm that tests on 3.6 are passing on master. eg. Go to something like https://travis-ci.org/edx/registrar/branches
Third: Update a repo to indicate it's python 3 ready
- Update openedx.yaml to indicate that the repo is OEP-7 compliant.
- If the repo has a setup.py
- Update the list of classifiers to include the following classifiers:
"Programming Language :: Python :: 3.6"
- "Programming Language :: Python :: 3"
- Update the list of classifiers to include the following classifiers:
If the repo has a setup.cfg
- Update the list of classifiers in the '[metadata]' section to include the following classifier:
- "Programming Language :: Python :: 3.6"
- "Programming Language :: Python :: 3"
- Update the list of classifiers in the '[metadata]' section to include the following classifier:
...