Skip to content

Commit 8f31fe8

Browse files
committed
Support Python 3.9 and 3.10 and update dependencies
1 parent 5c6d3df commit 8f31fe8

File tree

20 files changed

+731
-591
lines changed

20 files changed

+731
-591
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ matrix:
33
include:
44
- name: Code quality tests
55
env: TOXENV=black,flake8,mypy,docs,manifest
6-
python: 3.7
6+
python: 3.8
7+
- name: Unit tests with Python 3.9
8+
env: TOXENV=py38
9+
python: 3.9
710
- name: Unit tests with Python 3.8
811
env: TOXENV=py38
912
python: 3.8

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
# General information about the project.
5353
project = 'GraphQL-core 3'
54-
copyright = '2020, Christoph Zwerschke'
54+
copyright = '2021, Christoph Zwerschke'
5555
author = 'Christoph Zwerschke'
5656

5757
# The version info for the project you're documenting, acts as replacement for

docs/modules/error.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Error
77

88
.. autoexception:: GraphQLError
99
:members:
10+
:no-inherited-members:
1011

1112
.. autoexception:: GraphQLSyntaxError
1213

docs/usage/queries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Here is one way to use it::
2828
""")
2929
print(result)
3030

31-
asyncio.get_event_loop().run_until_complete(query_artoo())
31+
asyncio.run(query_artoo())
3232

3333
In our query, we asked for the droid with the id 2001, which is R2-D2, and its primary
3434
function, Astromech. When everything has been implemented correctly as shown above, you

0 commit comments

Comments
 (0)