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

Export dependencies correctly from conda file without duplication in dependencies in pyproject.toml #15

Open
kunaltyagi opened this issue Dec 1, 2023 · 2 comments

Comments

@kunaltyagi
Copy link
Contributor

We are using hatch-conda for the default environment, with no dependencies in pyproject.toml in order to manage everything through conda.

We do want to be able to export the python requirements while building. How do we do accomplish that?

By default, we get only the extra dependencies which are not in the conda file.

@kunaltyagi
Copy link
Contributor Author

https://hatch.pypa.io/dev/plugins/environment-collector/reference/

This seems to imply that a plugin should be able to provide the dependencies from an external source to hatch

@kunaltyagi
Copy link
Contributor Author

collector will not work because build takes place in a sanitized env with dependencies taken from project-dependencies, not env dependencies

@kunaltyagi kunaltyagi changed the title Export dependencies correctly without using dependencies in pyproject.toml Export dependencies correctly from conda file without duplication in dependencies in pyproject.toml Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant