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

Poetry 1.2 support #1241

Closed
DeadNews opened this issue Sep 9, 2022 · 1 comment · Fixed by #1258
Closed

Poetry 1.2 support #1241

DeadNews opened this issue Sep 9, 2022 · 1 comment · Fixed by #1258
Labels
CodeQL Action This repo! Helps for internal planning enhancement New feature or request

Comments

@DeadNews
Copy link

DeadNews commented Sep 9, 2022

ref: 8c692b3

- The newly released [Poetry 1.2](https://python-poetry.org/blog/announcing-poetry-1.2.0) is not yet supported. In the most common case where the CodeQL Action is automatically installing Python dependencies, it will continue to install and use Poetry 1.1 on its own. However, in certain cases such as with self-hosted runners, you may need to ensure Poetry 1.1 is installed yourself.

CodeQL will not work with projects that use the new Poetry 1.2 features, such as dependency-groups:

As the dev-dependencies is now deprecated, projects should migrate to the new group syntax as soon as possible. Keep in mind that the group syntax is a new feature of Poetry 1.2, and your project will not be buildable with Poetry 1.1 after migrating.

CodeQL error:

Warning: An error occurred while trying to automatically install Python dependencies: Error: The process '/usr/bin/python3' failed with exit code 1

@DeadNews DeadNews changed the title Support for Poetry 1.2 Poetry 1.2 support Sep 9, 2022
@aeisenberg aeisenberg added the enhancement New feature or request label Sep 9, 2022
@aeisenberg
Copy link
Contributor

Thanks for your feature request. We have added this to our backlog and will discuss this at our next planning meeting.

@aeisenberg aeisenberg added the CodeQL Action This repo! Helps for internal planning label Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CodeQL Action This repo! Helps for internal planning enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants