JuliaPy / JuliaPy/PythonCall.jl

PythonCall.jl 0.9.19 and 0.9.20 seem broken on julia-nightly on GH actions

Open
#513 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
1.1k
Forks
86
Avg merge
1d 22h
Merged PRs (30d)
3

Description

**Affects:** PythonCall

**Describe the bug**

When running the tests for [BraketSimulator.jl](https://github.com/amazon-braket/BraketSimulator.jl), which use PythonCall.jl, on GitHub actions using `julia-nightly`, I get the following error:

```
LoadError: UndefVarError: `pyconvert` not defined in `PythonCall`
```
Even though as far as I can tell, PythonCall.jl does export this function. It's only occuring on GH actions, I can't reproduce it locally with a checkout of Julialang `master`.

Please include the steps required to reproduce the bug. This should include not just code but **all** the steps required to reproduce the bug

**Your system**
Please provide detailed information about your system:
- Occurs on Windows, Ubuntu, and macOS runners
- GH actions `julia-nightly` and PythonCall.jl `0.9.19` and `0.9.20`.

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the BraketSimulator.jl tests on GitHub Actions across Windows, Ubuntu, and macOS with julia-nightly and PythonCall.jl 0.9.19 or 0.9.20. Investigate the `PythonCall.pyconvert` undefined error and confirm the result with the affected test runs; done means the cause is identified and the nightly tests pass or the incompatibility is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, julia, python
Domain
backend, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.