Skip to content

Commit

Permalink
delete requirements developer & unify
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanpepinartefact committed Nov 7, 2023
1 parent 754195d commit 14eaf69
Show file tree
Hide file tree
Showing 5 changed files with 273 additions and 16 deletions.
2 changes: 1 addition & 1 deletion bin/install_with_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ "$answer" = "y" ]; then
source $(conda info --base)/etc/profile.d/conda.sh
conda activate track-reid
echo "Installing requirements..."
pip install -r requirements-developer.txt
make install_project_requirements
python3 -m ipykernel install --user --name=track-reid
conda install -c conda-forge --name track-reid notebook -y
echo "Installing pre-commit..."
Expand Down
2 changes: 1 addition & 1 deletion bin/install_with_venv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ "$answer" = "y" ]; then

source $VENV_DIR/bin/activate
echo "Installing requirements..."
pip install -r requirements-developer.txt
make install_project_requirements
python3 -m ipykernel install --user --name=venv
echo "Installing pre-commit..."
make install_precommit
Expand Down
11 changes: 0 additions & 11 deletions requirements-developer.txt

This file was deleted.

17 changes: 17 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# dev
black==22.10.0
ruff==0.0.272
isort==5.12.0
pre-commit==3.3.3
pytest==7.3.2
mkdocs==1.4.3
mkdocs-material==9.1.15
mkdocstrings-python==1.1.2
bandit==1.7.5
nbstripout==0.6.1
ipykernel==6.24.0

# features

pandas==1.5.3
numpy==1.24.2
bytetracker==0.3.2
llist==0.7.1
pydantic==2.4.2
257 changes: 254 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,277 @@
#
# pip-compile requirements.in
#
annotated-types==0.6.0
# via pydantic
appnope==0.1.3
# via
# ipykernel
# ipython
asttokens==2.4.1
# via stack-data
attrs==23.1.0
# via
# jsonschema
# referencing
bandit==1.7.5
# via -r requirements.in
black==22.10.0
# via -r requirements.in
bytetracker==0.3.2
# via -r requirements.in
certifi==2023.7.22
# via requests
cfgv==3.4.0
# via pre-commit
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via
# black
# mkdocs
colorama==0.4.6
# via
# griffe
# mkdocs-material
comm==0.2.0
# via ipykernel
debugpy==1.8.0
# via ipykernel
decorator==5.1.1
# via ipython
distlib==0.3.7
# via virtualenv
exceptiongroup==1.1.3
# via
# ipython
# pytest
executing==2.0.1
# via stack-data
fastjsonschema==2.18.1
# via nbformat
filelock==3.13.1
# via virtualenv
ghp-import==2.1.0
# via mkdocs
gitdb==4.0.11
# via gitpython
gitpython==3.1.40
# via bandit
griffe==0.36.9
# via mkdocstrings-python
identify==2.5.31
# via pre-commit
idna==3.4
# via requests
iniconfig==2.0.0
# via pytest
ipykernel==6.24.0
# via -r requirements.in
ipython==8.17.2
# via ipykernel
isort==5.12.0
# via -r requirements.in
jedi==0.19.1
# via ipython
jinja2==3.1.2
# via
# mkdocs
# mkdocs-material
# mkdocstrings
jsonschema==4.19.2
# via nbformat
jsonschema-specifications==2023.7.1
# via jsonschema
jupyter-client==8.6.0
# via ipykernel
jupyter-core==5.5.0
# via
# ipykernel
# jupyter-client
# nbformat
lap==0.4.0
# via bytetracker
llist==0.7.1
# via -r requirements.in
markdown==3.3.7
# via
# mkdocs
# mkdocs-autorefs
# mkdocs-material
# mkdocstrings
# pymdown-extensions
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.3
# via
# jinja2
# mkdocstrings
matplotlib-inline==0.1.6
# via
# ipykernel
# ipython
mdurl==0.1.2
# via markdown-it-py
mergedeep==1.3.4
# via mkdocs
mkdocs==1.4.3
# via
# -r requirements.in
# mkdocs-autorefs
# mkdocs-material
# mkdocstrings
mkdocs-autorefs==0.5.0
# via mkdocstrings
mkdocs-material==9.1.15
# via -r requirements.in
mkdocs-material-extensions==1.3
# via mkdocs-material
mkdocstrings==0.23.0
# via mkdocstrings-python
mkdocstrings-python==1.1.2
# via -r requirements.in
mypy-extensions==1.0.0
# via black
nbformat==5.9.2
# via nbstripout
nbstripout==0.6.1
# via -r requirements.in
nest-asyncio==1.5.8
# via ipykernel
nodeenv==1.8.0
# via pre-commit
numpy==1.24.2
# via
# -r requirements.in
# pandas
# scipy
packaging==23.2
# via
# ipykernel
# mkdocs
# pytest
pandas==1.5.3
# via -r requirements.in
parso==0.8.3
# via jedi
pathspec==0.11.2
# via black
pbr==5.11.1
# via stevedore
pexpect==4.8.0
# via ipython
platformdirs==3.11.0
# via
# black
# jupyter-core
# virtualenv
pluggy==1.3.0
# via pytest
pre-commit==3.3.3
# via -r requirements.in
prompt-toolkit==3.0.39
# via ipython
psutil==5.9.6
# via ipykernel
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.2
# via stack-data
pydantic==2.4.2
# via -r requirements.in
pydantic-core==2.10.1
# via pydantic
pygments==2.16.1
# via
# ipython
# mkdocs-material
# rich
pymdown-extensions==10.3.1
# via
# mkdocs-material
# mkdocstrings
pytest==7.3.2
# via -r requirements.in
python-dateutil==2.8.2
# via pandas
# via
# ghp-import
# jupyter-client
# pandas
pytz==2023.3.post1
# via pandas
pyyaml==6.0.1
# via
# bandit
# mkdocs
# pre-commit
# pymdown-extensions
# pyyaml-env-tag
pyyaml-env-tag==0.1
# via mkdocs
pyzmq==25.1.1
# via
# ipykernel
# jupyter-client
referencing==0.30.2
# via
# jsonschema
# jsonschema-specifications
regex==2023.10.3
# via mkdocs-material
requests==2.31.0
# via mkdocs-material
rich==13.6.0
# via bandit
rpds-py==0.12.0
# via
# jsonschema
# referencing
ruff==0.0.272
# via -r requirements.in
scipy==1.9.3
# via bytetracker
six==1.16.0
# via python-dateutil
# via
# asttokens
# python-dateutil
smmap==5.0.1
# via gitdb
stack-data==0.6.3
# via ipython
stevedore==5.1.0
# via bandit
tomli==2.0.1
# via
# black
# pytest
torch==1.13.0
# via bytetracker
tornado==6.3.3
# via
# ipykernel
# jupyter-client
traitlets==5.13.0
# via
# comm
# ipykernel
# ipython
# jupyter-client
# jupyter-core
# matplotlib-inline
# nbformat
typing-extensions==4.8.0
# via torch
# via
# pydantic
# pydantic-core
# torch
urllib3==2.0.7
# via requests
virtualenv==20.24.6
# via pre-commit
watchdog==3.0.0
# via mkdocs
wcwidth==0.2.9
# via prompt-toolkit

# The following packages are considered to be unsafe in a requirements file:
# setuptools

0 comments on commit 14eaf69

Please sign in to comment.