From 073b848aeabedba5f131192b79d5d0d6835faf87 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Tue, 23 Mar 2021 10:06:07 +0100 Subject: [PATCH] =?UTF-8?q?bump=20to=20Python=E2=89=A53.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tox.yml | 2 +- .pre-commit-config.yaml | 8 ++++---- README.rst | 2 +- benchmarks/asv.conf.json | 2 +- environment.yml | 2 +- setup.py | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 09b70c35f..4c20b082a 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d59dddd43..cfd018400 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,15 +13,15 @@ repos: hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v2.10.0 + rev: v2.11.0 hooks: - id: pyupgrade - args: ['--py36-plus'] + args: ['--py37-plus'] - repo: https://github.com/timothycrosley/isort - rev: 5.7.0 + rev: 5.8.0 hooks: - id: isort - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 + rev: 3.9.0 hooks: - id: flake8 diff --git a/README.rst b/README.rst index 3c34de57b..5403bd137 100644 --- a/README.rst +++ b/README.rst @@ -88,7 +88,7 @@ Adaptively learning a 1D function (the `gif` below) and live-plotting the proces Installation ------------ -``adaptive`` works with Python 3.6 and higher on Linux, Windows, or Mac, +``adaptive`` works with Python 3.7 and higher on Linux, Windows, or Mac, and provides optional extensions for working with the Jupyter/IPython Notebook. diff --git a/benchmarks/asv.conf.json b/benchmarks/asv.conf.json index 33b452a27..3231a9915 100644 --- a/benchmarks/asv.conf.json +++ b/benchmarks/asv.conf.json @@ -7,7 +7,7 @@ "environment_type": "conda", "install_timeout": 600, "show_commit_url": "https://github.com/python-adaptive/adaptive/commits/", - "pythons": ["3.6"], + "pythons": ["3.7"], "conda_channels": ["conda-forge"], "matrix": { "numpy": ["1.13"], diff --git a/environment.yml b/environment.yml index ccc4e004e..4e0f48b32 100644 --- a/environment.yml +++ b/environment.yml @@ -4,7 +4,7 @@ channels: - conda-forge dependencies: - - python=3.6 + - python=3.7 - sortedcontainers - sortedcollections - scipy diff --git a/setup.py b/setup.py index 832c1dad0..0337a0072 100644 --- a/setup.py +++ b/setup.py @@ -5,8 +5,8 @@ from setuptools import find_packages, setup -if sys.version_info < (3, 6): - print("adaptive requires Python 3.6 or above.") +if sys.version_info < (3, 7): + print("adaptive requires Python 3.7 or above.") sys.exit(1) @@ -65,7 +65,7 @@ def get_version_and_cmdclass(package_name): name="adaptive", description="Parallel active learning of mathematical functions", version=version, - python_requires=">=3.6", + python_requires=">=3.7", url="https://adaptive.readthedocs.io/", author="Adaptive authors", license="BSD", @@ -73,9 +73,9 @@ def get_version_and_cmdclass(package_name): "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Intended Audience :: Science/Research", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", ], packages=find_packages("."), install_requires=install_requires,