From 20580b9a4e2b9f76b0656306c400439f4e80bb3a Mon Sep 17 00:00:00 2001 From: pacrob <5199899+pacrob@users.noreply.github.com> Date: Sat, 25 Jan 2025 15:30:59 -0700 Subject: [PATCH] drop py38 from CI --- .github/workflows/tox.yml | 2 +- .pre-commit-config.yaml | 2 +- setup.py | 3 +-- tox.ini | 13 ++++++------- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index fa8c42b9..1bd964e9 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13'] toxenv: [core, lint, wheel] include: - python: '3.10' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0ddba122..9eb0fcd8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: rev: v3.15.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/psf/black rev: 23.9.1 hooks: diff --git a/setup.py b/setup.py index a2cdcc1e..463555f9 100644 --- a/setup.py +++ b/setup.py @@ -90,7 +90,7 @@ setup( url="https://github.com/libp2p/py-libp2p", include_package_data=True, install_requires=install_requires, - python_requires=">=3.8, <4", + python_requires=">=3.9, <4", extras_require=extras_require, py_modules=["libp2p"], license="MIT/APACHE2.0", @@ -105,7 +105,6 @@ setup( "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/tox.ini b/tox.ini index f345cd7e..f7e7fb42 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] envlist= - py{38,39,310,311,312,313}-core - py{38,39,310,311,312,313}-lint - py{38,39,310,311,312,313}-wheel - py{38,39,310,311,312,313}-interop + py{39,310,311,312,313}-core + py{39,310,311,312,313}-lint + py{39,310,311,312,313}-wheel + py{39,310,311,312,313}-interop windows-wheel docs @@ -25,7 +25,6 @@ commands= basepython= docs: python windows-wheel: python - py38: python3.8 py39: python3.9 py310: python3.10 py311: python3.11 @@ -36,7 +35,7 @@ extras= docs allowlist_externals=make,pre-commit -[testenv:py{38,39,310,311,312,313}-lint] +[testenv:py{39,310,311,312,313}-lint] deps=pre-commit extras= dev @@ -44,7 +43,7 @@ commands= pre-commit install pre-commit run --all-files --show-diff-on-failure -[testenv:py{38,39,310,311,312,313}-wheel] +[testenv:py{39,310,311,312,313}-wheel] deps= wheel build[virtualenv]