diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 271642c..fe8c256 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.12" - name: Build wheel and source tarball run: | pip install wheel diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 454ab1b..87026d6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.12" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e58bb5..ba966fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,15 +8,15 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, windows-latest] exclude: - - os: windows-latest - python-version: "3.7" - os: windows-latest python-version: "3.8" - os: windows-latest python-version: "3.9" + - os: windows-latest + python-version: "3.10" - os: windows-latest python-version: "3.11" @@ -32,8 +32,6 @@ jobs: pip install tox tox-gh-actions - name: Test with tox run: tox - env: - TOXENV: ${{ matrix.toxenv }} coverage: runs-on: ubuntu-latest @@ -43,7 +41,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.12" - name: Install test dependencies run: | python -m pip install --upgrade pip diff --git a/setup.py b/setup.py index bf3f24f..5808288 100644 --- a/setup.py +++ b/setup.py @@ -71,11 +71,11 @@ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries", - "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", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: MIT License", ], keywords="api graphql protocol rest", diff --git a/tox.ini b/tox.ini index 1c534fd..c0bfe7c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,16 +1,16 @@ [tox] envlist = black,flake8,import-order,mypy,manifest, - py{37,38,39,310,311} + py{38,39,310,311,312} ; requires = tox-conda [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] conda_channels = conda-forge @@ -23,35 +23,35 @@ whitelist_externals = python commands = pip install -U setuptools - py{37,38,39,311}: pytest tests {posargs} - py{310}: pytest tests --cov-report=term-missing --cov=graphql_server {posargs} + py{38,39,310,311}: pytest tests {posargs} + py{312}: pytest tests --cov-report=term-missing --cov=graphql_server {posargs} [testenv:black] -basepython = python3.10 +basepython = python3.12 deps = -e.[dev] commands = black --check graphql_server tests [testenv:flake8] -basepython = python3.10 +basepython = python3.12 deps = -e.[dev] commands = flake8 setup.py graphql_server tests [testenv:import-order] -basepython = python3.10 +basepython = python3.12 deps = -e.[dev] commands = isort graphql_server/ tests/ [testenv:mypy] -basepython = python3.10 +basepython = python3.12 deps = -e.[dev] commands = mypy graphql_server tests --ignore-missing-imports [testenv:manifest] -basepython = python3.10 +basepython = python3.12 deps = -e.[dev] commands = check-manifest -v