Skip to content

Commit

Permalink
Switch to using uv pip for installations
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerYep committed Sep 29, 2024
1 parent c27bdd7 commit e7ab433
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install mypy pytest pytest-cov pytest-idempotent
pip install -r requirements.txt
python -m pip install --upgrade uv
uv pip install --system mypy pytest pytest-cov pytest-idempotent
uv pip install --system -r requirements.txt
- name: mypy
run: |
mypy --install-types --non-interactive .
Expand Down
41 changes: 21 additions & 20 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,54 +1,55 @@
# Setup requirements
pip==24.1.2
setuptools==71.0.3
wheel==0.43.0
pip==24.2
setuptools==75.1.0
wheel==0.44.0

# Prod requirements
arrow==1.3.0
bitarray==2.9.2
django==5.0.7
django==5.1.1
efficientnet_pytorch==0.7.1; python_version < "3.11"
freezegun==1.5.1
get-mnist==1.0.1
gitpython==3.1.43
graphviz==0.20.3
matplotlib==3.9.1
matplotlib==3.9.2
networkx==3.3
numpy==2.0.0
pandas==2.2.2
numpy==2.1.1
pandas==2.2.3
prettyprinter==0.18.0
scipy==1.14.0; python_version < "3.11"
tensorboard==2.17.0; python_version < "3.11"
scipy==1.14.1; python_version < "3.11"
tensorboard==2.18.0; python_version < "3.11"
tensorflow==2.16.2; python_version < "3.11"
torch==2.2.2; python_version < "3.11"
torchinfo==1.8.0; python_version < "3.11"
torchvision==0.17.2; python_version < "3.11"
tqdm==4.66.4
tqdm==4.66.5

# Dev requirements
black==24.4.2
black==24.8.0
blacken-docs==1.18.0
codecov==2.1.13
django-stubs==5.0.2
flake8==7.1.0
flake8-bugbear==24.4.26
django-stubs==5.1.0
flake8==7.1.1
flake8-bugbear==24.8.19
flake8-builtins==2.5.0
flake8-comprehensions==3.15.0
flake8-function-order==0.0.5
flake8-future-annotations==1.1.0
mypy==1.10.1
pre-commit==3.7.1
mypy==1.11.2
pre-commit==3.8.0
pur==7.3.2
pytest==8.2.2
pytest==8.3.3
pytest-cov==5.0.0
pytest-deadfixtures==2.2.1
pytest-idempotent==1.3.1
pytest-timeout==2.3.1
pyupgrade==3.16.0
ruff==0.5.3
scalene==1.5.42.2
pyupgrade==3.17.0
ruff==0.6.8
scalene==1.5.44.1
sort-requirements==1.3.0
twine==5.1.1
uv==0.4.17
vermin==1.6.0
virtualenvwrapper==6.1.0
wget==3.2

0 comments on commit e7ab433

Please sign in to comment.