-
-
Notifications
You must be signed in to change notification settings - Fork 26
Upgrade from Python 3.6 to 3.7 #162
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
Conversation
Bumps [onnx-chainer](https://github.com/chainer/onnx-chainer) from 1.4.1 to 1.5.0. Adds support for python 3.7!! - [Release notes](https://github.com/chainer/onnx-chainer/releases/tag/v1.5.0) - [Commits](chainer/onnx-chainer@v1.4.1...v1.5.0)
Github Actions can now do proper Ci/CD, see announcement at https://github.blog/2019-08-08-github-actions-now-supports-ci-cd/! Semi-automatically migrating the old main.workflow to a push.yml using https://github.com/actions/migrate/releases/tag/2019-08-06%4020-47, see also https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax. Deprecate use of actions/docker/cli (just use actions/checkout which has docker?) and manually edited the 'runs-on' to 'ubuntu-18.04' aka Bionic Beaver instead of 'ubuntu-latest'.
Closes #163 Convert Github Actions from V1 HCL syntax to V2 YAML syntax.
Bumps [python](https://github.com/python/cpython) from 3.6.7 to 3.7.3. Had to change pip in the conda environment.yml to use the py37 version, plus update the hash in the Pipfile.lock. Also added HDF5_DIR environment variable to get `pip install netcdf4` to work! - [Release notes](https://github.com/python/cpython/releases/tag/v3.7.3) - [Changelog](https://docs.python.org/3/whatsnew/3.7.html) - [Commits](python/cpython@3.6...3.7)
Keeping our main README.md file a bit more up to date! Updated installation instructions for the conda 4.7 (#161) python 3.7 world (a lot better than conda 4.6 and python 3.6), and made sure to set the HDF5_DIR environment variable as in c80041d to install [netCDF4](https://github.com/Unidata/netcdf4-python) properly. Also refreshed some of those outdated descriptions of the files we have in our repository's directory structure!
|
Could have updated netcdf4 from 1.4.1 to 1.5.1.2, but that would require compiling the netcdf4-python package from source. No easy way to specify that in the Pipfile, but we could use the but that won't be accurately reflected in the Pipfile.lock (?) that would undermine reproducibility as compiling the package at different times (with different compilers) may yield slightly different Wait, but sticking to netcdf==1.4.1 and using python 3.7 still means we are compiling it (that's why we see this and also why |
Closes #162 Upgrade from Python 3.6 to 3.7.
Lots of new goodies in Python 3.7! Mainly nice to haves e.g. better parallelization with improved
asynciousability viaasyncio.run(), easier debugging usingbreakpoint(), etc. Most of this DeepBedMap's dependencies have supported Python 3.7 for months already, all exceptonnx-chainerbut that's changed with chainer/onnx-chainer#192. Woohoo!TODO:
environment.ymlandPipfile(c80041d).Try to update netcdf4 from 1.4.1 to 1.5.1.2, pinned since a84dfd6 (see also ⬆️ Bump netcdf4 from 1.4.1 to 1.4.2 #58)