Skip to content

Commit

Permalink
docs: Fix poetry-with description
Browse files Browse the repository at this point in the history
--with is required for optional and non-optional dependencies

see python-poetry/poetry-plugin-export#212 and python-poetry/poetry-plugin-export#299

corresponding PR in canonical/craft-parts#946
  • Loading branch information
carlcsaposs-canonical authored and lengau committed Dec 19, 2024
1 parent 29cb07f commit 455880a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/howto/charm-to-poetry.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ for charms that build on Ubuntu 22.04 or earlier:
Add optional dependency groups
------------------------------

If the charm has optional `dependency groups`_ that should be included when creating
the virtual environment, the ``poetry-with`` key can be used to include those groups
when creating the virtual environment.
If the charm has `dependency groups`_ that should be included when creating the virtual
environment, the ``poetry-with`` key can be used to include those groups when creating
the virtual environment.

.. note::
This is useful and encouraged, though not mandatory, for keeping track of
Expand Down

0 comments on commit 455880a

Please sign in to comment.