-
Notifications
You must be signed in to change notification settings - Fork 179
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
Upgrade to Python 3 w/merge #1021
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Created test suite for parsing module #986 -> tests Validator -> tests Digestor -> tests utils - Updated schools mappers to use new directory structure -> looks for courses.py, evals.py, textbooks.py -> Moved school settings to school local config files - Restructured logging infrastructure -> Use logging config yaml files instead of Python dicts -> Removed custom loggers written in parsing module -> Use pythong logging module -> load loggers in __init__.py -> Incorporated updates into makeschool command -> TODO - email notification logger on parsing error #552 - Minor API changes to parsing module -> pass year_and_terms_filter dictionary to start method of parse -> Load sensitive.py information inside __new__ -> moved and refactored much of extractor into utils -> Parsing command arguments use composable actions -> Iterated on parsing inline documentation -> removed yet iterated on extract_info - (partially) added uoft to parsing infrastructure - Added sensitive.py to .gitignore - fixed absolute file import errors to pass doc build ++ many more things that I dont want to enumerate :-)
Version Python 3.5 The heavy lifting was done by: `2to3 -w -n -f all -f idiom .` Then some fixes were made to coerce float/into conversion. As well as updated all packages (except Django) to latest version. NOTE: some packages were removed and replaced if they did not support Py3 -> due to pip not resolving all dependencies some pip installs were added manually to travisCI Python3 initializes django modules in different order, issues arose in school_mappers in relation to importing parsers. Thus parser import was moved into the ingest command.
In Python3 all classes are __new style__ classes
140de83
to
f65ac90
Compare
84aaa3c
to
0318437
Compare
0318437
to
6456593
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Move to New Repo
Moving to new repo in June 2021 since this repository is deprecated
python
Pull requests that update Python code
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#1022