Skip to content

Commit

Permalink
Python 3.9 support (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
shagunsodhani authored Dec 2, 2020
1 parent 6f06c89 commit d672055
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ jobs:
- run: echo 'export NOX_PYTHON_VERSIONS=3.8' >> $BASH_ENV
- run: sudo pip install nox
- run: nox

py39_linux:
docker:
- image: circleci/python:3.9
steps:
- checkout
- run: echo 'export NOX_PYTHON_VERSIONS=3.9' >> $BASH_ENV
- run: sudo pip install nox
- run: nox

workflows:
version: 2
Expand All @@ -35,3 +44,4 @@ workflows:
- py36_linux
- py37_linux
- py38_linux
- py39_linux
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,20 @@ Sessions defined in /home/omry/dev/omegaconf/noxfile.py:
* omegaconf-3.6
* omegaconf-3.7
* omegaconf-3.8
* omegaconf-3.9
* docs
* coverage-3.6
* coverage-3.7
* coverage-3.8
* coverage-3.9
* lint-3.6
* lint-3.7
* lint-3.8
* lint-3.9
* test_jupyter_notebook-3.6
* test_jupyter_notebook-3.7
* test_jupyter_notebook-3.8
* test_jupyter_notebook-3.9
```
To run a specific session use `-s`, for example `nox -s lint` will run linting

Expand Down
1 change: 1 addition & 0 deletions news/447.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
OmegaConf now supports Python 3.9
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import nox

DEFAULT_PYTHON_VERSIONS = ["3.6", "3.7", "3.8"]
DEFAULT_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]

PYTHON_VERSIONS = os.environ.get(
"NOX_PYTHON_VERSIONS", ",".join(DEFAULT_PYTHON_VERSIONS)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def read(*parts):
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
Expand Down

0 comments on commit d672055

Please sign in to comment.