diff --git a/.dev_scripts/dockerci.sh b/.dev_scripts/dockerci.sh index 934cfb3fd..9fd014c82 100644 --- a/.dev_scripts/dockerci.sh +++ b/.dev_scripts/dockerci.sh @@ -29,6 +29,7 @@ playwright install --with-deps chromium pip install fastapi pydantic uvicorn docker sqlmodel transformers ray pip install pymongo motor llama-index-storage-docstore-mongodb llama-index-storage-index-store-mongodb llama-index-readers-mongodb pip install tensorflow pyclipper shapely tf_slim +pip install moviepy # run ci pytest tests diff --git a/.github/workflows/citest.yaml b/.github/workflows/citest.yaml index 2493d0c47..e98f244c2 100644 --- a/.github/workflows/citest.yaml +++ b/.github/workflows/citest.yaml @@ -52,15 +52,18 @@ jobs: # path: ~/.cache/pip # key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} - - name: Set up Python 3.10.13 + - name: Set up Python 3.10.14 uses: actions/setup-python@v3 with: - python-version: "3.10.13" + python-version: "3.10.14" # Add a step to check if it's a fork and set an environment variable - name: Check if PR is from a fork run: echo "IS_FORKED_PR=${{ github.event.pull_request.head.repo.fork }}" >> $GITHUB_ENV + - name: Update pip + run: pip install --upgrade pip + - name: Install dependencies if: steps.cache.outputs.cache-hit != 'true' run: pip install -r requirements.txt diff --git a/apps/agentfabric/requirements.txt b/apps/agentfabric/requirements.txt index b5d571d27..51731629b 100644 --- a/apps/agentfabric/requirements.txt +++ b/apps/agentfabric/requirements.txt @@ -3,6 +3,7 @@ markdown-cjk-spacing mdx_truly_sane_lists modelscope-agent>=0.6.6 modelscope_studio>=0.4.0 +moviepy pymdown-extensions python-slugify unstructured diff --git a/requirements.txt b/requirements.txt index b916b61a4..802f1b5fb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,6 @@ llama-index llama-index-readers-json llama-index-retrievers-bm25==0.1.5 modelscope[framework]>=1.16.0 -moviepy nbformat openai opencv-python