mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
Put python3.8 support back in:
- We should create a breaking changes branch to be merged only when we are ready to start the next major version release cycle for all our maintained libraries.
This commit is contained in:
@ -123,6 +123,12 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
TOXENV: docs
|
TOXENV: docs
|
||||||
|
|
||||||
|
py38-core:
|
||||||
|
<<: *common
|
||||||
|
docker:
|
||||||
|
- image: cimg/python:3.8
|
||||||
|
environment:
|
||||||
|
TOXENV: py38-core
|
||||||
py39-core:
|
py39-core:
|
||||||
<<: *common
|
<<: *common
|
||||||
docker:
|
docker:
|
||||||
@ -154,6 +160,12 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
TOXENV: py313-core
|
TOXENV: py313-core
|
||||||
|
|
||||||
|
py38-lint:
|
||||||
|
<<: *common
|
||||||
|
docker:
|
||||||
|
- image: cimg/python:3.8
|
||||||
|
environment:
|
||||||
|
TOXENV: py38-lint
|
||||||
py39-lint:
|
py39-lint:
|
||||||
<<: *common
|
<<: *common
|
||||||
docker:
|
docker:
|
||||||
@ -185,6 +197,12 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
TOXENV: py313-lint
|
TOXENV: py313-lint
|
||||||
|
|
||||||
|
py38-wheel:
|
||||||
|
<<: *common
|
||||||
|
docker:
|
||||||
|
- image: cimg/python:3.8
|
||||||
|
environment:
|
||||||
|
TOXENV: py38-wheel
|
||||||
py39-wheel:
|
py39-wheel:
|
||||||
<<: *common
|
<<: *common
|
||||||
docker:
|
docker:
|
||||||
@ -257,16 +275,19 @@ jobs:
|
|||||||
|
|
||||||
define: &all_jobs
|
define: &all_jobs
|
||||||
- docs
|
- docs
|
||||||
|
- py38-core
|
||||||
- py39-core
|
- py39-core
|
||||||
- py310-core
|
- py310-core
|
||||||
- py311-core
|
- py311-core
|
||||||
- py312-core
|
- py312-core
|
||||||
- py313-core
|
- py313-core
|
||||||
|
- py38-lint
|
||||||
- py39-lint
|
- py39-lint
|
||||||
- py310-lint
|
- py310-lint
|
||||||
- py311-lint
|
- py311-lint
|
||||||
- py312-lint
|
- py312-lint
|
||||||
- py313-lint
|
- py313-lint
|
||||||
|
- py38-wheel
|
||||||
- py39-wheel
|
- py39-wheel
|
||||||
- py310-wheel
|
- py310-wheel
|
||||||
- py311-wheel
|
- py311-wheel
|
||||||
|
|||||||
@ -11,7 +11,7 @@ repos:
|
|||||||
rev: v3.15.0
|
rev: v3.15.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py39-plus]
|
args: [--py38-plus]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.9.1
|
rev: 23.9.1
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
3
setup.py
3
setup.py
@ -50,7 +50,7 @@ setup(
|
|||||||
install_requires=[
|
install_requires=[
|
||||||
"eth-utils>=2",
|
"eth-utils>=2",
|
||||||
],
|
],
|
||||||
python_requires=">=3.9, <4",
|
python_requires=">=3.8, <4",
|
||||||
extras_require=extras_require,
|
extras_require=extras_require,
|
||||||
py_modules=["<MODULE_NAME>"],
|
py_modules=["<MODULE_NAME>"],
|
||||||
license="MIT",
|
license="MIT",
|
||||||
@ -64,6 +64,7 @@ setup(
|
|||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT 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",
|
||||||
|
|||||||
11
tox.ini
11
tox.ini
@ -1,8 +1,8 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist=
|
envlist=
|
||||||
py{39,310,311,312,313}-core
|
py{38,39,310,311,312,313}-core
|
||||||
py{39,310,311,312,313}-lint
|
py{38,39,310,311,312,313}-lint
|
||||||
py{39,310,311,312,313}-wheel
|
py{38,39,310,311,312,313}-wheel
|
||||||
windows-wheel
|
windows-wheel
|
||||||
docs
|
docs
|
||||||
|
|
||||||
@ -23,6 +23,7 @@ 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
|
||||||
@ -33,13 +34,13 @@ extras=
|
|||||||
docs
|
docs
|
||||||
allowlist_externals=make,pre-commit
|
allowlist_externals=make,pre-commit
|
||||||
|
|
||||||
[testenv:py{39,310,311,312,313}-lint]
|
[testenv:py{38,39,310,311,312,313}-lint]
|
||||||
deps=pre-commit
|
deps=pre-commit
|
||||||
commands=
|
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{39,310,311,312,313}-wheel]
|
[testenv:py{38,39,310,311,312,313}-wheel]
|
||||||
deps=
|
deps=
|
||||||
wheel
|
wheel
|
||||||
build[virtualenv]
|
build[virtualenv]
|
||||||
|
|||||||
Reference in New Issue
Block a user