Skip to content

Commit b6fd7b2

Browse files
committed
Update dependencies
1 parent 663d00d commit b6fd7b2

File tree

98 files changed

+1794
-3615
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1794
-3615
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v5
10+
- uses: actions/checkout@v6
1111

1212
- name: Set up Python 3.14
1313
uses: actions/setup-python@v6

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414

1515
- name: Set up Python 3.14
1616
uses: actions/setup-python@v6

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.9', 'pypy3.10', 'pypy3.11']
1212

1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515

1616
- name: Set up Python ${{ matrix.python-version }}
1717
uses: actions/setup-python@v6
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install "tox>=4.24,<5" "tox-gh-actions>=3.5,<4"
24+
pip install "tox>=4.30,<5" "tox-gh-actions>=3.5,<4"
2525
2626
- name: Run unit tests with tox
2727
run: tox
@@ -34,7 +34,7 @@ jobs:
3434
python-version: ['3.7', '3.8']
3535

3636
steps:
37-
- uses: actions/checkout@v5
37+
- uses: actions/checkout@v6
3838

3939
- name: Set up Python ${{ matrix.python-version }}
4040
uses: actions/setup-python@v6

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@
139139
ignore_references = set(
140140
"""
141141
GNT GT KT T VT
142+
_asyncio.Future
143+
asyncio.queues.Queue
142144
enum.Enum
143145
traceback
144146
types.TracebackType

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/graphql/language/print_location.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from .location import SourceLocation, get_location
66
from .source import Source
77

8-
98
__all__ = ["print_location", "print_source_location"]
109

1110

src/graphql/pyutils/description.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Tuple, Union
1+
from typing import Any, Tuple, Type, Union
22

33
__all__ = [
44
"Description",
@@ -17,14 +17,14 @@ class Description:
1717
If you register(object), any object will be allowed as description.
1818
"""
1919

20-
bases: Union[type, Tuple[type, ...]] = str
20+
bases: Union[Type[Any], Tuple[Type[Any], ...]] = str
2121

2222
@classmethod
2323
def isinstance(cls, obj: Any) -> bool:
2424
return isinstance(obj, cls.bases)
2525

2626
@classmethod
27-
def register(cls, base: type) -> None:
27+
def register(cls, base: Type[Any]) -> None:
2828
"""Register a class that shall be accepted as a description."""
2929
if not isinstance(base, type):
3030
raise TypeError("Only types can be registered.")
@@ -39,7 +39,7 @@ def register(cls, base: type) -> None:
3939
cls.bases += (base,)
4040

4141
@classmethod
42-
def unregister(cls, base: type) -> None:
42+
def unregister(cls, base: Type[Any]) -> None:
4343
"""Unregister a class that shall no more be accepted as a description."""
4444
if not isinstance(base, type):
4545
raise TypeError("Only types can be unregistered.")

src/graphql/utilities/get_introspection_query.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ def get_introspection_query(
5151
def input_deprecation(string: str) -> Optional[str]:
5252
return string if input_value_deprecation else ""
5353

54-
return dedent(
55-
f"""
54+
return dedent(f"""
5655
query IntrospectionQuery {{
5756
__schema {{
5857
{maybe_schema_description}
@@ -158,8 +157,7 @@ def input_deprecation(string: str) -> Optional[str]:
158157
}}
159158
}}
160159
}}
161-
"""
162-
)
160+
""")
163161

164162

165163
# Unfortunately, the following type definitions are a bit simplistic

src/graphql/utilities/type_comparators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ def is_equal_type(type_a: GraphQLType, type_b: GraphQLType) -> bool:
2929
# If either type is non-null, the other must also be non-null.
3030
if is_non_null_type(type_a) and is_non_null_type(type_b):
3131
# noinspection PyUnresolvedReferences
32-
return is_equal_type(type_a.of_type, type_b.of_type) # type:ignore
32+
return is_equal_type(type_a.of_type, type_b.of_type) # type: ignore
3333

3434
# If either type is a list, the other must also be a list.
3535
if is_list_type(type_a) and is_list_type(type_b):
3636
# noinspection PyUnresolvedReferences
37-
return is_equal_type(type_a.of_type, type_b.of_type) # type:ignore
37+
return is_equal_type(type_a.of_type, type_b.of_type) # type: ignore
3838

3939
# Otherwise the types are not equal.
4040
return False

tests/benchmarks/test_execution_async.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
graphql,
88
)
99

10-
1110
user = GraphQLObjectType(
1211
name="User",
1312
fields={

0 commit comments

Comments
 (0)