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: Fix packaging (missing __init__ module) #18

Merged
merged 1 commit into from
Mar 7, 2022
Merged

Conversation

pawamoy
Copy link
Member

@pawamoy pawamoy commented Mar 7, 2022

Turns out there never was an __init__.py module in the package, and Poetry was fine with it, while PDM is a bit more strict about how it finds namespace packages. Also, the local configuration prevented earlier detection of this packaging issue. This is fixed by using the editables editable-backend which does not add src to PYTHONPATH when testing. Detection would be improved if PDM failed instead of falling back to the path backend, see pdm-project/pdm-backend#79.
To further improve our practices, --no-editable is now used in CI.

Fixes issue pdm-project/pdm#17 and mkdocstrings/mkdocstrings#398

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.

None yet

2 participants