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

Add support for PEP 621 in Poetry version 2 projects #11237

Open
1 task done
yakimka opened this issue Jan 6, 2025 · 12 comments
Open
1 task done

Add support for PEP 621 in Poetry version 2 projects #11237

yakimka opened this issue Jan 6, 2025 · 12 comments
Labels
L: python T: feature-request Requests for new features

Comments

@yakimka
Copy link

yakimka commented Jan 6, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

I am having an issue with Dependabot, which cannot parse the pyproject.toml file of a Poetry 2-managed project described using PEP 621.

Poetry2 documentation: https://python-poetry.org/docs/pyproject/

Error:
image

My pyproject.toml

@yakimka yakimka added the T: feature-request Requests for new features label Jan 6, 2025
@phillipuniverse
Copy link
Contributor

phillipuniverse commented Jan 6, 2025

Should be included in full support for Poetry 2 via #11232 or #11227

@yakimka
Copy link
Author

yakimka commented Jan 16, 2025

link #11275

@schuste
Copy link

schuste commented Feb 17, 2025

There is a newer PR to bump poetry #11607

@yakimka
Copy link
Author

yakimka commented Feb 20, 2025

Here we go again #11638

@yakimka
Copy link
Author

yakimka commented Feb 20, 2025

Also #11642

@d33bs
Copy link

d33bs commented Feb 20, 2025

Thanks for opening this! Excited to see this addressed; I've been running into this challenge as well.

@edgarrmondragon
Copy link
Contributor

Also #11642

Note that I don't intend #11642 to add support for PEP 621 in Poetry, just to use Poetry v2 to update dependencies.

@eggplants
Copy link
Contributor

eggplants commented Mar 6, 2025

For uv support PEP621 parser has already merged in #11687, but only for uv.

def parse_pep621_dependencies(pyproject_path):

@jharrisonSV
Copy link

Note that I don't intend #11642 to add support for PEP 621 in Poetry, just to use Poetry v2 to update dependencies.

When could we expect support for PEP 621 in Poetry?

@edgarrmondragon
Copy link
Contributor

When could we expect support for PEP 621 in Poetry?

Asking like that seems a bit rude considering I'm only an outside contributor and this is an open source project 🤷‍♂

@jharrisonSV
Copy link

Asking like that seems a bit rude considering I'm only an outside contributor and this is an open source project 🤷‍♂

Sincere apologies, didn't mean for it to come across that way and I should have found better wording. Really appreciate your contribution! I'll rephrase and ask if anyone knows whether support for PEP 621 in Poetry is in the works?

@edgarrmondragon
Copy link
Contributor

Sincere apologies, didn't mean for it to come across that way and I should have found better wording. Really appreciate your contribution! I'll rephrase and ask if anyone knows whether support for PEP 621 in Poetry is in the works?

All good! I think @markhallen is working on Python ecosystem improvements over here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: python T: feature-request Requests for new features
Projects
Status: No status
Development

No branches or pull requests

7 participants