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

Repair homebrew formula - poetry install #4

Merged
merged 4 commits into from
Jul 23, 2024
Merged

Repair homebrew formula - poetry install #4

merged 4 commits into from
Jul 23, 2024

Conversation

mahiki
Copy link
Owner

@mahiki mahiki commented Jul 23, 2024

with some help from chatgpt4 i figured out the barely documented parts of the homebrew install DSL.

Brew docs discourage installs with pip if they arent versioned with a SHA checksum.

Poetry installs with those, there is no reason to keep rolling a huge pile of resource blocks and URLs with SHA from pypi, or wrangle a github action stage to generate a new set of resources with :

brew update-python-resources --print-only Formula/desertislandutils.rb

and parse that back into the formula with jinja templates or all that other stuff people are doing. madness!

@mahiki
Copy link
Owner Author

mahiki commented Jul 23, 2024

This resolves issue #1 I think.

@mahiki mahiki merged commit 3480051 into main Jul 23, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

1 participant