mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-06 04:19:26 +00:00
Add Python 3.10 in favor of 3.6 (#1494)
* Add Python 3.10 in favor of 3.6 * Increase lower bound requests for Python 3.10 compatibility
This commit is contained in:
2
.github/workflows/pipeline.yml
vendored
2
.github/workflows/pipeline.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||
python-version: ['3.7', '3.8', '3.9', '3.10']
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
|
||||
4
setup.py
4
setup.py
@@ -23,7 +23,7 @@ install_requires = [
|
||||
'clickclick>=1.2,<21',
|
||||
'jsonschema>=2.5.1,<5',
|
||||
'PyYAML>=5.1,<7',
|
||||
'requests>=2.9.1,<3',
|
||||
'requests>=2.19.1,<3',
|
||||
'inflection>=0.3.1,<0.6',
|
||||
'werkzeug>=1.0,<3',
|
||||
'importlib-metadata>=1 ; python_version<"3.8"',
|
||||
@@ -105,10 +105,10 @@ setup(
|
||||
test_suite='tests',
|
||||
classifiers=[
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Intended Audience :: Developers',
|
||||
'Operating System :: OS Independent',
|
||||
|
||||
6
tox.ini
6
tox.ini
@@ -5,10 +5,10 @@ rst-roles=class
|
||||
|
||||
[tox]
|
||||
envlist =
|
||||
{py36}-{min,pypi,dev}
|
||||
{py37}-{min,pypi,dev}
|
||||
{py38}-{min,pypi,dev}
|
||||
{py39}-{min,pypi,dev}
|
||||
{py310}-{min,pypi,dev}
|
||||
isort-check
|
||||
isort-check-examples
|
||||
isort-check-tests
|
||||
@@ -17,10 +17,10 @@ envlist =
|
||||
|
||||
[gh-actions]
|
||||
python =
|
||||
3.6: py36-min,py36-pypi
|
||||
3.7: py37-min,py37-pypi
|
||||
3.8: py38-min,py38-pypi
|
||||
3.9: py39-min,py39-pypi,flake8,isort-check,isort-check-examples,isort-check-tests,mypy
|
||||
3.9: py39-min,py39-pypi
|
||||
3.10: py310-min,py310-pypi,flake8,isort-check,isort-check-examples,isort-check-tests,mypy
|
||||
|
||||
[testenv]
|
||||
setenv=PYTHONPATH = {toxinidir}:{toxinidir}
|
||||
|
||||
Reference in New Issue
Block a user