Skip to content

2.9.1 release not compatible with pandas > 3 #3847

Description

@seohyonkim

Add a description

Hello! I noticed that the version 2.9.1 doesn't work with pandas > 3.

conda run -n lamin2.9-pd3-test pip install "lamindb==2.9.1" "pandas==3.0.5"
Defaulting to user installation because normal site-packages is not writeable
Collecting lamindb==2.9.1
  Using cached lamindb-2.9.1-py3-none-any.whl.metadata (19 kB)
Collecting pandas==3.0.5
  Downloading pandas-3.0.5-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.metadata (79 kB)
Collecting lamindb-core==2.9.1 (from lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Using cached lamindb_core-2.9.1-py3-none-any.whl.metadata (21 kB)
Requirement already satisfied: numpy>=1.26.0 in /usr/lib64/python3.13/site-packages (from pandas==3.0.5) (2.2.6)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/lib/python3.13/site-packages (from pandas==3.0.5) (2.8.2)
Collecting lamin_utils==0.16.4 (from lamindb-core==2.9.1->lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Using cached lamin_utils-0.16.4-py2.py3-none-any.whl.metadata (962 bytes)
Collecting lamin_cli==1.19.2 (from lamindb-core==2.9.1->lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Using cached lamin_cli-1.19.2-py2.py3-none-any.whl.metadata (803 bytes)
Collecting lamindb_setup==1.25.6 (from lamindb_setup[aws]==1.25.6->lamindb-core==2.9.1->lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Using cached lamindb_setup-1.25.6-py3-none-any.whl.metadata (1.9 kB)
Collecting psycopg2-binary (from lamindb-core==2.9.1->lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Using cached psycopg2_binary-2.9.12-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.metadata (4.9 kB)
Collecting bionty<3,>=2.3.1 (from lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Using cached bionty-2.4.3-py3-none-any.whl.metadata (1.7 kB)
Collecting pertdb<3,>=2.2.0 (from lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Using cached pertdb-2.2.0-py2.py3-none-any.whl.metadata (769 bytes)
Collecting jupytext (from lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Downloading jupytext-1.19.5-py3-none-any.whl.metadata (15 kB)
Collecting nbconvert>=7.2.1 (from lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Using cached nbconvert-7.17.1-py3-none-any.whl.metadata (8.4 kB)
Collecting nbproject==0.11.1 (from lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Using cached nbproject-0.11.1-py2.py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: pyarrow in /home/seokim/.local/lib/python3.13/site-packages (from lamindb-core[full]==2.9.1->lamindb==2.9.1) (24.0.0)
Collecting pandera>=0.24.0 (from lamindb-core[full]==2.9.1->lamindb==2.9.1)
  Downloading pandera-0.32.1-py3-none-any.whl.metadata (10 kB)
INFO: pip is looking at multiple versions of lamindb-core[full] to determine which version is compatible with other requirements. This could take a while.

The conflict is caused by:
    The user requested pandas==3.0.5
    lamindb-core[full] 2.9.1 depends on pandas<3.0.0 and >=2.0.0; extra == "full"

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: Cannot install lamindb-core[full]==2.9.1 and pandas==3.0.5 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
ERROR conda.cli.main_run:execute(148): `conda run pip install lamindb==2.9.1 pandas==3.0.5` failed. (See above for error)

The pin is at https://github.com/laminlabs/lamindb/blob/main/pyproject.toml#L42

Thank you for your package and the work!

Metadata

Metadata

Assignees

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