-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from MannLabs/improve_requirements
Improve requirements
- Loading branch information
Showing
16 changed files
with
49 additions
and
41 deletions.
There are no files selected for viewing
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
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
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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,25 @@ | ||
#!/bin/bash | ||
### Install the package with a given type in a defined conda environment with a define python version, | ||
### and call it to check if it works | ||
### example usage: | ||
### ./pip_install.sh stable my_env 3.9 | ||
set -e -u | ||
|
||
INSTALL_TYPE=$1 # stable, loose, etc.. | ||
ENV_NAME=${2:-directlfq} | ||
PYTHON_VERSION=${3:-3.9} | ||
|
||
conda create -n $ENV_NAME python=$PYTHON_VERSION -y | ||
|
||
if [ "$INSTALL_TYPE" = "loose" ]; then | ||
INSTALL_STRING="" | ||
else | ||
INSTALL_STRING="[${INSTALL_TYPE}]" | ||
fi | ||
|
||
# print pip environment for reproducibility | ||
conda run -n $ENV_NAME --no-capture-output pip freeze | ||
|
||
# conda 'run' vs. 'activate', cf. https://stackoverflow.com/a/72395091 | ||
conda run -n $ENV_NAME --no-capture-output pip install -e "../.$INSTALL_STRING" | ||
conda run -n $ENV_NAME --no-capture-output directlfq |
This file was deleted.
Oops, something went wrong.
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
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,12 +1,9 @@ | ||
# Dependencies required for running the "stable" version of directlfq. | ||
# Only usage of fixed versions is allowed, and all dependencies listed here must also be | ||
# included in `requirements_loose.txt` (enforced by a test). | ||
Jinja2==3.1.2 | ||
numpy==1.23.5 | ||
pandas>=1.5.3 # test: tolerate_version | ||
dask>=2023.1.0 # test: tolerate_version | ||
pandas==2.2.3 | ||
dask==2024.8.0 | ||
numba==0.56.4 | ||
multiprocess==0.70.14 | ||
wget==3.2 | ||
PyYAML==6.0.2 | ||
pyarrow==17.0.0 |
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,20 +1,9 @@ | ||
# Dependencies helping for development | ||
jupyter | ||
jupyter_contrib_nbextensions | ||
pyinstaller | ||
autodocsumm | ||
sphinx-rtd-theme | ||
twine | ||
bump-my-version | ||
pipdeptree | ||
ipykernel | ||
tqdm | ||
psutil | ||
matplotlib_venn | ||
wget | ||
seaborn | ||
matplotlib | ||
nbdev>=2.3.9 | ||
notebook | ||
alphabase>=1.4.0 | ||
progressbar | ||
pytest | ||
notebook |
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,11 +1,8 @@ | ||
# Dependencies required for running the "loose" version of direclfq. | ||
# All dependencies that are also included in `requirements.txt` must be added also here (enforced by a test). | ||
Jinja2 | ||
numpy | ||
pandas | ||
dask | ||
numba | ||
multiprocess | ||
wget | ||
PyYAML | ||
pyarrow |
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,9 @@ | ||
# Dependencies required for running tests | ||
matplotlib_venn | ||
matplotlib | ||
wget | ||
seaborn | ||
nbdev>=2.3.9 | ||
alphabase>=1.4.0 | ||
progressbar | ||
pytest |