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

rpds-py 0.22.3 (new formula) #201147

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marcusmueller
Copy link
Contributor

@marcusmueller marcusmueller commented Dec 14, 2024

For GNU Radio, we need jsonschema, which in turn depends on rpds-py,
which in turn depends on Rust. It seemed desirable to move that
dependency (since it's generally useful and doesn't need to be rebuilt
for every GNU Radio build) into its own formula. See GH #201049.

This supersedes #178716. Unlike that, it uses the existing maturin
formula instead of doing a pypi-based source build.

Signed-off-by: Marcus Müller [email protected]

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

brew audit fails with

Error: GitHub API Error: API rate limit exceeded for 94.134.183.63. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Try again in 39 minutes 25 seconds, or:
Create a GitHub personal access token:
  https://github.com/settings/tokens/new?scopes=gist,repo,workflow&description=Homebrew
echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> ~/.profile

(I have far too many privileges on repos for me to just grant repo privileges to some tool whose code I haven't read; so I'm afraid adding a random API token to audit a formula won't happen.)

@github-actions github-actions bot added automerge-skip `brew pr-automerge` will skip this pull request new formula PR adds a new formula to Homebrew/homebrew-core autobump labels Dec 14, 2024
For GNU Radio, we need jsonschema, which in turn depends on rpds-py,
which in turn depends on Rust. It seemed desirable to move that
dependency (since it's generally useful and doesn't need to be rebuilt
for every GNU Radio build) into its own formula. See GH Homebrew#201049.

This supersedes Homebrew#178716. Unlike that, it uses the existing maturin
formula instead of doing a pypi-based source build.

Signed-off-by: Marcus Müller <[email protected]>

depends_on "maturin" => :build
depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not the latest?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was under the impression that this was the expected combination of python versions, from other formulae.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SMillerDev added the most recent python version

@@ -740,6 +740,9 @@
"extra_packages": ["robotframework-archivelibrary", "robotframework-selenium2library", "robotframework-sshlibrary"],
"exclude_packages": ["certifi", "cryptography"]
},
"rpds-py": {
"extra_packages": ["setuptools-rust"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because that's what was in #178716, and because it is needed by the build process of rpds-py.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I think this is the kind of indirect dependency @cho-m explained to me here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autobump automerge-skip `brew pr-automerge` will skip this pull request new formula PR adds a new formula to Homebrew/homebrew-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants