hypermodern-python icon indicating copy to clipboard operation
hypermodern-python copied to clipboard

Upgrade to poetry 1.2 and separate the dev-dependencies into groups

Open jond01 opened this issue 2 years ago • 0 comments

Instead of installing all the dev-dependencies on each nox session: https://github.com/cjolowicz/hypermodern-python/blob/ed593b8399dd94e2fe6f618aca8ea5f43710b541/pyproject.toml#L21-L42 Split the dev-deps into groups - a feature provided by poetry 1.2: https://python-poetry.org/docs/managing-dependencies/#dependency-groups Install only the relevant dependencies.

This requires upgrading poetry to 1.2 (e.g., 1.2.2): https://github.com/cjolowicz/hypermodern-python/blob/ed593b8399dd94e2fe6f618aca8ea5f43710b541/.github/workflows/tests.yml#L17

Suggested groups:

  • test
  • lint
  • typing
  • docs

jond01 avatar Nov 30 '22 21:11 jond01