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

TST: rewrite CI around uv.lock #181

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

neutrinoceros
Copy link
Collaborator

Context: numpy 2.2.0 just dropped and CMasher does not typecheck against it. Not all errors seem genuine and I may not have time to address/report all of them soon, so I'm stabilizing CI with a lock file.

@neutrinoceros neutrinoceros changed the title TST: rewrite CI around uv.lock TST: rewrite CI around uv.lock Dec 8, 2024
@neutrinoceros
Copy link
Collaborator Author

I hit a very weird failure mode in numpy

 ImportError while loading conftest '/home/runner/work/CMasher/CMasher/conftest.py'.
conftest.py:3: in <module>
    import matplotlib as mpl
../../_temp/setup-uv-cache/archive-v0/WvtTXssC9sSStd9mylBSV/lib/python3.10/site-packages/matplotlib/__init__.py:159: in <module>
    from . import _api, _version, cbook, _docstring, rcsetup
../../_temp/setup-uv-cache/archive-v0/WvtTXssC9sSStd9mylBSV/lib/python3.10/site-packages/matplotlib/cbook.py:24: in <module>
    import numpy as np
../../_temp/setup-uv-cache/archive-v0/WvtTXssC9sSStd9mylBSV/lib/python3.10/site-packages/numpy/__init__.py:135: in <module>
    raise ImportError(msg) from e
E   ImportError: Error importing numpy: you should not try to import numpy from
E           its source directory; please exit the numpy source tree, and relaunch
E           your python interpreter from there.

I may need to finish #145 first to match my repos where this locking strategy was applied successfully.

@neutrinoceros neutrinoceros force-pushed the tst/dep_locking branch 2 times, most recently from ff7baff to c47c953 Compare December 9, 2024 09:07
@neutrinoceros neutrinoceros marked this pull request as ready for review December 9, 2024 09:18
@neutrinoceros neutrinoceros merged commit 13fd6db into 1313e:master Dec 9, 2024
21 checks passed
@neutrinoceros neutrinoceros deleted the tst/dep_locking branch December 9, 2024 09:18
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