You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since master was migrated to pyproject.toml it has access to the much richer optional-dependencies system1, this is currently only used for the yaml dependency so tox and GHA must explicitly install other dependencies.
The following optional dependencies should be added:
all, should install all the non-dev optional dependencies (currently just yaml), this should be doable via self dependencies
test, should install pytest and all
check, should install the various checkers
dev should install both test and check, as well as tox since that is the dev runner
Issue: turns out you can't ask pip to install just the dependencies (yet?). This makes the addition a lot less useful for the primary use cases of GHA and tox, as they don't want to install the package itself via those means (especially not GHA where the package source — src, wheel, sdist — is part of the test matrix).
The solution until pypa/pip#11440 is implemented would be to compile the dependencies to a (bunch of) requirement files, or to install pip-tools and use that to compile requirements following jazzband/pip-tools#1681.
Since master was migrated to pyproject.toml it has access to the much richer optional-dependencies system1, this is currently only used for the yaml dependency so tox and GHA must explicitly install other dependencies.
The following optional dependencies should be added:
all
, should install all the non-dev optional dependencies (currently just yaml), this should be doable via self dependenciestest
, should install pytest andall
check
, should install the various checkersdev
should install bothtest
andcheck
, as well astox
since that is the dev runnerThus:
google-re2
andFilter
#149,regex
-based parser #166)check
before runningtest
before runningFootnotes
technically that was already available in setup.py via
extras_require
but it was never used ↩The text was updated successfully, but these errors were encountered: