Skip to content

Commit 6dcaa17

Browse files
committed
Move AI to toxgen
1 parent 3ac285d commit 6dcaa17

File tree

4 files changed

+16
-19
lines changed

4 files changed

+16
-19
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.7","3.9","3.11","3.12","3.13"]
32+
python-version: ["3.7","3.9","3.11","3.12"]
3333
# python3.6 reached EOL and is no longer being supported on
3434
# new versions of hosted runners on Github Actions
3535
# ubuntu-20.04 is the last version that supported python3.6
@@ -101,7 +101,7 @@ jobs:
101101
strategy:
102102
fail-fast: false
103103
matrix:
104-
python-version: ["3.8","3.9","3.11","3.12","3.13"]
104+
python-version: ["3.8","3.9","3.10","3.11","3.12","3.13"]
105105
# python3.6 reached EOL and is no longer being supported on
106106
# new versions of hosted runners on Github Actions
107107
# ubuntu-20.04 is the last version that supported python3.6

scripts/populate_tox/populate_tox.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
"grpc",
8080
"httpx",
8181
"huey",
82-
"huggingface_hub",
8382
"langchain",
8483
"langchain_notiktoken",
8584
"launchdarkly",

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,6 @@ envlist =
165165
{py3.6,py3.11,py3.12}-huey-v{2.0}
166166
{py3.6,py3.12,py3.13}-huey-latest
167167

168-
# Huggingface Hub
169-
{py3.9,py3.12,py3.13}-huggingface_hub-{v0.22}
170-
{py3.9,py3.12,py3.13}-huggingface_hub-latest
171-
172168
# Langchain
173169
{py3.9,py3.11,py3.12}-langchain-v0.1
174170
{py3.9,py3.11,py3.12}-langchain-v0.3
@@ -542,10 +538,6 @@ deps =
542538
huey-v2.0: huey~=2.0.0
543539
huey-latest: huey
544540
545-
# Huggingface Hub
546-
huggingface_hub-v0.22: huggingface_hub~=0.22.2
547-
huggingface_hub-latest: huggingface_hub
548-
549541
# Langchain
550542
langchain-v0.1: openai~=1.0.0
551543
langchain-v0.1: langchain~=0.1.11

tox.ini

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,6 @@ envlist =
165165
{py3.6,py3.11,py3.12}-huey-v{2.0}
166166
{py3.6,py3.12,py3.13}-huey-latest
167167

168-
# Huggingface Hub
169-
{py3.9,py3.12,py3.13}-huggingface_hub-{v0.22}
170-
{py3.9,py3.12,py3.13}-huggingface_hub-latest
171-
172168
# Langchain
173169
{py3.9,py3.11,py3.12}-langchain-v0.1
174170
{py3.9,py3.11,py3.12}-langchain-v0.3
@@ -305,6 +301,13 @@ envlist =
305301
# These come from the populate_tox.py script. Eventually we should move all
306302
# integration tests there.
307303

304+
# ~~~ AI ~~~
305+
{py3.8,py3.10,py3.11}-huggingface_hub-v0.22.2
306+
{py3.8,py3.10,py3.11}-huggingface_hub-v0.24.7
307+
{py3.8,py3.11,py3.12}-huggingface_hub-v0.26.5
308+
{py3.8,py3.12,py3.13}-huggingface_hub-v0.27.1
309+
310+
308311

309312
[testenv]
310313
deps =
@@ -532,10 +535,6 @@ deps =
532535
huey-v2.0: huey~=2.0.0
533536
huey-latest: huey
534537

535-
# Huggingface Hub
536-
huggingface_hub-v0.22: huggingface_hub~=0.22.2
537-
huggingface_hub-latest: huggingface_hub
538-
539538
# Langchain
540539
langchain-v0.1: openai~=1.0.0
541540
langchain-v0.1: langchain~=0.1.11
@@ -754,6 +753,13 @@ deps =
754753
# These come from the populate_tox.py script. Eventually we should move all
755754
# integration tests there.
756755

756+
# ~~~ AI ~~~
757+
huggingface_hub-v0.22.2: huggingface_hub==0.22.2
758+
huggingface_hub-v0.24.7: huggingface_hub==0.24.7
759+
huggingface_hub-v0.26.5: huggingface_hub==0.26.5
760+
huggingface_hub-v0.27.1: huggingface_hub==0.27.1
761+
762+
757763

758764
setenv =
759765
PYTHONDONTWRITEBYTECODE=1

0 commit comments

Comments
 (0)