Skip to content

Conversation

zanieb
Copy link
Contributor

@zanieb zanieb commented Oct 15, 2024

Closes #596
Closes #651

Builds on macOS 13+ are failing because these dependencies are out of date.

I ran:

cargo update remoteprocess
cargo update libproc

The first was necessary to unblock the libproc upgrade. Now, cargo build succeeds on my machine.

@zanieb zanieb marked this pull request as ready for review October 15, 2024 02:05
Copy link
Owner

@benfred benfred left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

Do we need to upgrade the remoteprocess version in Cargo.toml too ?:

remoteprocess = {version="0.4.12", features=["unwind"]}

Also can we test this out in CI? I believe we're only testing macos-13, and I believe switching this to macos-latest should do it

os: [ubuntu-20.04, macos-13]

@zanieb
Copy link
Contributor Author

zanieb commented Oct 15, 2024

Do we need to upgrade the remoteprocess version in Cargo.toml too ?:

I don't think we need to. Since it's actually a version range and the old version is compatible we just want to lock to a newer one during builds.

I can look into a CI test — though I'd loosely prefer to do so separately because I have to make every change on top of this pull request then rebase onto master because otherwise local development is completely broken.

Copy link
Owner

@benfred benfred left a comment

Choose a reason for hiding this comment

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

I don't think we need to. Since it's actually a version range and the old version is compatible we just want to lock to a newer one during builds.

I learned something new today =) .

@benfred benfred merged commit 64dfe73 into benfred:master Oct 15, 2024
70 checks passed
@zanieb
Copy link
Contributor Author

zanieb commented Oct 16, 2024

I don't think adding test coverage there will make a difference — that looks like testing the pre-built wheels whereas this failure occurred while building. We do builds on macos-latest in CI so I'm not sure what the difference was. Presumably they are still on an old SDK in the runners or something?

@benfred benfred added the ci label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libproc v0.13.0 doesn't build for me Failing to build or install py-spy on Mac OS 13
2 participants