Skip to content

Commit

Permalink
Prepare final 3.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Nov 30, 2019
1 parent 2999def commit b9b80c0
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 12 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.0.0b1
current_version = 3.0.0
commit = False
tag = False

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ a query language for APIs created by Facebook.
[![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/)
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

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

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

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

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

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

pipenv install --pre "graphql-core>=3a"
pipenv install "graphql-core>=3"


## Usage
Expand Down
34 changes: 33 additions & 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 = u'3.0'
# The full version, including alpha/beta/rc tags.
version = release = u'3.0.0b1'
version = release = u'3.0.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -96,6 +96,38 @@
}
autosummary_generate = True

# ignore certain warnings
# (references to some of the Python built-in types do not resolve correctly)
nitpicky = True
nitpick_ignore = [('py:class', t) for t in (
'dict', 'list', 'object', 'tuple',
'Exception', 'TypeError', 'ValueError',
'builtins.str', 'enum.Enum', 'typing.Generic',
'graphql.pyutils.cached_property.CachedProperty',
'graphql.pyutils.path.Path',
'graphql.error.graphql_error.GraphQLError',
'graphql.language.ast.DefinitionNode',
'graphql.language.ast.ExecutableDefinitionNode',
'graphql.language.ast.Node',
'graphql.language.ast.ScalarTypeDefinitionNode',
'graphql.language.ast.SelectionNode',
'graphql.language.ast.TypeDefinitionNode',
'graphql.language.ast.TypeExtensionNode',
'graphql.language.ast.TypeNode',
'graphql.language.ast.TypeSystemDefinitionNode',
'graphql.language.ast.ValueNode',
'graphql.language.visitor.Visitor',
'graphql.type.definition.GraphQLNamedType',
'graphql.type.definition.GraphQLType',
'graphql.type.definition.GraphQLWrappingType',
'graphql.validation.rules.ASTValidationRule',
'graphql.validation.rules.ValidationRule',
'graphql.validation.validation_context.ASTValidationContext',
'graphql.validation.rules.known_argument_names'
'.KnownArgumentNamesOnDirectivesRule',
'graphql.validation.rules.provided_required_arguments'
'.ProvidedRequiredArgumentsOnDirectivesRule')]

# The reST default role (used for this markup: `text`) to use for all
# documents.
#
Expand Down
2 changes: 1 addition & 1 deletion docs/diffs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ You can also pass a custom ``out_type`` argument to :class:`GraphQLInputObjectTy
Custom Middleware
-----------------

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.
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.


Custom execution contexts
Expand Down
8 changes: 4 additions & 4 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ Getting started

You can install GraphQL-core 3 using pip_::

pip install "graphql-core>=3a"
pip install "graphql-core>=3"

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

pipenv install --pre "graphql-core>=3a"
pipenv install "graphql-core>=3"

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

.. _GraphQL: https://graphql.org/
.. _GraphQl.js: https://github.com/graphql/graphql-js
.. _GraphQl-core-3: https://github.com/graphql-python/graphql-core-next
.. _GraphQL.js: https://github.com/graphql/graphql-js
.. _GraphQL-core-3: https://github.com/graphql-python/graphql-core-next
.. _GitHub repository of GraphQL-core 3: https://github.com/graphql-python/graphql-core-next
.. _Specification for GraphQL: https://facebook.github.io/graphql/
.. _Language: https://facebook.github.io/graphql/draft/#sec-Language
Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx>=2.2,<3
sphinx_rtd_theme>=0.4
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.0.0b1"
version = "3.0.0"
description = """
GraphQL-core is a Python port of GraphQL.js,
the JavaScript reference implementation for GraphQL."""
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
__all__ = ["version", "version_info", "version_js", "version_info_js"]


version = "3.0.0b1"
version = "3.0.0"

version_js = "14.5.8"

Expand Down

0 comments on commit b9b80c0

Please sign in to comment.