Add Python 3.11 in CI
continuous-integration/drone Build is failing Details

This commit is contained in:
Lucidiot 2023-05-09 12:48:18 +02:00
parent 04e3354394
commit ac6a1b3103
Signed by: lucidiot
GPG Key ID: 3358C1CA6906FB8D
2 changed files with 12 additions and 3 deletions

View File

@ -46,8 +46,15 @@ steps:
- coverage run setup.py test
- coverage report
- name: test-py311
image: python:3.11-alpine
commands:
- pip install .[dev]
- coverage run setup.py test
- coverage report
- name: testpypi
image: python:3.10-alpine
image: python:3.11-alpine
commands:
- pip install .[dev] twine setuptools wheel
- |
@ -73,6 +80,7 @@ steps:
- test-py38
- test-py39
- test-py310
- test-py311
environment:
TESTPYPI_DEPLOY_USERNAME:
@ -81,7 +89,7 @@ steps:
from_secret: testpypi_password
- name: pypi
image: python:3.10-alpine
image: python:3.11-alpine
commands:
- pip install .[dev] twine setuptools wheel
- |

View File

@ -31,7 +31,7 @@ setup(
],
'pylspci': ['py.typed'],
},
python_requires='>=3.5',
python_requires='>=3.6',
install_requires=requirements,
extras_require={
'dev': dev_requirements,
@ -55,6 +55,7 @@ setup(
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Hardware",
"Topic :: Utilities",