Skip to content

Commit fcfb731

Browse files
committed
gql, langchains
1 parent 91ea137 commit fcfb731

File tree

4 files changed

+23
-60
lines changed

4 files changed

+23
-60
lines changed

.github/workflows/test-integrations-graphql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
strategy:
9898
fail-fast: false
9999
matrix:
100-
python-version: ["3.7","3.8","3.10","3.11","3.12"]
100+
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12"]
101101
# python3.6 reached EOL and is no longer being supported on
102102
# new versions of hosted runners on Github Actions
103103
# ubuntu-20.04 is the last version that supported python3.6

scripts/populate_tox/populate_tox.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,9 @@
6060
"fastapi",
6161
"gcp",
6262
"gevent",
63-
"gql",
6463
"graphene",
6564
"grpc",
6665
"httpx",
67-
"langchain",
68-
"langchain_notiktoken",
6966
"litestar",
7067
"loguru",
7168
"openai",

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ envlist =
100100
# GCP
101101
{py3.7}-gcp
102102

103-
# GQL
104-
{py3.7,py3.11}-gql-v{3.4}
105-
{py3.7,py3.12,py3.13}-gql-latest
106-
107103
# Graphene
108104
{py3.7,py3.11}-graphene-v{3.3}
109105
{py3.7,py3.12,py3.13}-graphene-latest
@@ -121,12 +117,6 @@ envlist =
121117
{py3.9,py3.11,py3.12}-httpx-v{0.25,0.27}
122118
{py3.9,py3.12,py3.13}-httpx-latest
123119

124-
# Langchain
125-
{py3.9,py3.11,py3.12}-langchain-v0.1
126-
{py3.9,py3.11,py3.12}-langchain-v0.3
127-
{py3.9,py3.11,py3.12}-langchain-latest
128-
{py3.9,py3.11,py3.12}-langchain-notiktoken
129-
130120
# LaunchDarkly
131121
{py3.8,py3.12,py3.13}-launchdarkly-v9.8.0
132122
{py3.8,py3.12,py3.13}-launchdarkly-latest
@@ -392,10 +382,6 @@ deps =
392382
fastapi-v{0.79}: fastapi~=0.79.0
393383
fastapi-latest: fastapi
394384
395-
# GQL
396-
gql-v{3.4}: gql[all]~=3.4.0
397-
gql-latest: gql[all]
398-
399385
# Graphene
400386
graphene: blinker
401387
graphene: fastapi
@@ -435,20 +421,6 @@ deps =
435421
httpx-v0.27: httpx~=0.27.0
436422
httpx-latest: httpx
437423
438-
# Langchain
439-
langchain-v0.1: openai~=1.0.0
440-
langchain-v0.1: langchain~=0.1.11
441-
langchain-v0.1: tiktoken~=0.6.0
442-
langchain-v0.1: httpx<0.28.0
443-
langchain-v0.3: langchain~=0.3.0
444-
langchain-v0.3: langchain-community
445-
langchain-v0.3: tiktoken
446-
langchain-v0.3: openai
447-
langchain-{latest,notiktoken}: langchain
448-
langchain-{latest,notiktoken}: langchain-openai
449-
langchain-{latest,notiktoken}: openai>=1.6.1
450-
langchain-latest: tiktoken~=0.6.0
451-
452424
# Litestar
453425
litestar: pytest-asyncio
454426
litestar: python-multipart

tox.ini

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ envlist =
100100
# GCP
101101
{py3.7}-gcp
102102

103-
# GQL
104-
{py3.7,py3.11}-gql-v{3.4}
105-
{py3.7,py3.12,py3.13}-gql-latest
106-
107103
# Graphene
108104
{py3.7,py3.11}-graphene-v{3.3}
109105
{py3.7,py3.12,py3.13}-graphene-latest
@@ -121,12 +117,6 @@ envlist =
121117
{py3.9,py3.11,py3.12}-httpx-v{0.25,0.27}
122118
{py3.9,py3.12,py3.13}-httpx-latest
123119

124-
# Langchain
125-
{py3.9,py3.11,py3.12}-langchain-v0.1
126-
{py3.9,py3.11,py3.12}-langchain-v0.3
127-
{py3.9,py3.11,py3.12}-langchain-latest
128-
{py3.9,py3.11,py3.12}-langchain-notiktoken
129-
130120
# LaunchDarkly
131121
{py3.8,py3.12,py3.13}-launchdarkly-v9.8.0
132122
{py3.8,py3.12,py3.13}-launchdarkly-latest
@@ -256,7 +246,13 @@ envlist =
256246
# === Integrations - Auto-generated ===
257247
# These come from the populate_tox.py script. Eventually we should move all
258248
# integration tests there.
249+
259250
# ~~~ AI ~~~
251+
{py3.9,py3.10,py3.11}-langchain-v0.0.354
252+
{py3.9,py3.11,py3.12}-langchain-v0.1.20
253+
{py3.9,py3.11,py3.12}-langchain-v0.2.17
254+
{py3.9,py3.12,py3.13}-langchain-v0.3.14
255+
260256
{py3.8,py3.10,py3.11}-huggingface_hub-v0.22.2
261257
{py3.8,py3.10,py3.11}-huggingface_hub-v0.24.7
262258
{py3.8,py3.11,py3.12}-huggingface_hub-v0.26.5
@@ -273,6 +269,9 @@ envlist =
273269
{py3.8,py3.11,py3.12}-ariadne-v0.22
274270
{py3.8,py3.11,py3.12}-ariadne-v0.24.0
275271

272+
{py3.6,py3.9,py3.10}-gql-v3.4.1
273+
{py3.7,py3.11,py3.12}-gql-v3.5.0
274+
276275

277276
# ~~~ Tasks ~~~
278277
{py3.6,py3.7,py3.8}-celery-v4.4.7
@@ -431,10 +430,6 @@ deps =
431430
fastapi-v{0.79}: fastapi~=0.79.0
432431
fastapi-latest: fastapi
433432

434-
# GQL
435-
gql-v{3.4}: gql[all]~=3.4.0
436-
gql-latest: gql[all]
437-
438433
# Graphene
439434
graphene: blinker
440435
graphene: fastapi
@@ -474,20 +469,6 @@ deps =
474469
httpx-v0.27: httpx~=0.27.0
475470
httpx-latest: httpx
476471

477-
# Langchain
478-
langchain-v0.1: openai~=1.0.0
479-
langchain-v0.1: langchain~=0.1.11
480-
langchain-v0.1: tiktoken~=0.6.0
481-
langchain-v0.1: httpx<0.28.0
482-
langchain-v0.3: langchain~=0.3.0
483-
langchain-v0.3: langchain-community
484-
langchain-v0.3: tiktoken
485-
langchain-v0.3: openai
486-
langchain-{latest,notiktoken}: langchain
487-
langchain-{latest,notiktoken}: langchain-openai
488-
langchain-{latest,notiktoken}: openai>=1.6.1
489-
langchain-latest: tiktoken~=0.6.0
490-
491472
# Litestar
492473
litestar: pytest-asyncio
493474
litestar: python-multipart
@@ -691,7 +672,17 @@ deps =
691672
# === Integrations - Auto-generated ===
692673
# These come from the populate_tox.py script. Eventually we should move all
693674
# integration tests there.
675+
694676
# ~~~ AI ~~~
677+
langchain-v0.0.354: langchain==0.0.354
678+
langchain-v0.1.20: langchain==0.1.20
679+
langchain-v0.2.17: langchain==0.2.17
680+
langchain-v0.3.14: langchain==0.3.14
681+
langchain: openai
682+
langchain: tiktoken
683+
langchain: httpx
684+
langchain-v0.3.14: langchain-community
685+
695686
huggingface_hub-v0.22.2: huggingface_hub==0.22.2
696687
huggingface_hub-v0.24.7: huggingface_hub==0.24.7
697688
huggingface_hub-v0.26.5: huggingface_hub==0.26.5
@@ -711,6 +702,9 @@ deps =
711702
ariadne: flask
712703
ariadne: httpx
713704

705+
gql-v3.4.1: gql[all]==3.4.1
706+
gql-v3.5.0: gql[all]==3.5.0
707+
714708

715709
# ~~~ Tasks ~~~
716710
celery-v4.4.7: celery==4.4.7

0 commit comments

Comments
 (0)