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

scipy 1.13.0 breaks a lot of stuff #2756

Merged
merged 1 commit into from
Apr 6, 2024
Merged

scipy 1.13.0 breaks a lot of stuff #2756

merged 1 commit into from
Apr 6, 2024

Conversation

sgoggins
Copy link
Member

@sgoggins sgoggins commented Apr 6, 2024

Description

  • Emergency patch to prevent upgrade to scipy 1.13.0
  • Fixes numerous issues caused by library update, including Flower not working, and Augur not collecting new data
  • An instance without this patch will present the front end, and appear to work. However progress will not be monitorable, which does not matter as much because data will not be collected and new repositories cannot be added.

The Specific error message in the flower and augur logs was:

ImportError: cannot import name 'triu' from 'scipy.linalg' (/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/scipy/linalg/__init__.py)

FULL Stack Trace:

2024-04-05 18:08:23 linda augur[614166] INFO Starting facade worker processes with concurrency=20
Traceback (most recent call last):
  File "/home/sean/github/virtualenv/rh-k12/bin/celery", line 8, in <module>
    sys.exit(main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/__main__.py", line 15, in main
    sys.exit(_main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/celery.py", line 217, in main
    return celery(auto_envvar_prefix="CELERY")
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/base.py", line 134, in caller
    return f(ctx, *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/worker.py", line 343, in worker
    worker = app.Worker(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/worker/worker.py", line 94, in __init__
    self.app.loader.init_worker()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 111, in init_worker
    self.import_default_modules()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in import_default_modules
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in <listcomp>
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 86, in import_task_module
    return self.import_from_cwd(module)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 92, in import_from_cwd
    return import_from_cwd(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/utils/imports.py", line 105, in import_from_cwd
    return imp(module, package=package)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 89, in import_module
    return importlib.import_module(module, package=package)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/tasks.py", line 11, in <module>
    from augur.tasks.data_analysis.message_insights.message_novelty import novelty_analysis
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/message_novelty.py", line 10, in <module>
    from gensim.models.doc2vec import Doc2Vec, TaggedDocument
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/__init__.py", line 11, in <module>
    from gensim import parsing, corpora, matutils, interfaces, models, similarities, utils  # noqa:F401
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/__init__.py", line 6, in <module>
    from .indexedcorpus import IndexedCorpus  # noqa:F401 must appear before the other classes
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/indexedcorpus.py", line 14, in <module>
    from gensim import interfaces, utils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/interfaces.py", line 19, in <module>
    from gensim import utils, matutils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/matutils.py", line 20, in <module>
    from scipy.linalg import get_blas_funcs, triu
ImportError: cannot import name 'triu' from 'scipy.linalg' (/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/scipy/linalg/__init__.py)
Traceback (most recent call last):
  File "/home/sean/github/virtualenv/rh-k12/bin/celery", line 8, in <module>
    sys.exit(main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/__main__.py", line 15, in main
    sys.exit(_main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/celery.py", line 217, in main
    return celery(auto_envvar_prefix="CELERY")
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/base.py", line 134, in caller
    return f(ctx, *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/worker.py", line 343, in worker
    worker = app.Worker(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/worker/worker.py", line 94, in __init__
    self.app.loader.init_worker()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 111, in init_worker
    self.import_default_modules()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in import_default_modules
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in <listcomp>
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 86, in import_task_module
    return self.import_from_cwd(module)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 92, in import_from_cwd
    return import_from_cwd(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/utils/imports.py", line 105, in import_from_cwd
    return imp(module, package=package)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 89, in import_module
    return importlib.import_module(module, package=package)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/tasks.py", line 11, in <module>
    from augur.tasks.data_analysis.message_insights.message_novelty import novelty_analysis
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/message_novelty.py", line 10, in <module>
    from gensim.models.doc2vec import Doc2Vec, TaggedDocument
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/__init__.py", line 11, in <module>
    from gensim import parsing, corpora, matutils, interfaces, models, similarities, utils  # noqa:F401
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/__init__.py", line 6, in <module>
    from .indexedcorpus import IndexedCorpus  # noqa:F401 must appear before the other classes
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/indexedcorpus.py", line 14, in <module>
    from gensim import interfaces, utils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/interfaces.py", line 19, in <module>
    from gensim import utils, matutils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/matutils.py", line 20, in <module>
    from scipy.linalg import get_blas_funcs, triu
ImportError: cannot import name 'triu' from 'scipy.linalg' (/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/scipy/linalg/__init__.py)
Traceback (most recent call last):
  File "/home/sean/github/virtualenv/rh-k12/bin/celery", line 8, in <module>
    sys.exit(main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/__main__.py", line 15, in main
    sys.exit(_main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/celery.py", line 217, in main
    return celery(auto_envvar_prefix="CELERY")
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/base.py", line 134, in caller
    return f(ctx, *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/worker.py", line 343, in worker
    worker = app.Worker(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/worker/worker.py", line 94, in __init__
    self.app.loader.init_worker()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 111, in init_worker
    self.import_default_modules()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in import_default_modules
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in <listcomp>
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 86, in import_task_module
    return self.import_from_cwd(module)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 92, in import_from_cwd
    return import_from_cwd(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/utils/imports.py", line 105, in import_from_cwd
    return imp(module, package=package)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 89, in import_module
    return importlib.import_module(module, package=package)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/tasks.py", line 11, in <module>
    from augur.tasks.data_analysis.message_insights.message_novelty import novelty_analysis
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/message_novelty.py", line 10, in <module>
    from gensim.models.doc2vec import Doc2Vec, TaggedDocument
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/__init__.py", line 11, in <module>
    from gensim import parsing, corpora, matutils, interfaces, models, similarities, utils  # noqa:F401
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/__init__.py", line 6, in <module>
    from .indexedcorpus import IndexedCorpus  # noqa:F401 must appear before the other classes
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/indexedcorpus.py", line 14, in <module>
    from gensim import interfaces, utils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/interfaces.py", line 19, in <module>
    from gensim import utils, matutils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/matutils.py", line 20, in <module>
    from scipy.linalg import get_blas_funcs, triu
ImportError: cannot import name 'triu' from 'scipy.linalg' (/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/scipy/linalg/__init__.py)
Traceback (most recent call last):
  File "/home/sean/github/virtualenv/rh-k12/bin/celery", line 8, in <module>
    sys.exit(main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/__main__.py", line 15, in main
    sys.exit(_main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/celery.py", line 217, in main
    return celery(auto_envvar_prefix="CELERY")
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/base.py", line 134, in caller
    return f(ctx, *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/worker.py", line 343, in worker
    worker = app.Worker(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/worker/worker.py", line 94, in __init__
    self.app.loader.init_worker()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 111, in init_worker
    self.import_default_modules()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in import_default_modules
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in <listcomp>
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 86, in import_task_module
    return self.import_from_cwd(module)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 92, in import_from_cwd
    return import_from_cwd(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/utils/imports.py", line 105, in import_from_cwd
    return imp(module, package=package)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 89, in import_module
    return importlib.import_module(module, package=package)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/tasks.py", line 11, in <module>
    from augur.tasks.data_analysis.message_insights.message_novelty import novelty_analysis
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/message_novelty.py", line 10, in <module>
    from gensim.models.doc2vec import Doc2Vec, TaggedDocument
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/__init__.py", line 11, in <module>
    from gensim import parsing, corpora, matutils, interfaces, models, similarities, utils  # noqa:F401
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/__init__.py", line 6, in <module>
    from .indexedcorpus import IndexedCorpus  # noqa:F401 must appear before the other classes
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/indexedcorpus.py", line 14, in <module>
    from gensim import interfaces, utils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/interfaces.py", line 19, in <module>
    from gensim import utils, matutils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/matutils.py", line 20, in <module>
    from scipy.linalg import get_blas_funcs, triu
ImportError: cannot import name 'triu' from 'scipy.linalg' (/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/scipy/linalg/__init__.py)
Traceback (most recent call last):
  File "/home/sean/github/virtualenv/rh-k12/bin/celery", line 8, in <module>
    sys.exit(main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/__main__.py", line 15, in main
    sys.exit(_main())
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/celery.py", line 217, in main
    return celery(auto_envvar_prefix="CELERY")
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/base.py", line 134, in caller
    return f(ctx, *args, **kwargs)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/bin/worker.py", line 343, in worker
    worker = app.Worker(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/worker/worker.py", line 94, in __init__
    self.app.loader.init_worker()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 111, in init_worker
    self.import_default_modules()
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in import_default_modules
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 106, in <listcomp>
    return [self.import_task_module(m) for m in self.default_modules]
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 86, in import_task_module
    return self.import_from_cwd(module)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 92, in import_from_cwd
    return import_from_cwd(
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/utils/imports.py", line 105, in import_from_cwd
    return imp(module, package=package)
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/celery/loaders/base.py", line 89, in import_module
    return importlib.import_module(module, package=package)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/tasks.py", line 11, in <module>
    from augur.tasks.data_analysis.message_insights.message_novelty import novelty_analysis
  File "/home/sean/github/rh-k12/augur/tasks/data_analysis/message_insights/message_novelty.py", line 10, in <module>
    from gensim.models.doc2vec import Doc2Vec, TaggedDocument
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/__init__.py", line 11, in <module>
    from gensim import parsing, corpora, matutils, interfaces, models, similarities, utils  # noqa:F401
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/__init__.py", line 6, in <module>
    from .indexedcorpus import IndexedCorpus  # noqa:F401 must appear before the other classes
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/corpora/indexedcorpus.py", line 14, in <module>
    from gensim import interfaces, utils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/interfaces.py", line 19, in <module>
    from gensim import utils, matutils
  File "/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/gensim/matutils.py", line 20, in <module>
    from scipy.linalg import get_blas_funcs, triu
ImportError: cannot import name 'triu' from 'scipy.linalg' (/home/sean/github/virtualenv/rh-k12/lib/python3.10/site-packages/scipy/linalg/__init__.py)

@sgoggins sgoggins merged commit c23019a into main Apr 6, 2024
8 of 9 checks passed
@sgoggins sgoggins deleted the scipy-patch-1 branch May 9, 2024 23:26
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

Successfully merging this pull request may close these issues.

1 participant