Skip to content

Commit 02605b1

Browse files
committed
Updated version to 2.1.0 (final)
1 parent 934deca commit 02605b1

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ global-exclude tests/*
22
recursive-exclude tests *
33
recursive-exclude tests_py35 *
44
include LICENSE
5+
include README.md

README.md

+14-11
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
GraphQL for Python.
44

5-
*This library is a port of [graphql-js](https://github.com/graphql/graphql-js) to Python and currently is up-to-date with release [0.6.0](https://github.com/graphql/graphql-js/releases/tag/v0.6.0).*
6-
5+
_This library is a port of [graphql-js](https://github.com/graphql/graphql-js) to Python and currently is up-to-date with release [0.6.0](https://github.com/graphql/graphql-js/releases/tag/v0.6.0)._
76

87
[![PyPI version](https://badge.fury.io/py/graphql-core.svg)](https://badge.fury.io/py/graphql-core)
98
[![Build Status](https://travis-ci.org/graphql-python/graphql-core.svg?branch=master)](https://travis-ci.org/graphql-python/graphql-core)
@@ -98,11 +97,11 @@ print result.errors
9897
The graphql query is executed, by default, synchronously (using `SyncExecutor`).
9998
However the following executors are available if we want to resolve our fields in parallel:
10099

101-
* `graphql.execution.executors.asyncio.AsyncioExecutor`: This executor executes the resolvers in the Python asyncio event loop.
102-
* `graphql.execution.executors.gevent.GeventExecutor`: This executor executes the resolvers in the Gevent event loop.
103-
* `graphql.execution.executors.process.ProcessExecutor`: This executor executes each resolver as a process.
104-
* `graphql.execution.executors.thread.ThreadExecutor`: This executor executes each resolver in a Thread.
105-
* `graphql.execution.executors.sync.SyncExecutor`: This executor executes each resolver synchronusly (default).
100+
- `graphql.execution.executors.asyncio.AsyncioExecutor`: This executor executes the resolvers in the Python asyncio event loop.
101+
- `graphql.execution.executors.gevent.GeventExecutor`: This executor executes the resolvers in the Gevent event loop.
102+
- `graphql.execution.executors.process.ProcessExecutor`: This executor executes each resolver as a process.
103+
- `graphql.execution.executors.thread.ThreadExecutor`: This executor executes each resolver in a Thread.
104+
- `graphql.execution.executors.sync.SyncExecutor`: This executor executes each resolver synchronusly (default).
106105

107106
#### Usage
108107

@@ -133,23 +132,27 @@ py.test PATH/TO/MY/DIR/ # All tests in directory
133132

134133
Add the `-s` flag if you have introduced breakpoints into the code for debugging.
135134
Add the `-v` ("verbose") flag to get more detailed test output. For even more detailed output, use `-vv`.
136-
Check out the [pytest documentation](https://docs.pytest.org/en/latest/) for more options and test running controls.
135+
Check out the [pytest documentation](https://docs.pytest.org/en/latest/) for more options and test running controls.
137136

138137
GraphQL-core supports several versions of Python. To make sure that changes do not break compatibility with any of those versions, we use `tox` to create virtualenvs for each python version and run tests with that version. To run against all python versions defined in the `tox.ini` config file, just run:
138+
139139
```sh
140140
tox
141141
```
142+
142143
If you wish to run against a specific version defined in the `tox.ini` file:
144+
143145
```sh
144146
tox -e py36
145147
```
148+
146149
Tox can only use whatever versions of python are installed on your system. When you create a pull request, Travis will also be running the same tests and report the results, so there is no need for potential contributors to try to install every single version of python on their own system ahead of time. We appreciate opening issues and pull requests to make GraphQL-core even more stable & useful!
147150

148151
## Main Contributors
149152

150-
* [@syrusakbary](https://github.com/syrusakbary/)
151-
* [@jhgg](https://github.com/jhgg/)
152-
* [@dittos](https://github.com/dittos/)
153+
- [@syrusakbary](https://github.com/syrusakbary/)
154+
- [@jhgg](https://github.com/jhgg/)
155+
- [@dittos](https://github.com/dittos/)
153156

154157
## License
155158

graphql/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
set_default_backend,
169169
)
170170

171-
VERSION = (2, 1, 0, "rc", 3)
171+
VERSION = (2, 1, 0, "final", 0)
172172
__version__ = get_version(VERSION)
173173

174174

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def run_tests(self):
5353
name="graphql-core",
5454
version=version,
5555
description="GraphQL implementation for Python",
56+
long_description=open("README.md").read(),
57+
# long_description_content_type="text/markdown",
5658
url="https://github.com/graphql-python/graphql-core",
5759
download_url="https://github.com/graphql-python/graphql-core/releases",
5860
author="Syrus Akbary, Jake Heinz, Taeho Kim",

0 commit comments

Comments
 (0)