-
Notifications
You must be signed in to change notification settings - Fork 162
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
Derive project version using importlib #912
Derive project version using importlib #912
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The doc build in the CI fails with the error importlib.metadata.PackageNotFoundError: No package metadata was found for pytest-asyncio
. Probably because pytest-asyncio isn't installed in the Python environment used to build the docs.
You could try adding it to the installed packages in .readthedocs.yaml
and see if it fixes the issue.
python:
install:
- path: .
…
see also: https://docs.readthedocs.io/en/stable/config-file/v2.html#python-install
Updated |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #912 +/- ##
=======================================
Coverage 91.30% 91.30%
=======================================
Files 2 2
Lines 506 506
Branches 98 98
=======================================
Hits 462 462
Misses 26 26
Partials 18 18 ☔ View full report in Codecov by Sentry. |
You're raising a very good point. It's desirable that the process for building the docs in the CI is the same as locally. |
Created #917 to track the build issue. |
Fixes #628
Using
importlib
to populate the version field inconf.py