From d8ab5dd697370a5c7ad4d07fc58a3d89a6380b7f Mon Sep 17 00:00:00 2001 From: KingDarBoja Date: Tue, 27 Oct 2020 13:28:10 -0500 Subject: [PATCH] chore: stable Python 3.9 support and bump version --- .github/workflows/tests.yml | 4 ++-- graphql_server/version.py | 2 +- setup.py | 3 ++- tox.ini | 8 +++++--- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3373733..4110dae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.6", "3.7", "3.8", "3.9-dev"] + python-version: ["3.6", "3.7", "3.8", "3.9"] os: [ubuntu-latest, windows-latest] exclude: - os: windows-latest @@ -16,7 +16,7 @@ jobs: - os: windows-latest python-version: "3.7" - os: windows-latest - python-version: "3.9-dev" + python-version: "3.9" steps: - uses: actions/checkout@v2 diff --git a/graphql_server/version.py b/graphql_server/version.py index 1eb6190..5536d02 100644 --- a/graphql_server/version.py +++ b/graphql_server/version.py @@ -4,7 +4,7 @@ __all__ = ["version", "version_info"] -version = "3.0.0b1" +version = "3.0.0b2" _re_version = re.compile(r"(\d+)\.(\d+)\.(\d+)(\D*)(\d*)") diff --git a/setup.py b/setup.py index ea5ea65..6295b99 100644 --- a/setup.py +++ b/setup.py @@ -63,12 +63,13 @@ author_email="me@syrusakbary.com", license="MIT", classifiers=[ - "Development Status :: 5 - Production/Stable", + "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", "License :: OSI Approved :: MIT License", ], keywords="api graphql protocol rest", diff --git a/tox.ini b/tox.ini index 813c610..e374ee0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = black,flake8,import-order,mypy,manifest, - py{36,37,38,39-dev} + py{36,37,38,39} ; requires = tox-conda [gh-actions] @@ -9,9 +9,10 @@ python = 3.6: py36 3.7: py37 3.8: py38 - 3.9: py39-dev + 3.9: py39 [testenv] +conda_channels = conda-forge passenv = * setenv = PYTHONPATH = {toxinidir} @@ -21,7 +22,8 @@ whitelist_externals = python commands = pip install -U setuptools - pytest tests --cov-report=term-missing --cov=graphql_server {posargs} + py{36,37,39}: pytest tests {posargs} + py{38}: pytest tests --cov-report=term-missing --cov=graphql_server {posargs} [testenv:black] basepython = python3.8