Installation

Conda-mamba environment

Use a Miniconda/Miniforge3 installer to create an environment using our conda environment.yml file; download the latest Miniconda3 for Linux installer from the Miniconda project, install it, then create and activate the PyActiveStorage environment:

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
(base) conda env create -n activestorage -f environment.yml
(base) conda activate activestorage

Note

Our dependencies are all from conda-forge so there is no issue related to the buggy (and paid-for) Anaconda main/defaults channel!

Installing PyActiveStorage

The installation then can proceed: installing with pip and installing all (ie installing the development and test install):

pip install -e .

After installing, you can run tests via pytest -n 2.

Supported Python versions

We adhere to SPEC0 and support the following Python versions:

  • 3.10

  • 3.11

  • 3.12

  • 3.13

Note

PyActiveStorage is fully compatible with numpy >=2.0.0.