Skip to content

Commit

Permalink
chore: stable Python 3.9 support and bump version (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
KingDarBoja authored Oct 27, 2020
1 parent e39398a commit 60e9171
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ 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
python-version: "3.6"
- os: windows-latest
python-version: "3.7"
- os: windows-latest
python-version: "3.9-dev"
python-version: "3.9"

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion graphql_server/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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*)")

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[tox]
envlist =
black,flake8,import-order,mypy,manifest,
py{36,37,38,39-dev}
py{36,37,38,39}
; requires = tox-conda

[gh-actions]
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}
Expand All @@ -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
Expand Down

0 comments on commit 60e9171

Please sign in to comment.