-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
base: master
Are you sure you want to change the base?
rpds-py 0.22.3 (new formula) #201147
Conversation
f077c1f
to
37af725
Compare
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]>
37af725
to
20bb67d
Compare
|
||
depends_on "maturin" => :build | ||
depends_on "[email protected]" => [:build, :test] | ||
depends_on "[email protected]" => [:build, :test] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not the latest?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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)
as recommended in https://github.com/Homebrew/homebrew-core/pull/201147\#discussion_r1885061268 Signed-off-by: Marcus Müller <[email protected]>
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]
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?brew audit
fails with(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.)