Skip to content

Instantly share code, notes, and snippets.

@ivirshup
Last active January 16, 2024 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivirshup/7b06b5ff039c1ab26eea67510821b5ef to your computer and use it in GitHub Desktop.
Save ivirshup/7b06b5ff039c1ab26eea67510821b5ef to your computer and use it in GitHub Desktop.
Local script for testing minimum dependency versions
# 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