diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 6364020..13f81d9 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: '3.7' + python-version: '3.8' - run: pip wheel -w ./wheelhouse/ . - uses: actions/upload-artifact@v3 diff --git a/README.md b/README.md index b99b9e6..fdc7c1b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Core Python benchmark code for `asv`. **This package shall not have any dependencies on external packages and must be -compatible with all Python versions greater than or equal to `3.7`.** +compatible with all Python versions greater than or equal to `3.8`.** For other functionality, refer to the `asv` package or consider writing an extension. diff --git a/changelog.d/39.misc.md b/changelog.d/39.misc.md new file mode 100644 index 0000000..d335ac8 --- /dev/null +++ b/changelog.d/39.misc.md @@ -0,0 +1,3 @@ +The lowest supported version of `python` for `asv_runner` and its companion +projects (`asv`) is now `3.8`, since `3.7` has been EOL for [many months +now](https://endoflife.date/python). diff --git a/pyproject.toml b/pyproject.toml index 3a71184..4ab96fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ ] version = "0.1.0" dependencies = [] # Make sure there's nothing here -requires-python = ">=3.7" +requires-python = ">=3.8" readme = "README.md" license = {text = "BSD-3-Clause"} @@ -31,13 +31,12 @@ docs = [ 'sphinx-design', 'sphinx-autobuild', 'sphinxcontrib-spelling', - "myst-parser>=2", # Needs python >= 3.8 - "sphinx-autodoc2>=0.4.2", # Needs python >= 3.8 + "myst-parser>=2", + "sphinx-autodoc2>=0.4.2", ] [tool.pdm.dev-dependencies] lint = [ "ruff", - "black", ] [build-system] requires = ["pdm-backend"] @@ -55,15 +54,11 @@ lint.select = [ "I001", # isort ] -[tool.black] -line-length = 88 -target-version = ['py37'] - [tool.setuptools_scm] write_to = "asv_runner/_version.py" [tool.pdm.scripts] -lint = {composite = ["ruff --fix asv_runner/", "black asv_runner/"]} +lint = {composite = ["ruff --fix --unsafe-fixes asv_runner/", "ruff format asv_runner/"]} mkdoc = {composite = ["sphinx-build -b html docs/source docs/build/html"]} [project.urls]