-
First of all, thank you for this wonderful tool :) The github workflow I was using seems to be broken.
Am I missing something obvious? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
[root@50f0fba1c908 ~]# maturin new hello
✔ 🤷 Which kind of bindings to use? · pyo3
✨ Done! New project created hello
[root@50f0fba1c908 ~]# cd hello/
[root@50f0fba1c908 hello]# ls
Cargo.toml pyproject.toml src
[root@50f0fba1c908 hello]# maturin build -o dist
🔗 Found pyo3 bindings
🐍 Found CPython 3.10 at /opt/python/cp310-cp310/bin/python3
Compiling target-lexicon v0.12.4
Compiling autocfg v1.1.0
Compiling proc-macro2 v1.0.47
Compiling once_cell v1.15.0
Compiling quote v1.0.21
Compiling unicode-ident v1.0.5
Compiling libc v0.2.135
Compiling syn v1.0.102
Compiling parking_lot_core v0.9.3
Compiling scopeguard v1.1.0
Compiling cfg-if v1.0.0
Compiling smallvec v1.10.0
Compiling unindent v0.1.10
Compiling indoc v1.0.7
Compiling lock_api v0.4.9
Compiling memoffset v0.6.5
Compiling pyo3-build-config v0.17.2
Compiling parking_lot v0.12.1
Compiling pyo3-ffi v0.17.2
Compiling pyo3 v0.17.2
Compiling pyo3-macros-backend v0.17.2
Compiling pyo3-macros v0.17.2
Compiling hello v0.1.0 (/root/hello)
Finished dev [unoptimized + debuginfo] target(s) in 47.54s
📦 Built wheel for CPython 3.10 to dist/hello-0.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
[root@50f0fba1c908 hello]# maturin publish
🔗 Found pyo3 bindings
🐍 Found CPython 3.10 at /opt/python/cp310-cp310/bin/python3
Compiling target-lexicon v0.12.4
Compiling autocfg v1.1.0
Compiling once_cell v1.15.0
Compiling proc-macro2 v1.0.47
Compiling unicode-ident v1.0.5
Compiling libc v0.2.135
Compiling quote v1.0.21
Compiling syn v1.0.102
Compiling parking_lot_core v0.9.3
Compiling scopeguard v1.1.0
Compiling cfg-if v1.0.0
Compiling smallvec v1.10.0
Compiling indoc v1.0.7
Compiling unindent v0.1.10
Compiling lock_api v0.4.9
Compiling memoffset v0.6.5
Compiling pyo3-build-config v0.17.2
Compiling parking_lot v0.12.1
Compiling pyo3-ffi v0.17.2
Compiling pyo3 v0.17.2
Compiling pyo3-macros-backend v0.17.2
Compiling pyo3-macros v0.17.2
Compiling hello v0.1.0 (/root/hello)
Finished release [optimized] target(s) in 46.10s
📦 Built wheel for CPython 3.10 to /root/hello/target/wheels/hello-0.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
📦 Built source distribution to /root/hello/target/wheels/hello-0.1.0.tar.gz I can't reproduce it locally, same for Python 3.8 [root@50f0fba1c908 hello]# maturin build -o dist
🔗 Found pyo3 bindings
🐍 Found CPython 3.8 at /opt/python/cp38-cp38/bin/python3
Compiling pyo3-build-config v0.17.2
Compiling pyo3-ffi v0.17.2
Compiling pyo3 v0.17.2
Compiling hello v0.1.0 (/root/hello)
Finished dev [unoptimized + debuginfo] target(s) in 17.03s
📦 Built wheel for CPython 3.8 to dist/hello-0.1.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl Do you have any Cargo related env vars set, for example |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your quick answer. Empty Here the github action CI:
Here the result:
|
Beta Was this translation helpful? Give feedback.
-
I can't reproduce it locally, so it indeed seems to be a Github Actions related issue :o/ |
Beta Was this translation helpful? Give feedback.
-
Instead of That image can't even use |
Beta Was this translation helpful? Give feedback.
-
@messense |
Beta Was this translation helpful? Give feedback.
Instead of
container: quay.io/pypa/manylinux2014_i686
can you try run it viadocker run
in GitHub Actions?That image can't even use
actions/checkout@v2
, its usage is really limited on GitHub Actions viacontainer
.