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

Quartodoc failing on hydamo package #114

Open
visr opened this issue Jul 29, 2024 · 0 comments
Open

Quartodoc failing on hydamo package #114

visr opened this issue Jul 29, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@visr
Copy link
Member

visr commented Jul 29, 2024

I can reproduce this locally with

pixi run quartodoc-build
  File "D:\repo\ribasim\Ribasim-NL\.pixi\envs\default\Lib\site-packages\quartodoc\builder\blueprint.py", line 173, in get_object_fixed
    raise WorkaroundKeyError(
quartodoc.builder.utils.WorkaroundKeyError: Cannot find an object named: HyDAMO. Does an object with the path hydamo:HyDAMO exist?

I don't understand why it cannot find this, this works ok:

pixi run python
>>> import hydamo
>>> hydamo.HyDAMO
<class 'hydamo.datamodel.HyDAMO'>

Perhaps it doesn't quite like our editable install in pixi.toml:

hydamo = { path = "src/hydamo", editable = true }

EDIT: also try upgrading quartodoc, since the current version doesn't work with griffe v1; https://github.com/machow/quartodoc/releases/tag/v0.7.6

@visr visr added the documentation Improvements or additions to documentation label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant