Skip to content

Commit b9b80c0

Browse files
committed
Prepare final 3.0.0 release
1 parent 2999def commit b9b80c0

File tree

8 files changed

+46
-12
lines changed

8 files changed

+46
-12
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.0.0b1
2+
current_version = 3.0.0
33
commit = False
44
tag = False
55

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ a query language for APIs created by Facebook.
1212
[![Python 3 Status](https://pyup.io/repos/github/graphql-python/graphql-core-next/python-3-shield.svg)](https://pyup.io/repos/github/graphql-python/graphql-core-next/)
1313
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
1414

15-
The current version 3.0.0b1 of GraphQL-core is up-to-date
15+
The current version 3.0.0 of GraphQL-core is up-to-date
1616
with GraphQL.js version 14.5.8.
1717

1818
All parts of the API are covered by an extensive test suite
@@ -46,12 +46,12 @@ README and the corresponding tests in parallel.
4646

4747
GraphQL-core 3 can be installed from PyPI using the built-in pip command:
4848

49-
python -m pip install "graphql-core>=3a"
49+
python -m pip install "graphql-core>=3"
5050

5151
Alternatively, you can also use [pipenv](https://docs.pipenv.org/) for installation in a
5252
virtual environment:
5353

54-
pipenv install --pre "graphql-core>=3a"
54+
pipenv install "graphql-core>=3"
5555

5656

5757
## Usage

docs/conf.py

+33-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
# The short X.Y version.
6262
# version = u'3.0'
6363
# The full version, including alpha/beta/rc tags.
64-
version = release = u'3.0.0b1'
64+
version = release = u'3.0.0'
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.
@@ -96,6 +96,38 @@
9696
}
9797
autosummary_generate = True
9898

99+
# ignore certain warnings
100+
# (references to some of the Python built-in types do not resolve correctly)
101+
nitpicky = True
102+
nitpick_ignore = [('py:class', t) for t in (
103+
'dict', 'list', 'object', 'tuple',
104+
'Exception', 'TypeError', 'ValueError',
105+
'builtins.str', 'enum.Enum', 'typing.Generic',
106+
'graphql.pyutils.cached_property.CachedProperty',
107+
'graphql.pyutils.path.Path',
108+
'graphql.error.graphql_error.GraphQLError',
109+
'graphql.language.ast.DefinitionNode',
110+
'graphql.language.ast.ExecutableDefinitionNode',
111+
'graphql.language.ast.Node',
112+
'graphql.language.ast.ScalarTypeDefinitionNode',
113+
'graphql.language.ast.SelectionNode',
114+
'graphql.language.ast.TypeDefinitionNode',
115+
'graphql.language.ast.TypeExtensionNode',
116+
'graphql.language.ast.TypeNode',
117+
'graphql.language.ast.TypeSystemDefinitionNode',
118+
'graphql.language.ast.ValueNode',
119+
'graphql.language.visitor.Visitor',
120+
'graphql.type.definition.GraphQLNamedType',
121+
'graphql.type.definition.GraphQLType',
122+
'graphql.type.definition.GraphQLWrappingType',
123+
'graphql.validation.rules.ASTValidationRule',
124+
'graphql.validation.rules.ValidationRule',
125+
'graphql.validation.validation_context.ASTValidationContext',
126+
'graphql.validation.rules.known_argument_names'
127+
'.KnownArgumentNamesOnDirectivesRule',
128+
'graphql.validation.rules.provided_required_arguments'
129+
'.ProvidedRequiredArgumentsOnDirectivesRule')]
130+
99131
# The reST default role (used for this markup: `text`) to use for all
100132
# documents.
101133
#

docs/diffs.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You can also pass a custom ``out_type`` argument to :class:`GraphQLInputObjectTy
6363
Custom Middleware
6464
-----------------
6565

66-
The :func:`execution.execute` function takes an additional ``middleware`` argument which must be a sequence of middleware functions or a :class:`MiddleWareManager` object. This feature is used by Graphene to affect the evaluation of fields using custom middleware.
66+
The :func:`execution.execute` function takes an additional ``middleware`` argument which must be a sequence of middleware functions or a :class:`MiddlewareManager` object. This feature is used by Graphene to affect the evaluation of fields using custom middleware.
6767

6868

6969
Custom execution contexts

docs/intro.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ Getting started
3131

3232
You can install GraphQL-core 3 using pip_::
3333

34-
pip install "graphql-core>=3a"
34+
pip install "graphql-core>=3"
3535

3636
You can also install GraphQL-core 3 with pipenv_, if you prefer that::
3737

38-
pipenv install --pre "graphql-core>=3a"
38+
pipenv install "graphql-core>=3"
3939

4040
Now you can start using GraphQL-core 3 by importing from the top-level
4141
:mod:`graphql` package. Nearly everything defined in the sub-packages
@@ -83,8 +83,8 @@ Please visit the `GitHub repository of GraphQL-core 3`_ if you're interested
8383
in the current development or want to report issues or send pull requests.
8484

8585
.. _GraphQL: https://graphql.org/
86-
.. _GraphQl.js: https://github.com/graphql/graphql-js
87-
.. _GraphQl-core-3: https://github.com/graphql-python/graphql-core-next
86+
.. _GraphQL.js: https://github.com/graphql/graphql-js
87+
.. _GraphQL-core-3: https://github.com/graphql-python/graphql-core-next
8888
.. _GitHub repository of GraphQL-core 3: https://github.com/graphql-python/graphql-core-next
8989
.. _Specification for GraphQL: https://facebook.github.io/graphql/
9090
.. _Language: https://facebook.github.io/graphql/draft/#sec-Language

docs/requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sphinx>=2.2,<3
2+
sphinx_rtd_theme>=0.4

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "graphql-core"
3-
version = "3.0.0b1"
3+
version = "3.0.0"
44
description = """
55
GraphQL-core is a Python port of GraphQL.js,
66
the JavaScript reference implementation for GraphQL."""

src/graphql/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
__all__ = ["version", "version_info", "version_js", "version_info_js"]
55

66

7-
version = "3.0.0b1"
7+
version = "3.0.0"
88

99
version_js = "14.5.8"
1010

0 commit comments

Comments
 (0)