diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index e4de62a45..2b1bd95bd 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -25,7 +25,7 @@ jobs: - [macos-12, macosx_x86_64] - [macos-12, macosx_arm64] - [windows-2019, win_amd64] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fba4d3300..6dbe511ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.7", "3.10", "pypy-3.8", "pypy-3.9"] + python-version: ["3.8", "3.10", "pypy-3.8", "pypy-3.9"] r-version: ['release'] timeout-minutes: 30 steps: @@ -22,12 +22,12 @@ jobs: with: fetch-depth: 0 - # We need Python 3.7 to always be installed, so tests with + # We need Python 3.8 to always be installed, so tests with # multiple environments can run. - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.8 - name: Set up Python version ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/.github/workflows/triggered.yml b/.github/workflows/triggered.yml index 5dd19b29b..3a7d7405f 100644 --- a/.github/workflows/triggered.yml +++ b/.github/workflows/triggered.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.7", "3.10", "pypy-3.8", "pypy-3.9"] + python-version: ["3.8", "3.10", "pypy-3.8", "pypy-3.9"] r-version: ['release'] timeout-minutes: 30 steps: @@ -27,12 +27,12 @@ jobs: with: fetch-depth: 0 - # We need Python 3.7 to always be installed, so tests with + # We need Python 3.8 to always be installed, so tests with # multiple environments can run. - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.8 - name: Set up Python version ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/CHANGES.rst b/CHANGES.rst index d8653abd9..5fabb99eb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,5 @@ -0.6 (TBD) ---------- +0.6 (2023-08-19) +---------------- New Features ^^^^^^^^^^^^ @@ -27,6 +27,7 @@ Bug Fixes Other Changes and Additions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ``mamba`` and ``conda`` use ``environment.yml`` if it exists +- Minimum ``python`` requirement is now ``3.8`` as ``3.7`` is end of life 0.5.1 (2021-02-06) ------------------ diff --git a/docs/source/asv.conf.json.rst b/docs/source/asv.conf.json.rst index 1d648d3fc..e4d2a1533 100644 --- a/docs/source/asv.conf.json.rst +++ b/docs/source/asv.conf.json.rst @@ -161,7 +161,7 @@ will to default to the version of Python that the ``asv`` command If provided, it should be a list of strings. It may be one of the following: -- a Python version string, e.g. ``"3.7"``, in which case: +- a Python version string, e.g. ``"3.8"``, in which case: - if ``conda`` is found, ``conda`` will be used to create an environment for that version of Python via a temporary diff --git a/docs/source/installing.rst b/docs/source/installing.rst index 5bfd37dce..06d973f8d 100644 --- a/docs/source/installing.rst +++ b/docs/source/installing.rst @@ -2,7 +2,7 @@ Installing airspeed velocity ============================ **airspeed velocity** is known to work on Linux, Mac OS-X, and Windows. -It is known to work with Python 3.7 and higher. +It is known to work with Python 3.8 and higher. It works also with PyPy. **airspeed velocity** is a standard Python package, and the latest diff --git a/docs/source/using.rst b/docs/source/using.rst index 19b73dfbc..f4d46d318 100644 --- a/docs/source/using.rst +++ b/docs/source/using.rst @@ -190,7 +190,7 @@ for you, but it expects to find the Python versions specified in the ``asv.conf.json`` file available on the ``PATH``. For example, if the ``asv.conf.json`` file has:: - "pythons": ["3.7", "3.10"] + "pythons": ["3.8", "3.10"] then it will use the executables named ``python2.7`` and ``python3.6`` on the path. There are many ways to get multiple diff --git a/pyproject.toml b/pyproject.toml index 8e6491cf1..1e3d06198 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "asv" description = "Airspeed Velocity: A simple Python history benchmarking tool" readme = { file = "README.rst", content-type = "text/x-rst" } license = { text = "BSD-3-Clause" } -requires-python = ">=3.7" +requires-python = ">=3.8" authors = [ { name = "Michael Droettboom", email = "mdroe@stsci.edu" }, ] @@ -15,7 +15,6 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", diff --git a/test/tools.py b/test/tools.py index 60501c272..d9aa74d5a 100644 --- a/test/tools.py +++ b/test/tools.py @@ -35,11 +35,11 @@ from asv.plugins.conda import _find_conda # Two Python versions for testing -PYTHON_VER1, PYTHON_VER2 = '3.7', platform.python_version() +PYTHON_VER1, PYTHON_VER2 = '3.8', platform.python_version() # Installable library versions to use in tests DUMMY1_VERSION = "0.14" -DUMMY2_VERSIONS = ["0.3.7", "0.3.9"] +DUMMY2_VERSIONS = ["0.3.8", "0.3.9"] WIN = (os.name == "nt")