Skip to content

Allow requirement file in hatch environment depenedencies #39

@ketozhang

Description

@ketozhang

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions