From d67205545e12b6befa37195054249355651f13ca Mon Sep 17 00:00:00 2001 From: Shagun Sodhani <1321193+shagunsodhani@users.noreply.github.com> Date: Wed, 2 Dec 2020 17:22:06 -0500 Subject: [PATCH] Python 3.9 support (#447) --- .circleci/config.yml | 10 ++++++++++ CONTRIBUTING.md | 4 ++++ news/447.feature | 1 + noxfile.py | 2 +- setup.py | 1 + 5 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 news/447.feature diff --git a/.circleci/config.yml b/.circleci/config.yml index cac507c9d..79bd29260 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -35,3 +44,4 @@ workflows: - py36_linux - py37_linux - py38_linux + - py39_linux diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2792dd5f8..b413df0d8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 diff --git a/news/447.feature b/news/447.feature new file mode 100644 index 000000000..602fa17e2 --- /dev/null +++ b/news/447.feature @@ -0,0 +1 @@ +OmegaConf now supports Python 3.9 \ No newline at end of file diff --git a/noxfile.py b/noxfile.py index e58db0794..2bc72fa5b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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) diff --git a/setup.py b/setup.py index d33e7759a..95b4d5502 100644 --- a/setup.py +++ b/setup.py @@ -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", ],