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

fix pixi to v0.7.0 in GitHub Actions #837

Merged
merged 1 commit into from
Nov 27, 2023
Merged

fix pixi to v0.7.0 in GitHub Actions #837

merged 1 commit into from
Nov 27, 2023

Conversation

visr
Copy link
Member

@visr visr commented Nov 27, 2023

V0.8.0 just came out and now our CI is broken. Let's try if this fixes it so we can upgrade at a better time.

https://github.com/prefix-dev/pixi/releases/tag/v0.8.0

The CI error is this for the Julia tests:

✨ Pixi task: python utils/generate-testmodels.py
Traceback (most recent call last):
  File "/home/runner/work/Ribasim/Ribasim/utils/generate-testmodels.py", line 4, in <module>
    import ribasim_testmodels
ModuleNotFoundError: No module named 'ribasim_testmodels'
Error: Process completed with exit code 1.

And this for the docs:

✨ Pixi task: quartodoc build && rm objects.json
Traceback (most recent call last):
  File "/home/runner/work/Ribasim/Ribasim/.pixi/env/lib/python3.11/site-packages/griffe/loader.py", line 114, in load_module
    module_name, package = self.finder.find_spec(module, try_relative_path=try_relative_path)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/Ribasim/Ribasim/.pixi/env/lib/python3.11/site-packages/griffe/finder.py", line 130, in find_spec
    return module_name, self.find_package(top_module_name)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/Ribasim/Ribasim/.pixi/env/lib/python3.11/site-packages/griffe/finder.py", line 16[9](https://github.com/Deltares/Ribasim/actions/runs/7008476409/job/19064863939?pr=836#step:8:10), in find_package
    raise ModuleNotFoundError(module_name)
ModuleNotFoundError: ribasim

@visr visr merged commit 6e39dc8 into main Nov 27, 2023
15 checks passed
@visr visr deleted the pixi-action branch November 27, 2023 18:12
@visr visr mentioned this pull request Nov 27, 2023
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