Skip to content

Commit

Permalink
drop py38 from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Jan 25, 2025
1 parent e0814c9 commit 27deac4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
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",
Expand All @@ -105,7 +105,6 @@
"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",
Expand Down
13 changes: 6 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -25,7 +25,6 @@ commands=
basepython=
docs: python
windows-wheel: python
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
Expand All @@ -36,15 +35,15 @@ 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
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]
Expand Down

0 comments on commit 27deac4

Please sign in to comment.