Last active
January 16, 2024 14:24
-
-
Save ivirshup/7b06b5ff039c1ab26eea67510821b5ef to your computer and use it in GitHub Desktop.
Local script for testing minimum dependency versions
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
# conda deactivate | |
mamba env remove -yn anndata-min-deps-test | |
mamba create -yn anndata-min-deps-test "python=3.9" | |
PACKAGES=`python3 ci/scripts/min-deps.py pyproject.toml --extra dev test` | |
# conda activate anndata-min-deps-test | |
# conda run -n anndata-min-deps-test pip install cupy-cuda12x | |
echo Installing $PACKAGES | |
conda run -n anndata-min-deps-test pip install $PACKAGES | |
conda run -n anndata-min-deps-test pip install pytest-xdist # cupy-cuda12x | |
conda run -n anndata-min-deps-test pip install -e . --no-deps | |
conda run -n anndata-min-deps-test pytest -n auto | |
conda list -n anndata-min-deps-tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment