Skip to content

Commit

Permalink
Final v3.1.0 release, matching GrapqhQL.js v15.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Apr 3, 2020
1 parent 7dbfd07 commit e9ac4e0
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.1.0b2
current_version = 3.1.0
commit = False
tag = False

Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ 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 stable version 3.0.3 of GraphQL-core is up-to-date with
GraphQL.js version 14.6.0.
The current version 3.1.0 of GraphQL-core is up-to-date with GraphQL.js version 15.0.0.

The latest beta version 3.1.0b1 of GraphQL-core is up-to-date with
GraphQL.js version 15.0.0rc2.

An extensive test suite with over 2100 unit tests and 100% coverage
also replicates the test suite of GraphQL.js, making sure this port
is reliable and compatible with GraphQL.js.
An extensive test suite with over 2100 unit tests and 100% coverage comprises a
replication of the complete test suite of GraphQL.js, making sure this port is
reliable and compatible with GraphQL.js.


## Documentation
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# The short X.Y version.
# version = '3.1'
# The full version, including alpha/beta/rc tags.
version = release = '3.1.0b2'
version = release = '3.1.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
34 changes: 17 additions & 17 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "graphql-core"
version = "3.1.0b2"
version = "3.1.0"
description = """
GraphQL-core is a Python port of GraphQL.js,
the JavaScript reference implementation for GraphQL."""
Expand Down
4 changes: 2 additions & 2 deletions src/graphql/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
__all__ = ["version", "version_info", "version_js", "version_info_js"]


version = "3.1.0b2"
version = "3.1.0"

version_js = "15.0.0c2"
version_js = "15.0.0"


_re_version = re.compile(r"(\d+)\.(\d+)\.(\d+)(\D*)(\d*)")
Expand Down
4 changes: 2 additions & 2 deletions tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def version_info_has_correct_fields():
assert version_info.micro == int(groups[2])
if groups[3] is None: # pragma: no cover
assert groups[4] is None
else:
else: # pragma: no cover
assert version_info.releaselevel[:1] == groups[3]
assert version_info.serial == int(groups[4])

Expand All @@ -102,6 +102,6 @@ def version_info_js_has_correct_fields():
assert version_info_js.micro == int(groups[2])
if groups[3] is None: # pragma: no cover
assert groups[4] is None
else:
else: # pragma: no cover
assert version_info_js.releaselevel[:1] == groups[3]
assert version_info_js.serial == int(groups[4])

0 comments on commit e9ac4e0

Please sign in to comment.