Skip to content

Conversation

@YooSunYoung
Copy link
Member

@YooSunYoung YooSunYoung commented Feb 9, 2026

This change should fix the lower-bound nightly test: https://github.com/scipp/scitiff/actions/runs/21464963439/job/61824944315

The lower bound of requests >= 2.23.5 somehow triggered this warning:

importlib ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()

I don't understand why bumping the version of requests fixed the issue, but I will not investigate further...

  • I copier-updated it as well. So most of changes except for the pyproject.toml is not related to this warning.
Full Error Log

:1072: in _find_spec ??? E AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:
tests/validate_test.py:4: in
import scipp as sc
.venv/lib/python3.11/site-packages/scipp/init.py:18: in
from .core import version
.venv/lib/python3.11/site-packages/scipp/core/init.py:47: in
from .operations import as_const
.venv/lib/python3.11/site-packages/scipp/core/operations.py:9: in
from ..typing import ScippIndex, VariableLikeType
.venv/lib/python3.11/site-packages/scipp/typing.py:9: in
import numpy.typing as npt
.venv/lib/python3.11/site-packages/numpy/init.py:109: in
from . import _distributor_init
.venv/lib/python3.11/site-packages/numpy/_distributor_init.py:13: in
from . import _distributor_init_local # noqa: F401
:1176: in _find_and_load
???
:1138: in _find_and_load_unlocked
???
:1074: in _find_spec
???
:1047: in _find_spec_legacy
???
E ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()

@YooSunYoung YooSunYoung merged commit 02dde07 into main Feb 9, 2026
4 checks passed
@YooSunYoung YooSunYoung deleted the copier-udpate-deps branch February 9, 2026 14:17
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