Skip to content

Conversation

@jonathan343
Copy link
Contributor

@jonathan343 jonathan343 commented Jul 8, 2025

Summary

In aws-sdk-signers and the code generator that is used to build the AWS clients in aws-sdk-python, we're defining optional dependencies in pyproject.toml for test and docs dependencies as shown below:

[project.optional-dependencies]
foo = [ .. ]
bar = [ ... ]

This PR moves these under [dependency-groups] (ref):

This specification defines Dependency Groups, a mechanism for storing package requirements in pyproject.toml files such that they are not included in project metadata when it is built.

Dependency Groups are suitable for internal development use-cases like linting and testing, as well as for projects which are not built for distribution, like collections of related scripts.

Fundamentally, Dependency Groups should be thought of as being a standardized subset of the capabilities of requirements.txt files (which are pip-specific).


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jonathan343 jonathan343 requested a review from a team as a code owner July 8, 2025 19:06
@jonathan343 jonathan343 merged commit aeb12f2 into smithy-lang:develop Jul 9, 2025
4 checks passed
JordonPhillips pushed a commit that referenced this pull request Jul 29, 2025
…522)

* Move dev dependencies under "[dependency-groups]" in pyproject.toml

* Update dependency-group names and remove redundant dependencies
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