Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Upgrade to Python 3

Choose a tag to compare

@tobiasbrown tobiasbrown released this 23 Jun 00:24
· 12 commits to master since this release
868c3cf
MAR-4608:  Upgrade to Python 3 (#136)

* adding python3 venv to git ignore

* updating packages you would need to install bdsit

* using TB's content loader work

* using python3 upgrades and upgrading Werkzeug

* updating requirements

* add nose package in requirements text

* using 2to3

* updating tests

* update virtual environment to python 3 virtual env

* using python 3.7.9

* need to install wheel

* udpdating pycodestyle

* wip

* wip

* wip

* update coverage

* update pytest-cov

* updating pytest-sugar

* updating python-coverall

* updating PyYAML 5.4.1

* fixing linting issue

* update gulp

* upgrading packages

* wip

* wip using python 3.7

* use npm5.6.0

* update flask-caching

* wip

* Update asserts with 2to3 in service tests

* Simplify BytesIO import with 2to3 in service tests

* Install Node v10.15.2 during CircleCI build

* Try build without specifying NPM version to install

* Fix lines over-indented as reported by pycodestyle

* Restore original package.json and package-lock.json

* removing imports that used for python upgrade

* removing venv3 from gitignore

* fixed packages to match api package

* using python3 version for assertEquals

* removing 2to3

* Update Pendulum tokens to format day, month and year

* Upgrade python-dateutil package

* Upgrade Flask-Caching package

* Upgrade Jinja2 package

* Upgrade six package

* Update content-loader commit hash

* Upgrade requests package

* Upgrade asn1crypto package

* Upgrade backoff package

* Upgrade boto package

* Upgrade boto3 package

* Upgrade botocore package

* Upgrade contextlib2 package

* Upgrade docutils package

* Upgrade Flask-Login package

* Upgrade Flask-Script package

* Upgrade futures package

* Upgrade idna package

* Upgrade ipaddress package

* Upgrade jmespath package

* Upgrade Markdown package

* Upgrade monotonic package

* Upgrade pycparser package

* Upgrade python-json-logger package

* Upgrade requests package

* Upgrade responses package

* Upgrade rollbar package

* Upgrade s3transfer package

* Upgrade tzlocal package

* Upgrade waitress package

* Upgrade WTForms package

* Update content-loader commit hash

* Update utils commit hash

* Update utils commit hash

* changing python version to 3.7.10

* pointing to new utils commit

* Update utils commit hash

* Update api-client commit hash

* Update utils commit hash

* Use Cloud Foundry Python 3 buildpack for alpha

* Use Python 3 buildpack for all Cloud Foundry environments

* Remove decode of VCAP services

* change circleci to python 3.7.9

* update waitress

* change utils commit head

* update apiclient commit head

* changing utils branch head

* update click package to match other repos

* update utils commit

* Specify Python 3.7.9 for Cloud Foundry buildpack

* updating utils to the latest commit

* Remove Python 2.7 reference in .travis.yml

Co-authored-by: Reshma-M-A <31645577+Reshma-M-A@users.noreply.github.com>

* Remove utf-8 encoding declaration in test_users.py

Co-authored-by: Reshma-M-A <31645577+Reshma-M-A@users.noreply.github.com>

* Remove comment from test_users.py

Co-authored-by: Reshma-M-A <31645577+Reshma-M-A@users.noreply.github.com>

* Tidy up urllib imports

* Tidy up zip_longest import

* Tidy up BytesIO import

* Update apiclient commit hash

* Update content loader commit hash

* Update utils commit hash

Co-authored-by: Tobias Brown <2645932+tobiasbrown@users.noreply.github.com>