Skip to content

Commit

Permalink
Move to requirements.txt from pip chill
Browse files Browse the repository at this point in the history
- environment.yml == conda. **Keep this light.** Python version, and pip version only. Rest via pip.
- Requirements.txt == everything else

I link env.yml to reqs.txt to prevent duplication

All the pip dependencies.

Use `pip install pip-chill` then `pip-chill --no-chill > requirements.txt` to get top ones, remove sub-dependencies, which are sometimes platform specific. Pip freeze sucks

`conda env create --file environment.yml`

Manually create, don’t want automatic dependencies as they aren’t cross platform.
  • Loading branch information
scosman committed Aug 6, 2024
1 parent d8ca21b commit 5c4cf8e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 87 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.12
cache: 'pip'
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
Expand Down
49 changes: 1 addition & 48 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,5 @@ dependencies:
- pip=24.0
- python=3.12.4
- pip:
- altgraph==0.17.4
- annotated-types==0.7.0
- anyio==4.4.0
- astroid==3.2.4
- click==8.1.7
- dill==0.3.8
- dnspython==2.6.1
- email-validator==2.2.0
- fastapi==0.111.1
- fastapi-cli==0.0.4
- h11==0.14.0
- httpcore==1.0.5
- httptools==0.6.1
- httpx==0.27.0
- idna==3.7
- isort==5.13.2
- jinja2==3.1.4
- macholib==1.16.3
- markdown-it-py==3.0.0
- markupsafe==2.1.5
- mccabe==0.7.0
- mdurl==0.1.2
- mypy-extensions==1.0.0
- packaging==24.1
- pathspec==0.12.1
- pillow==10.4.0
- pycodestyle==2.12.1
- pydantic==2.8.2
- pydantic-core==2.20.1
- pygments==2.18.0
- pyinstaller==6.9.0
- pyinstaller-hooks-contrib==2024.7
- pystray==0.19.5
- python-dotenv==1.0.1
- python-multipart==0.0.9
- pyyaml==6.0.1
- rich==13.7.1
- ruff==0.5.6
- shellingham==1.5.4
- six==1.16.0
- sniffio==1.3.1
- starlette==0.37.2
- tomlkit==0.13.0
- typer==0.12.3
- typing-extensions==4.12.2
- uvicorn==0.30.3
- watchfiles==0.22.0
- websockets==12.0
- -r requirements.txt
prefix: /opt/anaconda3/envs/fune
47 changes: 8 additions & 39 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,56 +1,25 @@
altgraph==0.17.4
annotated-types==0.7.0
anyio==4.4.0
astroid==3.2.4
certifi==2024.7.4
click==8.1.7
backports.tarfile==1.2.0
dill==0.3.8
distlib==0.3.8
dnspython==2.6.1
email_validator==2.2.0
fastapi==0.111.1
fastapi-cli==0.0.4
filelock==3.15.4
h11==0.14.0
httpcore==1.0.5
httptools==0.6.1
httpx==0.27.0
idna==3.7
importlib-metadata==8.0.0
importlib-resources==6.4.0
isort==5.13.2
Jinja2==3.1.4
macholib==1.16.3
markdown-it-py==3.0.0
MarkupSafe==2.1.5
jaraco.text==3.12.1
mccabe==0.7.0
mdurl==0.1.2
mypy-extensions==1.0.0
packaging==24.1
ordered-set==4.1.0
pathspec==0.12.1
pillow==10.4.0
pipenv==2024.0.1
platformdirs==4.2.2
pycodestyle==2.12.1
pydantic==2.8.2
pydantic_core==2.20.1
Pygments==2.18.0
pyinstaller==6.9.0
pyinstaller-hooks-contrib==2024.7
pystray==0.19.5
python-dotenv==1.0.1
python-multipart==0.0.9
PyYAML==6.0.1
rich==13.7.1
pyyaml==6.0.1
ruff==0.5.6
setuptools==72.1.0
shellingham==1.5.4
six==1.16.0
sniffio==1.3.1
starlette==0.37.2
tomli==2.0.1
tomlkit==0.13.0
typer==0.12.3
typing_extensions==4.12.2
uvicorn==0.30.3
virtualenv==20.26.3
uvloop==0.19.0
watchfiles==0.22.0
websockets==12.0
wheel==0.43.0

0 comments on commit 5c4cf8e

Please sign in to comment.