-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Build with poetry: failure to see installed packages #11149
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
Comments
Yep, I tried changing the order of
Somehow, the Python environment we use is not the same as the one Sphinx expects. And somehow, it changed in the last 5 days. Poetry is |
Take a look at #11150. Sens related |
Indeed, I checked before posting that there wasn't already an open issue... and that was opened after mine :) At least it goes to show I'm not the only one impacted Should we follow this issue here or in #11150 ? (Or maybe it's a poetry bug ?) |
We can continue taking this in the other issue sin or seems more related with poetry than read the docs |
Ok. |
Details
So: I'm installing my dependencies from Poetry, including a
docs
dependency group (not an extra, a dependency group, that's a poetry thing that's supported by RTD, as per the documentation). Then it looks like it's missing dependency that have been installed.Expected Result
Doc should build. And used to build. It worked 5 days ago, and fails now.
Actual Result
Failure: https://readthedocs.org/projects/procrastinate/builds/23555034/
Could not import extension myst_parser (exception: No module named 'myst_parser')
I can see the
myst-parser
package is installed in thepoetry install
step, and yet when trying to import it, the package isn't found.Notes:
myst-parser
is one of those packages for which the package name has a-
and the import name has a_
, but I've checked, and I'm using the correct name inpyproject.toml
, and inconf.py
.virtualenv.create false
would not be working?) In that case the issue would likely come from the doc ?The text was updated successfully, but these errors were encountered: