Skip to content

Conversation

@per1234
Copy link
Contributor

@per1234 per1234 commented Sep 16, 2025

The "Poetry" tool is used to manage the Python package dependencies of the website deployment workflows.

Dependencies might be classified into distinct categories. The most basic classification would be:

  • Application dependencies: used by the project's applications
  • Development dependencies: tools used in the development and maintenance of the project, but not by the application

By default, Poetry installs all non-optional dependencies. This can be inefficient in a case where a specific operation is being performed, since a given operation might only require the dependencies from one category and so the installation of dependencies from the other is pointless for that operation.

For this reason, Poetry allows the user to organize dependencies into arbitrary "groups", and to specify which groups should be installed.

The calls to the Python package installation task in the workflows is hereby updated specify the dev group of the required dependencies.

The "Poetry" tool is used to manage the Python package dependencies of the website deployment workflows.

Dependencies might be classified into distinct categories. The most basic classification would be:

- Application dependencies: used by the project's applications
- Development dependencies: tools used in the development and maintenance of the project, but not by the application

By default, Poetry installs all non-optional dependencies. This can be inefficient in a case where a specific operation
is being performed, since a given operation might only require the dependencies from one category and so the
installation of dependencies from the other is pointless for that operation.

For this reason, Poetry allows the user to organize dependencies into arbitrary "groups", and to specify which groups
should be installed.

The calls to the Python package installation task in the workflows is hereby updated specify the `dev` group of the
required dependencies.
@per1234 per1234 self-assigned this Sep 16, 2025
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Sep 16, 2025
@per1234 per1234 merged commit fa48e0d into arduino:main Sep 16, 2025
16 checks passed
@per1234 per1234 deleted the poetry-groups branch September 16, 2025 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: code Related to content of the project itself type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant