Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow requirement file in hatch environment depenedencies #39

Open
ketozhang opened this issue Mar 29, 2023 · 3 comments
Open

Allow requirement file in hatch environment depenedencies #39

ketozhang opened this issue Mar 29, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request stale

Comments

@ketozhang
Copy link

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 ketozhang added the enhancement New feature or request label Mar 29, 2023
@ketozhang
Copy link
Author

@ofek Is there any way to do this in hatch right now (e.g., via plugin)?

@dyve
Copy link

dyve commented May 31, 2023

Having hatch or a hatch plugin connect with requirements for environments (docs, dev) would be great. Also for integration with GitHub Dependabot.

@stale stale bot added the stale label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

4 participants