hatch-requirements-txt icon indicating copy to clipboard operation
hatch-requirements-txt copied to clipboard

Allow requirement file in hatch environment depenedencies

Open ketozhang opened this issue 1 year ago • 3 comments

Description

Add feature to allow use of requirements file when specifying hatch environments.

[tool.hatch.envs.<env>.dependencies]
dependency-file = "requirements.txt"

Other Additional Information:

My use case is docs environment where I have to keep a separate requirements/docs.txt file for local build and CI build of docs. The CI is from RTD which only allows requirement files. I have other options which I'd like to not explore right now.

ketozhang avatar Mar 29 '23 19:03 ketozhang