-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
pybind11: migrate to [email protected] #86775
Conversation
Looks like dependent formula need to be moved too (which makes sense). It’s just a few headers and config files. |
Honestly, multiple installs like six would probably be fine. |
Sounds fine. And simpler. |
74a876f
to
a9fdd16
Compare
Formula/pybind11.rb
Outdated
|
||
# Also pybind11-config | ||
bin.install Dir[libexec/"bin/*"] | ||
bin.install Dir[libexec/"bin/pybind11-config*"] |
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"m making pybind11-config-3.10 and such, and then including all of them + the latest one unversioned (this is the only thing that was colliding when installing this per-python version). I don't have to include the versioned ones, and we don't require these pythons - I could require python 3.10 since pybind11-config
requires it. Thinking about it, adding versioned ones as outputs is likely not a good idea.
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 have dropped the two test lines and changed this to bin.install Dir[libexec/"bin/pybind11-config"]
.
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.
Note requiring [email protected]
will trigger the mixed-version-dependency audit.
32024b1
to
50c3457
Compare
Still left 3.10 as the source for Also haven't extracted this into a method, missed that. Can do on next edit. |
Co-authored-by: Carlo Cabrera <[email protected]> Signed-off-by: Carlo Cabrera <[email protected]>
50c3457
to
b00557b
Compare
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.
Cleaned that up for you. Thanks @henryiii!
🤖 A scheduled task has triggered a merge. |
pybind11: migrate to [email protected]