-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
75 additions
and
69 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
.github/workflows/generate_requirements_for_clever_cloud.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Generate requirements.txt for clever branches | ||
|
||
on: | ||
push: | ||
branches: | ||
- run-clever | ||
- dev-clever | ||
pull_request: | ||
branches: | ||
- run-clever | ||
- dev-clever | ||
|
||
jobs: | ||
export-requirements: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' # Choose your Python version | ||
|
||
- name: Install Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
- name: Configure Poetry (no virtualenv) | ||
run: poetry config virtualenvs.create false | ||
|
||
- name: Install dependencies | ||
run: poetry install | ||
|
||
|
||
- name: Export requirements.txt | ||
run: | | ||
poetry export --without-hashes --format=requirements.txt > requirements.txt | ||
- run: | | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
- run: git add requirements.txt | ||
- run: git commit --m 'generate requirements.txt from poetry' || exit 0 | ||
- run: git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,28 @@ | ||
aiofile==3.8.8 ; python_version >= "3.9" and python_version < "4" | ||
annotated-types==0.7.0 ; python_version >= "3.9" and python_version < "4.0" | ||
anyio==4.3.0 ; python_version >= "3.9" and python_version < "4.0" | ||
caio==0.9.13 ; python_version >= "3.9" and python_version < "4" | ||
click==8.1.7 ; python_version >= "3.9" and python_version < "4.0" | ||
colorama==0.4.6 ; python_version >= "3.9" and python_version < "4.0" and platform_system == "Windows" | ||
exceptiongroup==1.2.0 ; python_version >= "3.9" and python_version < "3.11" | ||
fastapi==0.115.0 ; python_version >= "3.9" and python_version < "4.0" | ||
h11==0.14.0 ; python_version >= "3.9" and python_version < "4.0" | ||
idna==3.7 ; python_version >= "3.9" and python_version < "4.0" | ||
importlib-metadata==6.11.0 ; python_version >= "3.9" and python_version < "4.0" | ||
mangum==0.17.0 ; python_version >= "3.9" and python_version < "4.0" | ||
markdown==3.5.2 ; python_version >= "3.9" and python_version < "4.0" | ||
numpy==1.26.4 ; python_version >= "3.9" and python_version < "4.0" | ||
pandas==2.2.1 ; python_version >= "3.9" and python_version < "4.0" | ||
pydantic-core==2.23.4 ; python_version >= "3.9" and python_version < "4.0" | ||
pydantic==2.9.2 ; python_version >= "3.9" and python_version < "4.0" | ||
python-dateutil==2.9.0.post0 ; python_version >= "3.9" and python_version < "4.0" | ||
pytz==2024.1 ; python_version >= "3.9" and python_version < "4.0" | ||
pyyaml==6.0.1 ; python_version >= "3.9" and python_version < "4.0" | ||
rapidfuzz==3.6.2 ; python_version >= "3.9" and python_version < "4.0" | ||
scipy==1.12.0 ; python_version >= "3.9" and python_version < "4.0" | ||
six==1.16.0 ; python_version >= "3.9" and python_version < "4.0" | ||
sniffio==1.3.1 ; python_version >= "3.9" and python_version < "4.0" | ||
starlette==0.38.5 ; python_version >= "3.9" and python_version < "4.0" | ||
toml==0.10.2 ; python_version >= "3.9" and python_version < "4.0" | ||
typing-extensions==4.12.2 ; python_version >= "3.9" and python_version < "4.0" | ||
tzdata==2024.1 ; python_version >= "3.9" and python_version < "4.0" | ||
uvicorn==0.22.0 ; python_version >= "3.9" and python_version < "4.0" | ||
zipp==3.19.1 ; python_version >= "3.9" and python_version < "4.0" | ||
aiofile==3.8.7 ; python_version >= "3.8" and python_version < "4" | ||
anyio==3.7.0 ; python_version >= "3.8" and python_version < "4.0" | ||
caio==0.9.12 ; python_version >= "3.8" and python_version < "4" | ||
click==8.1.3 ; python_version >= "3.8" and python_version < "4.0" | ||
colorama==0.4.6 ; python_version >= "3.8" and python_version < "4.0" and platform_system == "Windows" | ||
exceptiongroup==1.1.1 ; python_version >= "3.8" and python_version < "3.11" | ||
fastapi==0.95.2 ; python_version >= "3.8" and python_version < "4.0" | ||
h11==0.14.0 ; python_version >= "3.8" and python_version < "4.0" | ||
idna==3.4 ; python_version >= "3.8" and python_version < "4.0" | ||
importlib-metadata==6.6.0 ; python_version >= "3.8" and python_version < "4.0" | ||
mangum==0.17.0 ; python_version >= "3.8" and python_version < "4.0" | ||
markdown==3.4.3 ; python_version >= "3.8" and python_version < "4.0" | ||
numpy==1.24.3 ; python_version >= "3.8" and python_version < "4.0" | ||
pandas==2.0.2 ; python_version >= "3.8" and python_version < "4.0" | ||
pydantic==1.10.9 ; python_version >= "3.8" and python_version < "4.0" | ||
python-dateutil==2.8.2 ; python_version >= "3.8" and python_version < "4.0" | ||
pytz==2023.3 ; python_version >= "3.8" and python_version < "4.0" | ||
pyyaml==6.0 ; python_version >= "3.8" and python_version < "4.0" | ||
rapidfuzz==3.1.1 ; python_version >= "3.8" and python_version < "4.0" | ||
scipy==1.9.3 ; python_version >= "3.8" and python_version < "4.0" | ||
six==1.16.0 ; python_version >= "3.8" and python_version < "4.0" | ||
sniffio==1.3.0 ; python_version >= "3.8" and python_version < "4.0" | ||
starlette==0.27.0 ; python_version >= "3.8" and python_version < "4.0" | ||
toml==0.10.2 ; python_version >= "3.8" and python_version < "4.0" | ||
typing-extensions==4.6.3 ; python_version >= "3.8" and python_version < "4.0" | ||
tzdata==2023.3 ; python_version >= "3.8" and python_version < "4.0" | ||
uvicorn==0.22.0 ; python_version >= "3.8" and python_version < "4.0" | ||
zipp==3.15.0 ; python_version >= "3.8" and python_version < "4.0" |