Skip to content

plotext: add build-plotext.yml for riscv64 wheels - #1102

Merged
luhenry merged 1 commit into
mainfrom
plotext
Sep 6, 2026
Merged

luhenry merged 1 commit into
mainfrom
plotext

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Compiles a small C++ kernel (plotext/_kernel/cpp/kernel.cpp) that plotext loads with ctypes at runtime; the py3-none-<platform> tag is real per-arch compiled content, not a pure-Python wheel, and upstream ships none for riscv64.

Mirrors upstream's wheels.yml.

Differs from upstream

  • Test command runs windows.yml's fuller unit test modules - the Linux job only smoke-tests the import.

Matrix: single cp312 build - setup.py's get_tag() forces py3-none-<platform>, so one build serves every interpreter.

Testing

  • Runs upstream's own unit tests (primitives, plots, dates, fixed_bugs, hashes, prettydoc) instead of pyproject.toml's one-line import check.

License: OK

Built on cp312; 61 passed.

plotext's py3-none-<platform> wheels are tagged this way because the C++
kernel setup.py compiles is loaded by ctypes rather than an import, not
because nothing is compiled (verified: the published Linux wheels carry a
real per-arch ELF kernel.so). One cp312 build serves every interpreter.
luhenry added a commit that referenced this pull request Sep 6, 2026
luhenry added a commit that referenced this pull request Sep 6, 2026
@luhenry
luhenry merged commit 151fc09 into main Sep 6, 2026
6 checks passed
@luhenry
luhenry deleted the plotext branch September 6, 2026 18:24
@luhenry luhenry linked an issue Sep 6, 2026 that may be closed by this pull request
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.

plotext riscv64 support

1 participant