Skip to content

Commit 1e3d26a

Browse files
authored
Merge pull request #312 from python-adaptive/python37
bump to Python≥3.7
2 parents 2d0444b + 073b848 commit 1e3d26a

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/tox.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
platform: [ubuntu-latest, macos-latest, windows-latest]
15-
python-version: [3.6, 3.7, 3.8, 3.9]
15+
python-version: [3.7, 3.8, 3.9]
1616

1717
steps:
1818
- uses: actions/checkout@v1

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ repos:
1313
hooks:
1414
- id: black
1515
- repo: https://github.com/asottile/pyupgrade
16-
rev: v2.10.0
16+
rev: v2.11.0
1717
hooks:
1818
- id: pyupgrade
19-
args: ['--py36-plus']
19+
args: ['--py37-plus']
2020
- repo: https://github.com/timothycrosley/isort
21-
rev: 5.7.0
21+
rev: 5.8.0
2222
hooks:
2323
- id: isort
2424
- repo: https://gitlab.com/pycqa/flake8
25-
rev: 3.8.4
25+
rev: 3.9.0
2626
hooks:
2727
- id: flake8

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Adaptively learning a 1D function (the `gif` below) and live-plotting the proces
8888
Installation
8989
------------
9090

91-
``adaptive`` works with Python 3.6 and higher on Linux, Windows, or Mac,
91+
``adaptive`` works with Python 3.7 and higher on Linux, Windows, or Mac,
9292
and provides optional extensions for working with the Jupyter/IPython
9393
Notebook.
9494

benchmarks/asv.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"environment_type": "conda",
88
"install_timeout": 600,
99
"show_commit_url": "https://github.com/python-adaptive/adaptive/commits/",
10-
"pythons": ["3.6"],
10+
"pythons": ["3.7"],
1111
"conda_channels": ["conda-forge"],
1212
"matrix": {
1313
"numpy": ["1.13"],

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55

66
dependencies:
7-
- python=3.6
7+
- python=3.7
88
- sortedcontainers
99
- sortedcollections
1010
- scipy

setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
from setuptools import find_packages, setup
77

8-
if sys.version_info < (3, 6):
9-
print("adaptive requires Python 3.6 or above.")
8+
if sys.version_info < (3, 7):
9+
print("adaptive requires Python 3.7 or above.")
1010
sys.exit(1)
1111

1212

@@ -65,17 +65,17 @@ def get_version_and_cmdclass(package_name):
6565
name="adaptive",
6666
description="Parallel active learning of mathematical functions",
6767
version=version,
68-
python_requires=">=3.6",
68+
python_requires=">=3.7",
6969
url="https://adaptive.readthedocs.io/",
7070
author="Adaptive authors",
7171
license="BSD",
7272
classifiers=[
7373
"Development Status :: 4 - Beta",
7474
"License :: OSI Approved :: BSD License",
7575
"Intended Audience :: Science/Research",
76-
"Programming Language :: Python :: 3.6",
7776
"Programming Language :: Python :: 3.7",
7877
"Programming Language :: Python :: 3.8",
78+
"Programming Language :: Python :: 3.9",
7979
],
8080
packages=find_packages("."),
8181
install_requires=install_requires,

0 commit comments

Comments
 (0)