Skip to content

Commit

Permalink
depen: update dependency files;
Browse files Browse the repository at this point in the history
  • Loading branch information
WenjieDu committed Jul 28, 2024
1 parent 71f861d commit bf6fcc5
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 39 deletions.
40 changes: 40 additions & 0 deletions requirements/conda_dev_env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: pypots-dev

channels:
- conda-forge
- pytorch
- pyg
- nodefaults

dependencies:
## Below we install the latest pypots because we need pypots-cli in it for development.
- conda-forge::pypots >=0.7.1

# optional
- pyg::pyg
- pyg::pytorch-sparse
- pyg::pytorch-scatter

# test
- conda-forge::pytest-cov
- conda-forge::pytest-xdist

# doc
- conda-forge::furo
- conda-forge::sphinx
- conda-forge::docutils
- conda-forge::sphinxcontrib-bibtex
- conda-forge::sphinx-autodoc-typehints

# dev
- conda-forge::black
- conda-forge::flake8
- conda-forge::flake8-pyproject
- conda-forge::pre-commit
- conda-forge::jupyterlab

- pip:
# building
- build
# doc
- sphinxcontrib-gtagjs
40 changes: 4 additions & 36 deletions requirements/conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ name: pypots
channels:
- conda-forge
- pytorch
- pyg
- nodefaults

dependencies:
# basic
- conda-forge::python >=3.8
- conda-forge::pip
- conda-forge::h5py
- conda-forge::numpy
- conda-forge::numpy <2.0
- conda-forge::scipy
- conda-forge::sympy
- conda-forge::einops
Expand All @@ -20,38 +19,7 @@ dependencies:
- conda-forge::matplotlib
- conda-forge::tensorboard
- conda-forge::scikit-learn
- conda-forge::pygrinder >=0.6
- conda-forge::tsdb >=0.6
- conda-forge::benchpots >=0.2
- conda-forge::pygrinder >=0.6.2
- conda-forge::tsdb >=0.6.1
- conda-forge::benchpots >=0.2.1
- pytorch::pytorch >=1.10.0
## Below we install the latest pypots because we need pypots-cli in it for development.
- conda-forge::pypots

# optional
- pyg::pyg
- pyg::pytorch-sparse
- pyg::pytorch-scatter

# test
- conda-forge::pytest-cov
- conda-forge::pytest-xdist

# doc
- conda-forge::furo
- conda-forge::sphinx
- conda-forge::docutils
- conda-forge::sphinxcontrib-bibtex
- conda-forge::sphinx-autodoc-typehints

# dev
- conda-forge::black
- conda-forge::flake8
- conda-forge::flake8-pyproject
- conda-forge::pre-commit
- conda-forge::jupyterlab

- pip:
# building
- build
# doc
- sphinxcontrib-gtagjs
6 changes: 3 additions & 3 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ matplotlib
tensorboard
scikit-learn
torch>=1.10.0
tsdb>=0.6
pygrinder>=0.6
benchpots>=0.2
tsdb>=0.6.1
pygrinder>=0.6.2
benchpots>=0.2.1
1 change: 1 addition & 0 deletions requirements/requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pypots
build
torch-sparse
torch-scatter
Expand Down

0 comments on commit bf6fcc5

Please sign in to comment.