From 17b03bb3feb3deffe9d68c4e2ecdf326fbe2ddd5 Mon Sep 17 00:00:00 2001 From: Anurag Saha Roy Date: Tue, 30 Nov 2021 11:23:52 +0100 Subject: [PATCH 1/2] drop support for Python 3.6 --- .github/workflows/build_package.yml | 2 +- .github/workflows/nightly_pypi.yml | 2 +- .github/workflows/publish_pypi.yml | 2 +- CONTRIBUTING.md | 2 +- setup.py | 3 +-- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.yml index cfdeca2b..bfefca51 100644 --- a/.github/workflows/build_package.yml +++ b/.github/workflows/build_package.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, ubuntu-18.04, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9] env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} diff --git a/.github/workflows/nightly_pypi.yml b/.github/workflows/nightly_pypi.yml index b5d27f5a..c74bdd4f 100644 --- a/.github/workflows/nightly_pypi.yml +++ b/.github/workflows/nightly_pypi.yml @@ -49,7 +49,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, ubuntu-18.04, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9] env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index f4fc5f8f..9447e2c3 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -45,7 +45,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, ubuntu-18.04, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9] env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 55192e8c..c03fb93b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -261,7 +261,7 @@ We use the [CHANGELOG.md](CHANGELOG.md) as a living document that not only recor ## Continuous Integration Checks -As previously discussed, tests are an inherent part of good code. All Pull Requests made to the repository are automatically tested on Windows, MacOS and Ubuntu with Python 3.6, 3.7, 3.8 and 3.9, which come up in the PR as `Checks`, notifying you whenever a particular check is failing on any platform. Except the `Code Complexity`, all checks should be passing for your PR to be ready for review/merge. The `Codecov` bot will also comment on the PR with a report on the change in the test coverage for that particular PR. If your PR reduces the overall test coverage of the codebase, it is not yet ready and you need to add more tests. +As previously discussed, tests are an inherent part of good code. All Pull Requests made to the repository are automatically tested on Windows, MacOS and Ubuntu with Python 3.7, 3.8 and 3.9, which come up in the PR as `Checks`, notifying you whenever a particular check is failing on any platform. Except the `Code Complexity`, all checks should be passing for your PR to be ready for review/merge. The `Codecov` bot will also comment on the PR with a report on the change in the test coverage for that particular PR. If your PR reduces the overall test coverage of the codebase, it is not yet ready and you need to add more tests. ## Contributor License Agreement diff --git a/setup.py b/setup.py index 21d8e7ac..8cf1503c 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,6 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Physics", ], @@ -46,5 +45,5 @@ "tensorflow-estimator>=2.4.0", "tensorflow-probability>=0.12.1", ], - python_requires="~=3.6", + python_requires="~=3.7", ) From 669a215d038c3bc9a8d7bd6d89b09859ccdc444b Mon Sep 17 00:00:00 2001 From: Anurag Saha Roy Date: Tue, 30 Nov 2021 11:35:44 +0100 Subject: [PATCH 2/2] add note on removing support for python 3.6 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6662f1a5..22311dfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ This Changelog tracks all past changes to this project as well as details about ### Details +- `removed` official support for Python 3.6 #156 - `added` a method to HJSON dump current parameter values #149 - `added` example for the log reader CLI #137 - `added` human readable saving of current best point for the optimizer #140