drop py38 from CI

This commit is contained in:
pacrob
2025-01-25 15:30:59 -07:00
committed by Paul Robinson
parent fe43b84a7d
commit 20580b9a4e
4 changed files with 9 additions and 11 deletions

View File

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: 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] toxenv: [core, lint, wheel]
include: include:
- python: '3.10' - python: '3.10'

View File

@ -11,7 +11,7 @@ repos:
rev: v3.15.0 rev: v3.15.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py38-plus] args: [--py39-plus]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 23.9.1 rev: 23.9.1
hooks: hooks:

View File

@ -90,7 +90,7 @@ setup(
url="https://github.com/libp2p/py-libp2p", url="https://github.com/libp2p/py-libp2p",
include_package_data=True, include_package_data=True,
install_requires=install_requires, install_requires=install_requires,
python_requires=">=3.8, <4", python_requires=">=3.9, <4",
extras_require=extras_require, extras_require=extras_require,
py_modules=["libp2p"], py_modules=["libp2p"],
license="MIT/APACHE2.0", license="MIT/APACHE2.0",
@ -105,7 +105,6 @@ setup(
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"Natural Language :: English", "Natural Language :: English",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",

13
tox.ini
View File

@ -1,9 +1,9 @@
[tox] [tox]
envlist= envlist=
py{38,39,310,311,312,313}-core py{39,310,311,312,313}-core
py{38,39,310,311,312,313}-lint py{39,310,311,312,313}-lint
py{38,39,310,311,312,313}-wheel py{39,310,311,312,313}-wheel
py{38,39,310,311,312,313}-interop py{39,310,311,312,313}-interop
windows-wheel windows-wheel
docs docs
@ -25,7 +25,6 @@ commands=
basepython= basepython=
docs: python docs: python
windows-wheel: python windows-wheel: python
py38: python3.8
py39: python3.9 py39: python3.9
py310: python3.10 py310: python3.10
py311: python3.11 py311: python3.11
@ -36,7 +35,7 @@ extras=
docs docs
allowlist_externals=make,pre-commit 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 deps=pre-commit
extras= extras=
dev dev
@ -44,7 +43,7 @@ commands=
pre-commit install pre-commit install
pre-commit run --all-files --show-diff-on-failure 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= deps=
wheel wheel
build[virtualenv] build[virtualenv]