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

ci(build): handle PDM v2.9.0 change in API #42

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

aloisklink
Copy link
Contributor

PDM v2.9.0 changed how the pdm install --no-default command worked, as it now installs dev dependencies, and it runs a PEP 517 build. This means that our CI is now failing, see https://github.com/nqminds/nqm-irimager/actions/runs/6072678770/job/16473094068 for an example.

In order to get the old behaviour, where it only installs dev dependencies (without the build), we now need to add a --no-self option.

See PDM bug report: pdm-project/pdm#2230

PDM v2.9.0 changed how the `pdm install --no-default` command worked,
as it now installs dev dependencies, and it runs a [PEP 517][] build.

In order to get the old behaviour, where it only installs dev
dependencies (without the build), we now need to add a `--no-self`
option.

[PEP 517]: https://peps.python.org/pep-0517/

See: pdm-project/pdm#2230
Copy link
Contributor

@AshleySetter AshleySetter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@aloisklink aloisklink merged commit 7892d0e into main Sep 4, 2023
@aloisklink aloisklink deleted the ci/handle-pdm--v2.9.0-bug-2230 branch September 4, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants