From 8f379079cf996e9de5165b7306b9aa21e4b559df Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Sun, 12 Dec 2021 21:13:52 +0100 Subject: [PATCH] Pre-release v3.2.0rc3 matching GraphQL.js 16.0.0rc3 --- .bumpversion.cfg | 2 +- .github/workflows/test.yml | 2 +- README.md | 2 +- docs/conf.py | 2 +- poetry.lock | 31 +++++++++++++++---------------- pyproject.toml | 6 +++--- src/graphql/version.py | 4 ++-- tox.ini | 2 +- 8 files changed, 25 insertions(+), 26 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 7bd03624..7d225394 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.2.0rc2 +current_version = 3.2.0rc3 commit = False tag = False diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72574ba9..09278c14 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - python: [3.6, 3.7, 3.8, 3.9, 3.10, pypy3] + python: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy3'] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 7b436242..78cc15a9 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ a query language for APIs created by Facebook. [![Python 3 Status](https://pyup.io/repos/github/graphql-python/graphql-core/python-3-shield.svg)](https://pyup.io/repos/github/graphql-python/graphql-core/) [![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) -The current version 3.1.6 of GraphQL-core is up-to-date with GraphQL.js version 15.5.1. +The current version 3.1.7 of GraphQL-core is up-to-date with GraphQL.js version 15.8.0. An extensive test suite with over 2300 unit tests and 100% coverage comprises a replication of the complete test suite of GraphQL.js, making sure this port is diff --git a/docs/conf.py b/docs/conf.py index f03b6bae..0ecb8c9d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -61,7 +61,7 @@ # The short X.Y version. # version = '3.1' # The full version, including alpha/beta/rc tags. -version = release = '3.2.0rc2' +version = release = '3.2.0rc3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/poetry.lock b/poetry.lock index d6966121..5321bec6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -220,7 +220,7 @@ python-versions = ">=3.6, <3.7" [[package]] name = "distlib" -version = "0.3.3" +version = "0.3.4" description = "Distribution utilities" category = "dev" optional = false @@ -562,14 +562,14 @@ pytest = ">=4.0.0" [[package]] name = "pytest-timeout" -version = "1.4.2" -description = "py.test plugin to abort hanging tests" +version = "2.0.1" +description = "pytest plugin to abort hanging tests" category = "dev" optional = false -python-versions = "*" +python-versions = ">=3.6" [package.dependencies] -pytest = ">=3.6.0" +pytest = ">=5.0.0" [[package]] name = "pytz" @@ -787,11 +787,11 @@ python-versions = "*" [[package]] name = "typing-extensions" -version = "3.10.0.2" -description = "Backported and Experimental Type Hints for Python 3.5+" +version = "4.0.1" +description = "Backported and Experimental Type Hints for Python 3.6+" category = "dev" optional = false -python-versions = "*" +python-versions = ">=3.6" [[package]] name = "urllib3" @@ -842,7 +842,7 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytes [metadata] lock-version = "1.1" python-versions = "^3.6" -content-hash = "8187e089152d57e89e71896f755dd8f6fdfe116fc806fe97c9a06b1aaaa30dd9" +content-hash = "8cef1a7de3f464bd83f7c661fcf9cc99b6946aaa76e7f4a06fd2e1dd5fb21d77" [metadata.files] alabaster = [ @@ -956,8 +956,8 @@ dataclasses = [ {file = "dataclasses-0.8.tar.gz", hash = "sha256:8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97"}, ] distlib = [ - {file = "distlib-0.3.3-py2.py3-none-any.whl", hash = "sha256:c8b54e8454e5bf6237cc84c20e8264c3e991e824ef27e8f1e81049867d861e31"}, - {file = "distlib-0.3.3.zip", hash = "sha256:d982d0751ff6eaaab5e2ec8e691d949ee80eddf01a62eaa96ddb11531fe16b05"}, + {file = "distlib-0.3.4-py2.py3-none-any.whl", hash = "sha256:6564fe0a8f51e734df6333d08b8b94d4ea8ee6b99b5ed50613f731fd4089f34b"}, + {file = "distlib-0.3.4.zip", hash = "sha256:e4b58818180336dc9c529bfb9a0b58728ffc09ad92027a3f30b7cd91e3458579"}, ] docutils = [ {file = "docutils-0.17.1-py2.py3-none-any.whl", hash = "sha256:cf316c8370a737a022b72b56874f6602acf974a37a9fba42ec2876387549fc61"}, @@ -1128,8 +1128,8 @@ pytest-describe = [ {file = "pytest_describe-2.0.1-py3-none-any.whl", hash = "sha256:ea347838bdf774b498ee7cb4a0b802a40be89e667a399fb63d860e3223bf4183"}, ] pytest-timeout = [ - {file = "pytest-timeout-1.4.2.tar.gz", hash = "sha256:20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76"}, - {file = "pytest_timeout-1.4.2-py2.py3-none-any.whl", hash = "sha256:541d7aa19b9a6b4e475c759fd6073ef43d7cdc9a92d95644c260076eb257a063"}, + {file = "pytest-timeout-2.0.1.tar.gz", hash = "sha256:a5ec4eceddb8ea726911848593d668594107e797621e97f93a1d1dbc6fbb9080"}, + {file = "pytest_timeout-2.0.1-py3-none-any.whl", hash = "sha256:329bdea323d3e5bea4737070dd85a0d1021dbecb2da5342dc25284fdb929dff0"}, ] pytz = [ {file = "pytz-2021.3-py2.py3-none-any.whl", hash = "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c"}, @@ -1275,9 +1275,8 @@ typed-ast = [ {file = "typed_ast-1.4.3.tar.gz", hash = "sha256:fb1bbeac803adea29cedd70781399c99138358c26d05fcbd23c13016b7f5ec65"}, ] typing-extensions = [ - {file = "typing_extensions-3.10.0.2-py2-none-any.whl", hash = "sha256:d8226d10bc02a29bcc81df19a26e56a9647f8b0a6d4a83924139f4a8b01f17b7"}, - {file = "typing_extensions-3.10.0.2-py3-none-any.whl", hash = "sha256:f1d25edafde516b146ecd0613dabcc61409817af4766fbbcfb8d1ad4ec441a34"}, - {file = "typing_extensions-3.10.0.2.tar.gz", hash = "sha256:49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e"}, + {file = "typing_extensions-4.0.1-py3-none-any.whl", hash = "sha256:7f001e5ac290a0c0401508864c7ec868be4e701886d5b573a9528ed3973d9d3b"}, + {file = "typing_extensions-4.0.1.tar.gz", hash = "sha256:4ca091dea149f945ec56afb48dae714f21e8692ef22a395223bcd328961b6a0e"}, ] urllib3 = [ {file = "urllib3-1.26.7-py2.py3-none-any.whl", hash = "sha256:c4fdf4019605b6e5423637e01bc9fe4daef873709a7973e195ceba0a62bbc844"}, diff --git a/pyproject.toml b/pyproject.toml index 8e98b00c..4c7483d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "graphql-core" -version = "3.2.0rc2" +version = "3.2.0rc3" description = """ GraphQL-core is a Python port of GraphQL.js, the JavaScript reference implementation for GraphQL.""" @@ -50,8 +50,8 @@ pytest-asyncio = ">=0.16,<1" pytest-benchmark = "^3.4" pytest-cov = "^3.0" pytest-describe = "^2.0" -pytest-timeout = "^1.4" -typing-extensions = { version = "^3.10", python = "<3.8" } +pytest-timeout = "^2.0" +typing-extensions = { version = "^4.0", python = "<3.8" } black = [ {version = "21.12b0", python = ">=3.6.2"}, {version = "20.8b1", python = "<3.6.2"} diff --git a/src/graphql/version.py b/src/graphql/version.py index 87bf49b7..e963ad70 100644 --- a/src/graphql/version.py +++ b/src/graphql/version.py @@ -4,9 +4,9 @@ __all__ = ["version", "version_info", "version_js", "version_info_js"] -version = "3.2.0rc2" +version = "3.2.0rc3" -version_js = "16.0.0rc2" +version_js = "16.0.0rc3" _re_version = re.compile(r"(\d+)\.(\d+)\.(\d+)(\D*)(\d*)") diff --git a/tox.ini b/tox.ini index abc8dd6b..4e3e08b8 100644 --- a/tox.ini +++ b/tox.ini @@ -51,7 +51,7 @@ deps = pytest-benchmark>=3.4,<4 pytest-cov>=3,<4 pytest-describe>=2,<3 - pytest-timeout>=1.4,<2 + pytest-timeout>=2,<3 py36,py37: typing-extensions>=3.10,<4 commands = pytest tests {posargs: --cov-report=term-missing --cov=graphql --cov=tests --cov-fail-under=100}