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

feat: Support requirements overrides files #186

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

honnix
Copy link
Contributor

@honnix honnix commented Dec 26, 2024

Closes #128

#128 gives a workaround, but it only works when the overrides file is at the root because args does not seem to support Predefined source/output path variables.

This PR makes requirements_overrides as a dedicated attr so in the rule can access its short_path.

@honnix honnix marked this pull request as ready for review December 26, 2024 14:19
@honnix honnix requested a review from a team as a code owner December 26, 2024 14:19
@honnix
Copy link
Contributor Author

honnix commented Dec 26, 2024

If this seems reasonable, I can update docs to give an example.

@honnix
Copy link
Contributor Author

honnix commented Jan 24, 2025

@mitch815 What do you think of this?

@mitch815
Copy link

mitch815 commented Jan 24, 2025

@mitch815 What do you think of this?

@honnix Seems reasonable. Can you take a pass at updating the readme?

@honnix honnix force-pushed the requirements-overrides branch from 68069fc to ddcdfce Compare January 24, 2025 19:42
@honnix honnix force-pushed the requirements-overrides branch from ddcdfce to 19e53c8 Compare January 24, 2025 19:47
@honnix
Copy link
Contributor Author

honnix commented Jan 24, 2025

I think a simple explanation to the attr is good enough in the doc. Please let me if that is not the case.

@mitch815 mitch815 merged commit ceb7f10 into theoremlp:main Jan 27, 2025
10 checks passed
@honnix honnix deleted the requirements-overrides branch January 27, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add pip_compile arg for --override file
2 participants