diff --git a/changelog.md b/changelog.md index 159b874..868e765 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,10 @@ Changelog ========= +Version 0.5.0rc2 +------------ +- For better compatibility with `scanpy`, lower bounds on dependencies have been relaxed. + Version 0.5.0rc1 ------------ This version improves compatibility with `scanpy`: diff --git a/poetry.lock b/poetry.lock index e60ecfa..95cee57 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.3.4 and should not be changed by hand. [[package]] name = "accessible-pygments" @@ -1937,14 +1937,14 @@ test = ["pytest", "pytest-cov", "scipy"] [[package]] name = "pdex" -version = "0.2.0" +version = "0.2.1" description = "Parallel differential expression for single-cell perturbation sequencing" optional = false python-versions = ">=3.11" groups = ["dev"] files = [ - {file = "pdex-0.2.0-py3-none-any.whl", hash = "sha256:10dc5e4e093a5c7bd5a63fa1d601f1cb6ddb2796b6d7d5f0e557b47e1d94439e"}, - {file = "pdex-0.2.0.tar.gz", hash = "sha256:711e89483f892d1f3008daaca01fdc15aa81b5f5438b3efb09e080ce4e0adb60"}, + {file = "pdex-0.2.1-py3-none-any.whl", hash = "sha256:f2c891288d30ef304ec1bf266577ef6ac3dc1e5ae122240b5f49ee9902514b8f"}, + {file = "pdex-0.2.1.tar.gz", hash = "sha256:fc6778ee71c5cbf871679a38a98980442433b6581ce114dec86d61145496504f"}, ] [package.dependencies] @@ -2113,18 +2113,18 @@ testing = ["coverage", "pytest", "pytest-benchmark"] [[package]] name = "polars" -version = "1.39.0" +version = "1.39.3" description = "Blazingly fast DataFrame library" optional = false python-versions = ">=3.10" groups = ["dev"] files = [ - {file = "polars-1.39.0-py3-none-any.whl", hash = "sha256:4d1198b41bc47561673d9f54d0f595125202a3f53e3502821802958d3e60efe9"}, - {file = "polars-1.39.0.tar.gz", hash = "sha256:e63a25fb7682ae660e36067915a7c71a653b17f82308a8eb67a190a80daf0710"}, + {file = "polars-1.39.3-py3-none-any.whl", hash = "sha256:c2b955ccc0a08a2bc9259785decf3d5c007b489b523bf2390cf21cec2bb82a56"}, + {file = "polars-1.39.3.tar.gz", hash = "sha256:2e016c7f3e8d14fa777ef86fe0477cec6c67023a20ba4c94d6e8431eefe4a63c"}, ] [package.dependencies] -polars-runtime-32 = "1.39.0" +polars-runtime-32 = "1.39.3" [package.extras] adbc = ["adbc-driver-manager[dbapi]", "adbc-driver-sqlite[dbapi]"] @@ -2147,8 +2147,8 @@ plot = ["altair (>=5.4.0)"] polars-cloud = ["polars_cloud (>=0.4.0)"] pyarrow = ["pyarrow (>=7.0.0)"] pydantic = ["pydantic"] -rt64 = ["polars-runtime-64 (==1.39.0)"] -rtcompat = ["polars-runtime-compat (==1.39.0)"] +rt64 = ["polars-runtime-64 (==1.39.3)"] +rtcompat = ["polars-runtime-compat (==1.39.3)"] sqlalchemy = ["polars[pandas]", "sqlalchemy"] style = ["great-tables (>=0.8.0)"] timezone = ["tzdata ; platform_system == \"Windows\""] @@ -2157,21 +2157,21 @@ xlsxwriter = ["xlsxwriter"] [[package]] name = "polars-runtime-32" -version = "1.39.0" +version = "1.39.3" description = "Blazingly fast DataFrame library" optional = false python-versions = ">=3.10" groups = ["dev"] files = [ - {file = "polars_runtime_32-1.39.0-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:4a4bc06ca97238d963979e3f888fbb500ee607f03cefe43a9062381e259503e2"}, - {file = "polars_runtime_32-1.39.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:e9914b9e168634bc21d07ee03b8fa92d0aaa8ac7b2bb1c9e2f1f78622aa1b8f4"}, - {file = "polars_runtime_32-1.39.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8ded58f1c28e17ecbff8625cb1ad93016761260348acb79b1a4cd077970e89e5"}, - {file = "polars_runtime_32-1.39.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b82c872b25ef6628462f90f1b6b3950779aee36889e83b3693d0a69684d3d86a"}, - {file = "polars_runtime_32-1.39.0-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:4a0e9d6b56362f3ba1a33d0538ae14c9b9a8e0fb835f86abfc82fa7b2c7d89c9"}, - {file = "polars_runtime_32-1.39.0-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:0daea3919661ba672b00bd01b5547cd29bb6414732457abb72cbc75103cf3c90"}, - {file = "polars_runtime_32-1.39.0-cp310-abi3-win_amd64.whl", hash = "sha256:d6e9d1cf264aacfe5bf03241c04ef435d0f9cfec3fbe079acc3a7328a737961a"}, - {file = "polars_runtime_32-1.39.0-cp310-abi3-win_arm64.whl", hash = "sha256:d69abde5f148566860bbe910010847bd7791e72f7c8063a4d2c462246a33a72a"}, - {file = "polars_runtime_32-1.39.0.tar.gz", hash = "sha256:f5aabed8c7318fcad5173e83bee385445f54b5f8c83b1ec9eab78bdffa293141"}, + {file = "polars_runtime_32-1.39.3-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:425c0b220b573fa097b4042edff73114cc6d23432a21dfd2dc41adf329d7d2e9"}, + {file = "polars_runtime_32-1.39.3-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:ef5884711e3c617d7dc93519a7d038e242f5741cfe5fe9afd32d58845d86c562"}, + {file = "polars_runtime_32-1.39.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:06b47f535eb1f97a9a1e5b0053ef50db3a4276e241178e37bbb1a38b1fa53b14"}, + {file = "polars_runtime_32-1.39.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8bc9e13dc1d2e828331f2fe8ccbc9757554dc4933a8d3e85e906b988178f95ed"}, + {file = "polars_runtime_32-1.39.3-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:363d49e3a3e638fc943e2b9887940300a7d06789930855a178a4727949259dc2"}, + {file = "polars_runtime_32-1.39.3-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:7c206bdcc7bc62ea038d6adea8e44b02f0e675e0191a54c810703b4895208ea4"}, + {file = "polars_runtime_32-1.39.3-cp310-abi3-win_amd64.whl", hash = "sha256:d66ca522517554a883446957539c40dc7b75eb0c2220357fb28bc8940d305339"}, + {file = "polars_runtime_32-1.39.3-cp310-abi3-win_arm64.whl", hash = "sha256:f49f51461de63f13e5dd4eb080421c8f23f856945f3f8bd5b2b1f59da52c2860"}, + {file = "polars_runtime_32-1.39.3.tar.gz", hash = "sha256:c728e4f469cafab501947585f36311b8fb222d3e934c6209e83791e0df20b29d"}, ] [[package]] @@ -3609,4 +3609,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = ">=3.11,<4.0" -content-hash = "5e509c80c9dbcc5d4253f92d6087ce3c2c5f9285e7a8847e2d2918cc772c6757" +content-hash = "b2a46ccb9e36637b766468fd67483cbf567bff3dabe37e9a70ba164d8a2c8713" diff --git a/pyproject.toml b/pyproject.toml index a2632c2..e9a0dd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "illico" -version = "0.5.0rc1" +version = "0.5.0rc2" description = "Fast asymptotic mannwhitney-u test" authors = [ {name = "remydubois",email = "remydubois14@gmail.com"} @@ -9,9 +9,9 @@ readme = "README.md" requires-python = ">=3.11,<4.0" dependencies = [ "anndata (>=0.11)", - "numba (>=0.63.1)", - "pandas (>=2.3.3,<3.0.0)", - "scipy (>=1.16.3,<2.0.0)", + "numba (>=0.60)", + "pandas (>=2.2.2)", + "scipy (>=1.13,<2.0.0)", "tqdm (>=4.67.1,<5.0.0)", "joblib (>=1.5.3,<2.0.0)", "loguru (>=0.7.3,<0.8.0)", diff --git a/tests/test_asymptotic_wilcoxon.py b/tests/test_asymptotic_wilcoxon.py index 92d3615..f09a4e1 100644 --- a/tests/test_asymptotic_wilcoxon.py +++ b/tests/test_asymptotic_wilcoxon.py @@ -13,7 +13,6 @@ import pytest import scanpy as sc from numba import set_num_threads -from pdex import pdex from scipy import sparse as py_sparse from scipy.stats import mannwhitneyu @@ -402,6 +401,7 @@ def run(): with warnings.catch_warnings(): warnings.simplefilter("ignore") if method == "pdex": + import pdex mode = "ref" if test == "ovo" else "all" pdex( data,