Skip to content

[pre-commit.ci] pre-commit autoupdate #3630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 28, 2025
Merged

Conversation

pre-commit-ci[bot]
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented May 12, 2025

Copy link

codecov bot commented May 12, 2025

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
2136 3 2133 96
View the top 3 failed test(s) by shortest run time
tests/test_preprocessing.py::test_regress_out_constants
Stack Traces | 0.033s run time
#x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_regress_out_constants#x1B[39;49;00m():#x1B[90m#x1B[39;49;00m
        adata = AnnData(np.hstack((np.full((#x1B[94m10#x1B[39;49;00m, #x1B[94m1#x1B[39;49;00m), #x1B[94m0.0#x1B[39;49;00m), np.full((#x1B[94m10#x1B[39;49;00m, #x1B[94m1#x1B[39;49;00m), #x1B[94m1.0#x1B[39;49;00m))))#x1B[90m#x1B[39;49;00m
        adata.obs[#x1B[33m"#x1B[39;49;00m#x1B[33mpercent_mito#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m] = np.random.rand(adata.X.shape[#x1B[94m0#x1B[39;49;00m])#x1B[90m#x1B[39;49;00m
        adata.obs[#x1B[33m"#x1B[39;49;00m#x1B[33mn_counts#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m] = adata.X.sum(axis=#x1B[94m1#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
        adata_copy = adata.copy()#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
>       sc.pp.regress_out(adata, keys=[#x1B[33m"#x1B[39;49;00m#x1B[33mn_counts#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, #x1B[33m"#x1B[39;49;00m#x1B[33mpercent_mito#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m])#x1B[90m#x1B[39;49;00m

#x1B[1m#x1B[31mtests/test_preprocessing.py#x1B[0m:416: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../site-packages/legacy_api_wrap/__init__.py#x1B[0m:82: in fn_compatible
    #x1B[0m#x1B[94mreturn#x1B[39;49;00m fn(*args_all, **kw)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../scanpy/preprocessing/_simple.py#x1B[0m:774: in regress_out
    #x1B[0mres = Parallel(n_jobs=n_jobs)(#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13....../site-packages/joblib/parallel.py#x1B[0m:1986: in __call__
    #x1B[0m#x1B[94mreturn#x1B[39;49;00m output #x1B[94mif#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m.return_generator #x1B[94melse#x1B[39;49;00m #x1B[96mlist#x1B[39;49;00m(output)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13....../site-packages/joblib/parallel.py#x1B[0m:1914: in _get_sequential_output
    #x1B[0mres = func(*args, **kwargs)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../scanpy/preprocessing/_simple.py#x1B[0m:796: in _regress_out_chunk
    #x1B[0m#x1B[94mimport#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mstatsmodels#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96mapi#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mas#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96msm#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../site-packages/statsmodels/api.py#x1B[0m:76: in <module>
    #x1B[0m#x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m datasets, distributions, iolib, regression, robust, tools#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../statsmodels/distributions/__init__.py#x1B[0m:7: in <module>
    #x1B[0m#x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96mdiscrete#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m (#x1B[90m#x1B[39;49;00m
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    #x1B[0m#x1B[94mimport#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mnumpy#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mas#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mnp#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
    #x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mscipy#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96mstats#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m rv_discrete, poisson, nbinom#x1B[90m#x1B[39;49;00m
    #x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mscipy#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96mspecial#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m gammaln#x1B[90m#x1B[39;49;00m
>   #x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mscipy#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96m_lib#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96m_util#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m _lazywhere#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE   ImportError: cannot import name '_lazywhere' from 'scipy._lib._util' (.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../scipy/_lib/_util.py)#x1B[0m

#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../statsmodels/distributions/discrete.py#x1B[0m:5: ImportError
tests/test_preprocessing.py::test_regress_out_constants_equivalent
Stack Traces | 0.084s run time
#x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_regress_out_constants_equivalent#x1B[39;49;00m():#x1B[90m#x1B[39;49;00m
        #x1B[90m# Tests that constant values don't change results#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[90m# (since support for constant values is implemented by us)#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96msklearn#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96mdatasets#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m make_blobs#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        X, cat = make_blobs(#x1B[94m100#x1B[39;49;00m, #x1B[94m20#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
        a = sc.AnnData(np.hstack([X, np.zeros((#x1B[94m100#x1B[39;49;00m, #x1B[94m5#x1B[39;49;00m))]), obs={#x1B[33m"#x1B[39;49;00m#x1B[33mcat#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m: pd.Categorical(cat)})#x1B[90m#x1B[39;49;00m
        b = sc.AnnData(X, obs={#x1B[33m"#x1B[39;49;00m#x1B[33mcat#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m: pd.Categorical(cat)})#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
>       sc.pp.regress_out(a, #x1B[33m"#x1B[39;49;00m#x1B[33mcat#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m

#x1B[1m#x1B[31mtests/test_preprocessing.py#x1B[0m:439: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../site-packages/legacy_api_wrap/__init__.py#x1B[0m:82: in fn_compatible
    #x1B[0m#x1B[94mreturn#x1B[39;49;00m fn(*args_all, **kw)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../scanpy/preprocessing/_simple.py#x1B[0m:774: in regress_out
    #x1B[0mres = Parallel(n_jobs=n_jobs)(#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13....../site-packages/joblib/parallel.py#x1B[0m:1986: in __call__
    #x1B[0m#x1B[94mreturn#x1B[39;49;00m output #x1B[94mif#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m.return_generator #x1B[94melse#x1B[39;49;00m #x1B[96mlist#x1B[39;49;00m(output)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13....../site-packages/joblib/parallel.py#x1B[0m:1914: in _get_sequential_output
    #x1B[0mres = func(*args, **kwargs)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../scanpy/preprocessing/_simple.py#x1B[0m:796: in _regress_out_chunk
    #x1B[0m#x1B[94mimport#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mstatsmodels#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96mapi#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mas#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96msm#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../site-packages/statsmodels/api.py#x1B[0m:76: in <module>
    #x1B[0m#x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m datasets, distributions, iolib, regression, robust, tools#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../statsmodels/distributions/__init__.py#x1B[0m:7: in <module>
    #x1B[0m#x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96mdiscrete#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m (#x1B[90m#x1B[39;49;00m
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    #x1B[0m#x1B[94mimport#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mnumpy#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mas#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mnp#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
    #x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mscipy#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96mstats#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m rv_discrete, poisson, nbinom#x1B[90m#x1B[39;49;00m
    #x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mscipy#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96mspecial#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m gammaln#x1B[90m#x1B[39;49;00m
>   #x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mscipy#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96m_lib#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96m_util#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m _lazywhere#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE   ImportError: cannot import name '_lazywhere' from 'scipy._lib._util' (.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../scipy/_lib/_util.py)#x1B[0m

#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.3.........................../x64/lib/python3.13.../statsmodels/distributions/discrete.py#x1B[0m:5: ImportError
tests/test_preprocessing.py::test_regress_out_categorical
Stack Traces | 12.7s run time
joblib.externals.loky.process_executor._RemoteTraceback: 
"""
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../externals/loky/process_executor.py", line 490, in _process_worker
    r = call_item()
  File ".../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../externals/loky/process_executor.py", line 291, in __call__
    return self.fn(*self.args, **self.kwargs)
           ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13...................../site-packages/joblib/parallel.py", line 607, in __call__
    return [func(*args, **kwargs) for func, args, kwargs in self.items]
            ~~~~^^^^^^^^^^^^^^^^^
  File ".../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../scanpy/preprocessing/_simple.py", line 796, in _regress_out_chunk
    import statsmodels.api as sm
  File ".../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../site-packages/statsmodels/api.py", line 76, in <module>
    from . import datasets, distributions, iolib, regression, robust, tools
  File ".../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../statsmodels/distributions/__init__.py", line 7, in <module>
    from .discrete import (
        genpoisson_p, zipoisson, zigenpoisson, zinegbin,
        )
  File ".../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../statsmodels/distributions/discrete.py", line 5, in <module>
    from scipy._lib._util import _lazywhere
ImportError: cannot import name '_lazywhere' from 'scipy._lib._util' (.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../scipy/_lib/_util.py)
"""

#x1B[33mThe above exception was the direct cause of the following exception:#x1B[0m

    #x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_regress_out_categorical#x1B[39;49;00m():#x1B[90m#x1B[39;49;00m
        #x1B[94mimport#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mpandas#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mas#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mpd#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94mfrom#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[04m#x1B[96mscipy#x1B[39;49;00m#x1B[04m#x1B[96m.#x1B[39;49;00m#x1B[04m#x1B[96msparse#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[94mimport#x1B[39;49;00m random#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        adata = AnnData(random(#x1B[94m1000#x1B[39;49;00m, #x1B[94m100#x1B[39;49;00m, density=#x1B[94m0.6#x1B[39;49;00m, #x1B[96mformat#x1B[39;49;00m=#x1B[33m"#x1B[39;49;00m#x1B[33mcsr#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m))#x1B[90m#x1B[39;49;00m
        #x1B[90m# create a categorical column#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        adata.obs[#x1B[33m"#x1B[39;49;00m#x1B[33mbatch#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m] = pd.Categorical(np.random.randint(#x1B[94m1#x1B[39;49;00m, #x1B[94m4#x1B[39;49;00m, size=adata.X.shape[#x1B[94m0#x1B[39;49;00m]))#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
>       multi = sc.pp.regress_out(adata, keys=#x1B[33m"#x1B[39;49;00m#x1B[33mbatch#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, n_jobs=#x1B[94m8#x1B[39;49;00m, copy=#x1B[94mTrue#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m

#x1B[1m#x1B[31mtests/test_preprocessing.py#x1B[0m:406: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31m.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../site-packages/legacy_api_wrap/__init__.py#x1B[0m:82: in fn_compatible
    #x1B[0m#x1B[94mreturn#x1B[39;49;00m fn(*args_all, **kw)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31m.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../scanpy/preprocessing/_simple.py#x1B[0m:774: in regress_out
    #x1B[0mres = Parallel(n_jobs=n_jobs)(#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31m.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13...................../site-packages/joblib/parallel.py#x1B[0m:2072: in __call__
    #x1B[0m#x1B[94mreturn#x1B[39;49;00m output #x1B[94mif#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m.return_generator #x1B[94melse#x1B[39;49;00m #x1B[96mlist#x1B[39;49;00m(output)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31m.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13...................../site-packages/joblib/parallel.py#x1B[0m:1682: in _get_outputs
    #x1B[0m#x1B[94myield from#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m._retrieve()#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31m.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13...................../site-packages/joblib/parallel.py#x1B[0m:1784: in _retrieve
    #x1B[0m#x1B[96mself#x1B[39;49;00m._raise_error_fast()#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31m.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13...................../site-packages/joblib/parallel.py#x1B[0m:1859: in _raise_error_fast
    #x1B[0merror_job.get_result(#x1B[96mself#x1B[39;49;00m.timeout)#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31m.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13...................../site-packages/joblib/parallel.py#x1B[0m:758: in get_result
    #x1B[0m#x1B[94mreturn#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m._return_or_raise()#x1B[90m#x1B[39;49;00m
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <joblib.parallel.BatchCompletionCallBack object at 0x7f369cce3ed0>

    #x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92m_return_or_raise#x1B[39;49;00m(#x1B[96mself#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
        #x1B[94mtry#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
            #x1B[94mif#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m.status == TASK_ERROR:#x1B[90m#x1B[39;49;00m
>               #x1B[94mraise#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m._result#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE               ImportError: cannot import name '_lazywhere' from 'scipy._lib._util' (.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13.../scipy/_lib/_util.py)#x1B[0m

#x1B[1m#x1B[31m.../hostedtoolcache/Python/3.13.3.................................................../x64/lib/python3.13...................../site-packages/joblib/parallel.py#x1B[0m:773: ImportError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 6e11501 to db2fcf4 Compare May 19, 2025 17:31
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.8 → v0.11.11](astral-sh/ruff-pre-commit@v0.11.8...v0.11.11)
- [github.com/biomejs/pre-commit: v1.9.4 → v2.0.0-beta.5](biomejs/pre-commit@v1.9.4...v2.0.0-beta.5)
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from db2fcf4 to 69cc11e Compare May 26, 2025 17:30
@flying-sheep flying-sheep added this to the 1.11.2 milestone May 27, 2025
@flying-sheep flying-sheep enabled auto-merge (squash) May 27, 2025 07:16
@flying-sheep flying-sheep disabled auto-merge May 28, 2025 07:26
@flying-sheep flying-sheep merged commit 9c849d5 into main May 28, 2025
14 of 19 checks passed
@flying-sheep flying-sheep deleted the pre-commit-ci-update-config branch May 28, 2025 07:26
meeseeksmachine pushed a commit to meeseeksmachine/scanpy that referenced this pull request May 28, 2025
flying-sheep pushed a commit that referenced this pull request May 28, 2025
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant