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

Migration to Python3 #3616

Open
wants to merge 238 commits into
base: main
Choose a base branch
from
Open

Migration to Python3 #3616

wants to merge 238 commits into from

Conversation

milescalabresi
Copy link
Contributor

@milescalabresi milescalabresi commented Feb 17, 2023

Migrate the codebase to Python 3 (currently 3.7, aiming for higher once we bump Django and other packages)

willgearty and others added 5 commits February 16, 2023 21:06
full command/config: python -m modernize --no-diffs --write --nobackups --six-unicode --enforce --fix=default --fix=libmodernize.fixes.fix_open -f classic_division -f open -f idioms -f set_literal -f ws_comma .
@milescalabresi milescalabresi added Infrastructure Security Development Future Django Work in progress dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 17, 2023
@hwatheod
Copy link
Contributor

Regarding Python 3.7, its end-of-life is only a few months way (2023-06-27).

@milescalabresi
Copy link
Contributor Author

Good catch, Ted. I think we want to avoid upgrading Django in this PR (the main limiting library), but we should make a separate issue to bump Django as soon as possible. Then we can bump to a current version of Python. Only potential reason I can see to do it sooner is that this tool https://docs.python.org/3.10/library/functools.html#functools.cmp_to_key buys us a lot of ground with the cmp issue

willgearty and others added 28 commits September 5, 2024 21:23
* Student schedule fixes

* make tests parallel; don't render latex response as http response

* add required argument to programprintables test

* add required program argument to allclassesselection tests

* don't run tests in parallel yet

---------

Co-authored-by: William Gearty <willgearty@gmail.com>
* Prevent program with duplicate name/URL and update account name

* Show form errors in form instead of as a Whoops page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Development Future Django Infrastructure python Pull requests that update Python code Security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade pillow to 7.1.0?
4 participants