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

Missing _lib/__init__.py #66

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Missing _lib/__init__.py #66

merged 2 commits into from
Dec 12, 2024

Conversation

crusaderky
Copy link
Contributor

Fix crash in scipy/scipy#22062
https://app.circleci.com/jobs/github/scipy/scipy/107558

Traceback:
/home/circleci/.pyenv/versions/3.11.11/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
scipy/_lib/array_api_extra/_lib/_utils.py:1: in <module>
    from . import _compat
E   ImportError: attempted relative import with no known parent package
=========================== short test summary info ============================
ERROR scipy/_lib/array_api_extra/_lib/_compat.py
ERROR scipy/_lib/array_api_extra/_lib/_typing.py
ERROR scipy/_lib/array_api_extra/_lib/_utils.py
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 3.33s ===============================

I can't understand why this doesn't reproduce with the vendor_tests.

@crusaderky
Copy link
Contributor Author

@lucascolley ready for merge

@lucascolley lucascolley added the bug Something isn't working label Dec 12, 2024
@lucascolley lucascolley merged commit 7e6ccf9 into data-apis:main Dec 12, 2024
10 checks passed
@lucascolley
Copy link
Collaborator

thx!

@crusaderky crusaderky deleted the init branch December 12, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants