Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.5somehow triggered this warning:I don't understand why bumping the version of requests fixed the issue, but I will not investigate further...
pyproject.tomlis 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()