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

Swap PyCall to PythonCall #1485

Merged
merged 4 commits into from
Jan 3, 2024
Merged

Swap PyCall to PythonCall #1485

merged 4 commits into from
Jan 3, 2024

Conversation

ToucheSir
Copy link
Member

The former was giving us setup-related headaches on CI, and we can use any Python FFI for the one test which needs it.

As a bonus, stops loading CUDA.jl on GHA so we can get rid of errors on nightly. Hopefully with this we'll be back to green CI.

PR Checklist

  • Tests are added
  • Documentation, if applicable

The former was giving us setup-related headaches on CI, and we can use any Python FFI for the one test which needs it.
This was implicit for PyCall but needs to be explicit for PythonCall.
@ToucheSir
Copy link
Member Author

Looks like fixing these issues exposed actual test failures on nightly. We should address those and consider having better isolation for our testsets so that earlier errors don't prevent subsequent tests from running, but those can be done later. For know, I can confirm that the reverse CI failures are unrelated and this is good to go.

@ToucheSir ToucheSir merged commit c1d82be into master Jan 3, 2024
10 of 14 checks passed
@ToucheSir ToucheSir deleted the bc/rm-pycall branch January 3, 2024 15:06
@lxvm
Copy link
Contributor

lxvm commented Jan 3, 2024

FYI if loading PyCall dependencies was an issue on tests in CI, it could be because PyCall wasn't built during the correct github action for the build step and instead during the runtests action, in which case the python environment variable should be set for that action (e.g. see here)

@ToucheSir
Copy link
Member Author

We were mainly having problems with Buildkite, which uses a completely different system. PythonCall is so much easier to work with in general that it was worth the switchover regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants