Skip to content

Commit 415710a

Browse files
committed
Release v1.4.4
Reorder dependencies so uv resolver picks compatible versions. uv resolves in listed order, so constrained packages (scanpy, mellon) must appear before flexible foundations (numpy, pandas) to avoid broken backtracking to ancient scanpy/numba/llvmlite. See: astral-sh/uv#5161
1 parent 8da61a4 commit 415710a

3 files changed

Lines changed: 16 additions & 9 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ ____
7373
Release Notes
7474
-------------
7575

76+
### Version 1.4.4
77+
* Fix: reorder dependencies to work around uv resolver order-dependence ([astral-sh/uv#5161](https://github.com/astral-sh/uv/issues/5161)), which caused `uv pip install palantir` to resolve to incompatible ancient versions of scanpy/numba/llvmlite
78+
7679
### Version 1.4.3
7780
* Avoid warning about coloring in `plot_trajectories`
7881
* Fix: forward `eigvec_key` to fallback method in `early_cell()`

pyproject.toml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "palantir"
7-
version = "1.4.3"
7+
version = "1.4.4"
88
description = "Palantir for modeling continuous cell state and cell fate choices in single cell data"
99
authors = [
1010
{name = "Palantir development team", email = "manu.talanki@gmail.com"}
@@ -27,18 +27,22 @@ classifiers = [
2727
"Topic :: Scientific/Engineering :: Visualization",
2828
]
2929
dependencies = [
30+
# Most constrained first — uv resolves in listed order, so packages
31+
# with tight transitive chains (numba/llvmlite, jax) must come before
32+
# flexible foundations (numpy, pandas) to avoid broken resolutions.
33+
# See: https://github.com/astral-sh/uv/issues/5161
34+
"scanpy>=1.6.0",
35+
"mellon>=1.6.1",
36+
"anndata>=0.8.0",
37+
"ml_dtypes>=0.5.0",
38+
"igraph>=0.11.8",
39+
"scikit-learn",
40+
"matplotlib>=3.8.0",
3041
"numpy>=1.14.2",
3142
"pandas>=0.22.0",
3243
"scipy>=1.3",
3344
"networkx>=2.1",
34-
"scikit-learn",
3545
"joblib",
36-
"matplotlib>=3.8.0",
37-
"anndata>=0.8.0",
38-
"scanpy>=1.6.0",
39-
"mellon>=1.6.1",
40-
"ml_dtypes>=0.5.0",
41-
"igraph>=0.11.8",
4246
]
4347

4448
[project.optional-dependencies]

src/palantir/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
__version__ = importlib.metadata.version("palantir")
77
except importlib.metadata.PackageNotFoundError:
88
# Package is not installed, fall back to hardcoded version
9-
__version__ = "1.4.3" # Should match pyproject.toml
9+
__version__ = "1.4.4" # Should match pyproject.toml
1010

1111
__author__ = "Palantir development team"
1212
__author_email__ = "manu.talanki@gmail.com"

0 commit comments

Comments
 (0)