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

Pyproject.toml optional-dependencies #5920

Closed
wants to merge 10 commits into from

Conversation

Nishnha
Copy link
Member

@Nishnha Nishnha commented Oct 18, 2022

Refactors the parse_pep621_dependencies funciton to also parse optional-dependencies.

Currently not passing tests - the shape of the result is wrong. It should be a single list with a multiple objects but it's being returned as a list with lists of objects inside of it.

The DEPENDENCY_TYPES constant could be moved into the Ruby code so that dependencies and optional-dependencies can be parsed in different steps and so any additional dependency keys that need to be parsed can be appended.

@Nishnha Nishnha force-pushed the nishnha/pyproject-optional-deps branch from d0f8d48 to a633ba8 Compare October 18, 2022 13:35
@deivid-rodriguez
Copy link
Contributor

@Nishnha I added some changes a few days ago on #5661 to ignore pdm.lock files, I guess the conflicts are about that. I'm happy to fix those conflicts myself while I start having a look at your changes, sounds good?

@Nishnha Nishnha closed this Oct 21, 2022
@deivid-rodriguez deivid-rodriguez deleted the nishnha/pyproject-optional-deps branch November 11, 2022 19:38
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.

2 participants