Skip to content

Commit 735848c

Browse files
WIP: testing gql update
1 parent c45e445 commit 735848c

File tree

3 files changed

+34
-26
lines changed

3 files changed

+34
-26
lines changed

.github/workflows/test.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -60,31 +60,31 @@ jobs:
6060
TOXENV: ${{ matrix.python.toxenv }}
6161
run: tox --skip-missing-interpreters false
6262

63-
functional:
64-
timeout-minutes: 30
65-
runs-on: ubuntu-24.04
66-
strategy:
67-
matrix:
68-
toxenv: [api_func_v4, cli_func_v4]
69-
steps:
70-
- uses: actions/checkout@v4.2.2
71-
- name: Set up Python
72-
uses: actions/setup-python@v5.4.0
73-
with:
74-
python-version: "3.12"
75-
- name: Install dependencies
76-
run: pip install tox
77-
- name: Run tests
78-
env:
79-
TOXENV: ${{ matrix.toxenv }}
80-
run: tox -- --override-ini='log_cli=True'
81-
- name: Upload codecov coverage
82-
uses: codecov/codecov-action@v5.3.1
83-
with:
84-
files: ./coverage.xml
85-
flags: ${{ matrix.toxenv }}
86-
fail_ci_if_error: false
87-
token: ${{ secrets.CODECOV_TOKEN }}
63+
# functional:
64+
# timeout-minutes: 30
65+
# runs-on: ubuntu-24.04
66+
# strategy:
67+
# matrix:
68+
# toxenv: [api_func_v4, cli_func_v4]
69+
# steps:
70+
# - uses: actions/checkout@v4.2.2
71+
# - name: Set up Python
72+
# uses: actions/setup-python@v5.4.0
73+
# with:
74+
# python-version: "3.12"
75+
# - name: Install dependencies
76+
# run: pip install tox
77+
# - name: Run tests
78+
# env:
79+
# TOXENV: ${{ matrix.toxenv }}
80+
# run: tox -- --override-ini='log_cli=True'
81+
# - name: Upload codecov coverage
82+
# uses: codecov/codecov-action@v5.3.1
83+
# with:
84+
# files: ./coverage.xml
85+
# flags: ${{ matrix.toxenv }}
86+
# fail_ci_if_error: false
87+
# token: ${{ secrets.CODECOV_TOKEN }}
8888

8989
coverage:
9090
runs-on: ubuntu-24.04

gitlab/client.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
import gitlab.exceptions
1616
from gitlab import _backends, utils
1717

18+
import gql
19+
import gql.transport.exceptions
20+
import graphql
21+
import httpx
22+
23+
from ._backends.graphql import GitlabAsyncTransport, GitlabTransport
24+
1825
try:
1926
import gql
2027
import gql.transport.exceptions
@@ -26,6 +33,7 @@
2633
_GQL_INSTALLED = True
2734
except ImportError: # pragma: no cover
2835
_GQL_INSTALLED = False
36+
raise
2937

3038

3139
REDIRECT_MSG = (

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
gql==3.5.0
1+
gql==3.5.1
22
httpx==0.28.1
33
requests==2.32.3
44
requests-toolbelt==1.0.0

0 commit comments

Comments
 (0)