Skip to content
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

PySCENIC has some library versions conflict #51874

Open
pcm32 opened this issue Nov 1, 2024 · 0 comments
Open

PySCENIC has some library versions conflict #51874

pcm32 opened this issue Nov 1, 2024 · 0 comments

Comments

@pcm32
Copy link
Member

pcm32 commented Nov 1, 2024

On trying routines that use to work with the original aertslab container for PySCENIC with the new bioconda container, we get some issues probably stemming from uncompatible library versions, like:

exit_code: 1, stderr: Traceback (most recent call last):
  File "/usr/local/bin/pyscenic", line 6, in <module>
    from pyscenic.cli.pyscenic import main
  File "/usr/local/lib/python3.11/site-packages/pyscenic/cli/pyscenic.py", line 19, in <module>
    from arboreto.algo import genie3, grnboost2
  File "/usr/local/lib/python3.11/site-packages/arboreto/algo.py", line 7, in <module>
    from arboreto.core import create_graph, SGBM_KWARGS, RF_KWARGS, EARLY_STOP_WINDOW_LENGTH
  File "/usr/local/lib/python3.11/site-packages/arboreto/core.py", line 12, in <module>
    from dask.dataframe import from_delayed
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/__init__.py", line 4, in <module>
    from dask.dataframe import backends, dispatch, rolling
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/backends.py", line 15, in <module>
    from dask.dataframe.core import DataFrame, Index, Scalar, Series, _Frame
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/core.py", line 37, in <module>
    from dask.dataframe import methods
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/methods.py", line 30, in <module>
    from dask.dataframe.utils import is_dataframe_like, is_index_like, is_series_like
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/utils.py", line 20, in <module>
    from dask.dataframe import (  # noqa: F401 register pandas extension types
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/_dtypes.py", line 7, in <module>
    from dask.dataframe.extensions import make_array_nonempty, make_scalar
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/extensions.py", line 6, in <module>
    from dask.dataframe.accessor import (
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/accessor.py", line 126, in <module>
    class DatetimeAccessor(Accessor):
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/accessor.py", line 81, in __init_subclass__
    _bind_property(cls, pd_cls, attr, min_version)
  File "/usr/local/lib/python3.11/site-packages/dask/dataframe/accessor.py", line 35, in _bind_property
    setattr(cls, attr, property(derived_from(pd_cls, version=min_version)(func)))
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dask/utils.py", line 851, in wrapper
    method.__doc__ = _derived_from(
                     ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dask/utils.py", line 804, in _derived_from
    method_args = get_named_args(method)
                  ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dask/utils.py", line 570, in get_named_args
    s = inspect.signature(func)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/inspect.py", line 3263, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/inspect.py", line 3011, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/inspect.py", line 2599, in _signature_from_callable
    call = _descriptor_get(call, obj)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/inspect.py", line 2432, in _descriptor_get
    return get(descriptor, obj, type(obj))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: descriptor '__call__' for 'type' objects doesn't apply to a 'property' object
.

more details at https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/actions/runs/11636377047?pr=337

So I suspect we might need to bring some library versions to the time when the package was created originally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant