generated from Justintime50/python-template
-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
After playing for hours with #56, it appears that this only works for public projects. When attempting to call brew update-python-resources
on a private repo, we are met with the following:
2025-06-14 06:21:46,187 - INFO - Attempting to update Python resources in the formula...
An error occurred while updating Python resources: Warning: update-python-resources is a developer command, so Homebrew's
developer mode has been automatically turned on.
To turn developer mode off, run:
brew developer off
==> Retrieving PyPI dependencies for "https://api.github.com/repos/Justintime50/github-actions-test/tarball/v0.1.1"...
Error: Unable to determine dependencies for "https://api.github.com/repos/Justintime50/github-actions-test/tarball/v0.1.1" because of a failure when running
`/home/linuxbrew/.linuxbrew/opt/python@3.13/libexec/bin/python -m pip install -q --disable-pip-version-check --dry-run --ignore-installed --report=/dev/stdout [https://api.github.com/repos/Justintime50/github-actions-test/tarball/v0.1.1`.](https://api.github.com/repos/Justintime50/github-actions-test/tarball/v0.1.1%60.)
Please update the resources manually.
This is because the URL is the api url and not a readily available Python sdist
(tar.gz) so it cannot be pulled and used. I documented the new feature as only available to public repos but we should look into making it work for private ones too.
This also makes me wonder if private homebrew formula even work... will need to test more.
Metadata
Metadata
Assignees
Labels
No labels