mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 16:59:04 +08:00
python 3.12 support (#3652)
This commit is contained in:
parent
71cc0074ef
commit
aadebd6d23
7
.github/workflows/api-tests.yml
vendored
7
.github/workflows/api-tests.yml
vendored
@ -8,6 +8,9 @@ on:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10", "3.11", "3.12"]
|
||||
|
||||
env:
|
||||
OPENAI_API_KEY: sk-IamNotARealKeyJustForMockTestKawaiiiiiiiiii
|
||||
@ -37,10 +40,10 @@ jobs:
|
||||
with:
|
||||
packages: ffmpeg
|
||||
|
||||
- name: Set up Python
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
cache-dependency-path: |
|
||||
./api/requirements.txt
|
||||
|
@ -52,14 +52,14 @@ transformers~=4.35.0
|
||||
tokenizers~=0.15.0
|
||||
pandas==1.5.3
|
||||
xinference-client==0.9.4
|
||||
safetensors==0.3.2
|
||||
safetensors~=0.4.3
|
||||
zhipuai==1.0.7
|
||||
werkzeug~=3.0.1
|
||||
pymilvus==2.3.0
|
||||
pymilvus~=2.3.0
|
||||
qdrant-client==1.7.3
|
||||
cohere~=5.2.4
|
||||
pyyaml~=6.0.1
|
||||
numpy~=1.25.2
|
||||
numpy~=1.26.4
|
||||
unstructured[docx,pptx,msg,md,ppt,epub]~=0.10.27
|
||||
bs4~=0.0.1
|
||||
markdown~=3.5.1
|
||||
@ -67,7 +67,7 @@ httpx[socks]~=0.24.1
|
||||
matplotlib~=3.8.2
|
||||
yfinance~=0.2.35
|
||||
pydub~=0.25.1
|
||||
gmpy2~=2.1.5
|
||||
gmpy2~=2.2.0a1
|
||||
numexpr~=2.9.0
|
||||
duckduckgo-search==5.2.2
|
||||
arxiv==2.1.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user