Skip to content

Made pyo3 optional.#144

Merged
drobnyjt merged 9 commits intomasterfrom
143-python-bindings-optional
Aug 3, 2021
Merged

Made pyo3 optional.#144
drobnyjt merged 9 commits intomasterfrom
143-python-bindings-optional

Conversation

@drobnyjt
Copy link
Collaborator

@drobnyjt drobnyjt commented Aug 3, 2021

Thank you for your contribution to rustBCA!

Before submitting this PR, please make sure you have:

  • Opened an issue
  • Referenced the relevant issue number(s) below
  • Provided a description of the changes below
  • Ensured all tests pass and added any necessary tests for new code

Fixes #143

Description

I've made the Python bindings optional - there is a linker error present on MacOS systems, and depending on PyO3 simply isn't necessary.

Tests

Automatic testing has been done. An example C binary has been built without the Python libraries, following the instructions in the Wiki. Wiki needs to be updated still.

drobnyjt and others added 9 commits August 3, 2021 12:01
I've added a simple check to make sure the python bindings install correctly from scratch.
Python was having trouble finding the rust compiler, so I've added that to the workflow.
For some reason, cargo test is now throwing a permission denied error in the workflow - sudo added to see if that fixes it.
@drobnyjt drobnyjt merged commit 445d65c into master Aug 3, 2021
@drobnyjt drobnyjt deleted the 143-python-bindings-optional branch August 5, 2021 16:03
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.

[bug] [JOSS] MacOS Installation Issues

1 participant