Skip to content

Commit

Permalink
Update dependencies (#2)
Browse files Browse the repository at this point in the history
* Updating python to 3.11

* Adding setup.cfg

* New setup

* Updated libraries, removing pinned

* Updating the versions to ones generated by 3.9 pip-compile

* Removing pyproject, switching to setup to support older python

* Removing version from setup

* Fixing formatting

* Downgrading flask

* Returning to previous version

* WIP: Restoring the versions to ones generated by pip-compile

* Updating the versions to latest

* WIP: trying to free up the space

* Deleting unnecessary folder

* Not deleting tools directories during tests
  • Loading branch information
Filienko authored Aug 23, 2024
1 parent e3b2ca7 commit a1efa6b
Show file tree
Hide file tree
Showing 7 changed files with 393 additions and 41 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-deliver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
# needs: [test]
runs-on: ubuntu-latest
steps:
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache

- name: Checkout git commit
uses: actions/checkout@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: [push]
jobs:
test:
runs-on: ubuntu-latest
container: python:3.9
container: python:3.11

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.11

WORKDIR /opt/app

Expand Down
197 changes: 178 additions & 19 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,181 @@
#
# This file is autogenerated by pip-compile
# To update, run:
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile
# pip-compile --extra=dev --output-file=requirements.dev.txt setup.cfg
#
--requirement requirements.txt
attrs==21.2.0 # via pytest
importlib-metadata==4.8.1 # via pluggy, pytest
iniconfig==1.1.1 # via pytest
packaging==21.0 # via pytest
pluggy==1.0.0 # via pytest
psutil==5.8.0 # via mirakuru
py==1.10.0 # via pytest
pyparsing==2.4.7 # via packaging
pytest-datadir==1.3.1 # via pytest-datadir
pytest-mock==3.6.1 # via ml_services (setup.py)
pytest==6.2.5 # via pytest-mock, pytest-redis, ml_services (setup.py)
requests-mock==1.9.3 # via ml_services (setup.py)
toml==0.10.2 # via pytest
typing-extensions==3.10.0.2 # via importlib-metadata
zipp==3.5.0 # via importlib-metadata
attrs==24.2.0
# via
# cattrs
# requests-cache
blinker==1.8.2
# via flask
cattrs==23.2.3
# via requests-cache
certifi==2024.7.4
# via requests
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via flask
exceptiongroup==1.2.2
# via
# cattrs
# pytest
filelock==3.15.4
# via
# huggingface-hub
# torch
# transformers
# triton
flask==3.0.3
# via ml_services (setup.cfg)
fsspec==2024.6.1
# via
# huggingface-hub
# torch
gunicorn==23.0.0
# via ml_services (setup.cfg)
huggingface-hub==0.24.6
# via
# tokenizers
# transformers
idna==3.7
# via requests
importlib-metadata==8.4.0
# via flask
iniconfig==2.0.0
# via pytest
itsdangerous==2.2.0
# via flask
jinja2==3.1.4
# via
# flask
# torch
markupsafe==2.1.5
# via
# jinja2
# werkzeug
mpmath==1.3.0
# via sympy
networkx==3.2.1
# via torch
numpy==2.0.1
# via
# ml_services (setup.cfg)
# pandas
# scipy
# transformers
nvidia-cublas-cu12==12.1.3.1
# via
# nvidia-cudnn-cu12
# nvidia-cusolver-cu12
# torch
nvidia-cuda-cupti-cu12==12.1.105
# via torch
nvidia-cuda-nvrtc-cu12==12.1.105
# via torch
nvidia-cuda-runtime-cu12==12.1.105
# via torch
nvidia-cudnn-cu12==9.1.0.70
# via torch
nvidia-cufft-cu12==11.0.2.54
# via torch
nvidia-curand-cu12==10.3.2.106
# via torch
nvidia-cusolver-cu12==11.4.5.107
# via torch
nvidia-cusparse-cu12==12.1.0.106
# via
# nvidia-cusolver-cu12
# torch
nvidia-nccl-cu12==2.20.5
# via torch
nvidia-nvjitlink-cu12==12.6.20
# via
# nvidia-cusolver-cu12
# nvidia-cusparse-cu12
nvidia-nvtx-cu12==12.1.105
# via torch
packaging==24.1
# via
# gunicorn
# huggingface-hub
# pytest
# transformers
pandas==2.2.2
# via ml_services (setup.cfg)
platformdirs==4.2.2
# via requests-cache
pluggy==1.5.0
# via pytest
pytest==8.3.2
# via
# ml_services (setup.cfg)
# pytest-datadir
# pytest-mock
pytest-datadir==1.5.0
# via ml_services (setup.cfg)
pytest-mock==3.14.0
# via ml_services (setup.cfg)
python-dateutil==2.9.0.post0
# via pandas
pytz==2024.1
# via pandas
pyyaml==6.0.2
# via
# huggingface-hub
# transformers
regex==2024.7.24
# via transformers
requests==2.32.3
# via
# huggingface-hub
# requests-cache
# requests-mock
# transformers
requests-cache==1.2.1
# via ml_services (setup.cfg)
requests-mock==1.12.1
# via ml_services (setup.cfg)
safetensors==0.4.4
# via transformers
scipy==1.13.1
# via ml_services (setup.cfg)
six==1.16.0
# via
# python-dateutil
# url-normalize
sympy==1.13.2
# via torch
tokenizers==0.19.1
# via transformers
tomli==2.0.1
# via pytest
torch==2.4.0
# via ml_services (setup.cfg)
tqdm==4.66.5
# via
# huggingface-hub
# transformers
transformers==4.44.1
# via ml_services (setup.cfg)
triton==3.0.0
# via torch
typing-extensions==4.12.2
# via
# cattrs
# huggingface-hub
# torch
tzdata==2024.1
# via pandas
url-normalize==1.4.3
# via requests-cache
urllib3==2.2.2
# via
# requests
# requests-cache
werkzeug==3.0.3
# via flask
zipp==3.20.0
# via importlib-metadata
Loading

0 comments on commit a1efa6b

Please sign in to comment.