generated from tweag/project
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Support for Dynamic Dependencies in pyproject.toml (#351)
* Parse tool.setuptools.dynamic section in pyprojecttoml * Fix lint line-too-long * Fix format * Add unit tests for dynamic dependencies * Check if dynamic is in "[poject]" first in pyproject.toml * Apply reviews * Put codes in a separate helper parse_dynamic_pyproject_contents * Parse dynamic fields after parsing pep621 pyproject contents * Remove is_dynamic in create_one_fake_project and hardcoding in tests * Add tests for parsing regular and dynamic sources from pyprojecttoml * Fix logic of parsing pep621 and dynamic codes and update tests * Add two more tests for parsing dynamic deps and opt deps
- Loading branch information
Showing
2 changed files
with
203 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters