Skip to content

requirements.txt are not satisfiable #57

@yarikoptic

Description

@yarikoptic
(base) yoh@typhon:/data/aind/try-aind-1/code/aind-ephys-pipeline$ cat ./environment/requirements.txt
spikeinterface==0.103.0
pyvips==2.2.1
torch==2.6.0
pynwb==2.8.2
hdbscan==0.8.40
neuroconv==0.6.7
wavpack-numcodecs==0.2.2
hdmf-zarr==0.9.0
s3fs==2025.3.0
seaborn==0.13.2
aind-data-schema==1.3.0
aind-qcportal-schema==0.4.0
aind-metadata-upgrader==0.0.24
aind-nwb-utils==0.1.0(base) yoh@typhon:/data/aind/try-aind-1/code/aind-ephys-pipeline$ uv venv && uv pip install -r ./environment/requirements.txt
Using CPython 3.13.7 interpreter at: /tmp/dl-miniconda-ccd7fgbn/bin/python
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
Using Python 3.13.7 environment at: /tmp/dl-miniconda-ccd7fgbn
  × No solution found when resolving dependencies:
  ╰─▶ Because spikeinterface==0.103.0 depends on numpy>=2.0.0 and only the following versions of numpy are
      available:
          numpy<=2.0.0
          numpy==2.0.1
          numpy==2.0.2
          numpy==2.1.0
          numpy==2.1.1
          numpy==2.1.2
          numpy==2.1.3
          numpy==2.2.0
          numpy==2.2.1
          numpy==2.2.2
          numpy==2.2.3
          numpy==2.2.4
          numpy==2.2.5
          numpy==2.2.6
          numpy==2.3.0
          numpy==2.3.1
          numpy==2.3.2
          numpy==2.3.3
      we can conclude that spikeinterface==0.103.0 depends on numpy>=2.0.0.
      And because only the following versions of numpy are available:
          numpy<=1.26.0
          numpy==1.26.1
          numpy==1.26.2
          numpy==1.26.3
          numpy==1.26.4
          numpy>2.0.0
      and neuroconv==0.6.7 depends on numpy>=1.26.0,<2.0.0, we can conclude that neuroconv==0.6.7 and
      spikeinterface==0.103.0 are incompatible.
      And because you require spikeinterface==0.103.0 and neuroconv==0.6.7, we can conclude that your
      requirements are unsatisfiable.

we wanted them to generate sample data.

I think it would be useful to have CI run which performs validation that proposed environment remains legit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions