Giskard-AI / giskard

🐢 Open-Source Evaluation & Testing for ML models & LLMs
https://docs.giskard.ai
Apache License 2.0
3.92k stars 250 forks source link

BUG: Griffe package breaks Giskard #2000

Closed ecocarlisle closed 1 month ago

ecocarlisle commented 1 month ago

Issue Type

Bug

Source

source

Giskard Library Version

2.14.3

Giskard Hub Version

NA

OS Platform and Distribution

Windows 11

Python version

3.10

Installed python packages

No response

Current Behaviour?

Griffe released a new version as of 8/15 - yesterday.  The Giskard install automatically grabs latest version of Griffe which breaks it.  Something to do with docstrings module not found.

Griffe changelog here:
https://mkdocstrings.github.io/griffe/changelog/

I'm guessing this is the breaking change? All objects are available in the top-level griffe module, nowhere else

To resolve:
pip uninstall Griffe
pip install griffe==0.49.0

Standalone code OR list down the steps to reproduce the issue

To reproduce the issue:
1. create a new python environment
2. pip install giskard
3. try to import giskard

Relevant log output

No response

kevinmessiaen commented 1 month ago

Thanks for reporting the issue, we just release the version 2.14.4 that fixes this