From 167bda4bca363318a8f2a1816972a2bb454c1991 Mon Sep 17 00:00:00 2001 From: Fabrice Normandin Date: Wed, 23 Mar 2022 17:03:05 -0400 Subject: [PATCH] Remove support for python 3.6 Signed-off-by: Fabrice Normandin --- .github/workflows/build.yml | 2 +- conda/ci_build.sh | 1 - setup.py | 4 ++-- tox.ini | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 250a705c6..19aab82fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: max-parallel: 4 matrix: platform: [ubuntu-latest] - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9] env: PLATFORM: ${{ matrix.platform }} steps: diff --git a/conda/ci_build.sh b/conda/ci_build.sh index e63f40c2b..b1f7e69ed 100755 --- a/conda/ci_build.sh +++ b/conda/ci_build.sh @@ -16,7 +16,6 @@ conda update -q conda conda info -a conda install conda-build anaconda-client -conda build conda --python 3.6 conda build conda --python 3.7 conda build conda --python 3.8 conda build conda --python 3.9 diff --git a/setup.py b/setup.py index 90eb194d9..b7e07971a 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ packages=packages, package_dir={"": "src"}, include_package_data=True, + python_requires=">=3.7", entry_points={ "console_scripts": [ "orion = orion.core.cli:main", @@ -80,7 +81,6 @@ }, install_requires=[ "cloudpickle", - "dataclasses;python_version<'3.7'", "PyYAML", "pymongo>=3", "numpy", @@ -129,7 +129,7 @@ "Programming Language :: Python", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Artificial Intelligence", -] + [("Programming Language :: Python :: %s" % x) for x in "3 3.6 3.7 3.8 3.9".split()] +] + [("Programming Language :: Python :: %s" % x) for x in "3 3.7 3.8 3.9".split()] if __name__ == "__main__": setup(**setup_args) diff --git a/tox.ini b/tox.ini index 75a9b9302..b23bc7ef7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{36,37,38,39}-{linux,macos}{,-all} +envlist = py{37,38,39}-{linux,macos}{,-all} ######################################################### # Tox environments @@ -7,7 +7,6 @@ envlist = py{36,37,38,39}-{linux,macos}{,-all} [gh-actions] python = - 3.6: py36 3.7: py37 3.8: py38 3.9: py39