Skip to content

Commit

Permalink
MAINT: Step away from EOL Python 3.7 to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Aug 19, 2023
1 parent 65c7e9e commit f23a9ed
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ 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:
- uses: actions/checkout@v3
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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/triggered.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ 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:
- uses: actions/checkout@v3
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
Expand Down
5 changes: 3 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
0.6 (TBD)
---------
0.6 (2023-08-19)
----------------

New Features
^^^^^^^^^^^^
Expand Down Expand Up @@ -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)
------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/source/asv.conf.json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/using.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]" },
]
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions test/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f23a9ed

Please sign in to comment.