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

fix sysimage argument to julia.core.Julia.__init__ #482

Merged
merged 1 commit into from
Jan 8, 2022
Merged

fix sysimage argument to julia.core.Julia.__init__ #482

merged 1 commit into from
Jan 8, 2022

Conversation

Jasha10
Copy link
Contributor

@Jasha10 Jasha10 commented Jan 4, 2022

On master branch, it should be possible to pass a custom "sysimage" to the julia.core.Julia.__init__ method. However, if the python version in use is statically linked, an UnsupportedPythonError is thrown (despite the sysimage argument having been passed to __init__).

This commit prevents the UnsupportedPythonError from being thrown if a sysimage keyword argument is passed to __init__.
Closes #421.

On `master` branch, it should be possible to pass a custom "sysimage" to
the `julia.core.Julia.__init__` method. However, if the python version
in use is statically linked, an UnsupportedPythonError is thrown
(despite the sysimage argument having been passed to `__init__`).

This commit prevents the UnsupportedPythonError from being thrown if a
sysimage keyword argument is passed to `__init__`.
Closes #421
@codecov
Copy link

codecov bot commented Jan 8, 2022

Codecov Report

Merging #482 (0278cba) into master (cec4bf0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #482   +/-   ##
=======================================
  Coverage   89.19%   89.20%           
=======================================
  Files          39       39           
  Lines        2313     2315    +2     
=======================================
+ Hits         2063     2065    +2     
  Misses        250      250           
Impacted Files Coverage Δ
src/julia/core.py 83.88% <100.00%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cec4bf0...0278cba. Read the comment docs.

@tkf tkf merged commit 56a7391 into JuliaPy:master Jan 8, 2022
@Jasha10 Jasha10 deleted the fix_custom_sysimage branch January 13, 2022 12:05
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.

Custom sysimage builds but still UnsupportedPythonError
2 participants