Testing project.optional-dependencies without duplicating dependencies #1751
Unanswered
topherbuckley
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm sure I'm misunderstanding something here, but I just want to have two hatch envs, call them
release
anddebug
as an example. I want users to be able to install a different list of dependencies for each (e.g.pip install example-package[debug]
vspip install example-package[release]
, and I want to use hatch to test that my package passes some basic tests using these exact same dependencies. For example:Do I really need to specify the dependencies and versions in two separate places like this? Am I fundamentally misunderstanding something here? I found a similar discussion here but no resolution.
Beta Was this translation helpful? Give feedback.
All reactions