Skip to content

Releases

CPython 3.14.7 for AROS ABIv11 — 0.1.1 preview

Choose a tag to compare

@tomaszstaniak tomaszstaniak released this 08 Oct 21:55

CPython 3.14.7 preview for AROS x86-64 ABIv11, built with GCC 10.5.0 and the ABIv11 2026.09 SDK.

This release includes patch 0023: convert CPython thread identifiers back to AROS pthread identifiers before native calls. It fixes the invalid identifier used while naming threads in faulthandler traceback dumps.

Download both matching packages when embedding Python:

  • Runtime: aros-cpython-3.14.7-abiv11-0.1.1.zip.
  • Development: aros-cpython-3.14.7-abiv11-0.1.1-dev.zip: headers, libpython3.14.a, static dependencies, relocatable CMake and pkg-config interfaces, embedding example and licenses. Requires the ABIv11 2026.09 cross SDK; SDK system libraries remain external dependencies.

Validation: four host packaging/relocated-consumer checks pass. Runtime TAR/ZIP contents match; repeating packaging gives identical hashes for all five archives. On AROS One 1.3 ABIv11 in QEMU, platform/hash probe, threads/queue/pool/timer, eight all-thread traceback dumps with 32 workers, and the matching static embedding example pass (initialization and finalization, exit 0). Evidence and exact scope are in docs/evidence/v011-20261008 and package/ACCEPTANCE.txt.

Known limits remain: Ctrl-C/Break, worker-thread sockets, processes and dynamic extension loading. AROS pthread_kill is an EINVAL stub; pthread_getcpuclockid is unavailable. GemRB and the full standard library suite were not tested for this release. The broader 0.1.0 acceptance is preserved as historical evidence, not claimed as a new 0.1.1 run.

Interpreter SHA-256: 570106329b02cc769d5374435fdcafbd728505634ca6e6ea1008ad5211c8bf5f.
ZIP checksums are listed together in CHECKSUMS.txt. Existing v0.1.0 runtime and dev assets remain available.

CPython 3.14.7 for AROS i386 ABIv0: 0.1.0 preview

Choose a tag to compare

@tomaszstaniak tomaszstaniak released this 28 Sep 13:03

Preview for testers. CPython 3.14.7 for 32-bit AROS with the ABIv0 system interface. CPython's own test suite (Lib/test) does not pass as a whole (see below). The x86_64 ABIv11 release (v0.1.0) is unchanged.

Requirements

  • AROS ABIv0 20250313-1 for i386 (deadwood2/AROS, tag ABIv0_20250313-1), installed on a hard disk. Other ABIv0 systems were not tested.
  • A program that unpacks LhA archives (for example lha from the release's contrib archive, or from your distribution).
  • AROSTCP running before python starts. zlib and bzip2 are linked in; z1.library and bz2.library are not needed.

Install and usage: README.txt in the archive.

Interpreter

Python/python, SHA-256 b9a3f0885df89579c8c194963dfb4825a376cc0f848c45bfd917b21461716070 (--strip-debug of 03327e9e…). Built with GCC 6.5.0 from the ABIv0_20250313-1 tag; sources, patches 0001–0025 and the build in i386/.

Two fixes against the first i386 build (50aac094…), both working around bugs of the ABIv0 system (fixed in ABIv11):

  • unsetenv() of ABIv0 has no return statement, so del os.environ[...] raised OSError errno 0 and pip ended every install with it. The result is now ignored (ac_cv_broken_unsetenv=yes).
  • pthread_self() of ABIv0 can return the number of another thread. Thread idents now come from pthread_create() (patch 0025).

The interpreter differs from the first build only in Modules/posixmodule.o and Python/thread.o.

Acceptance (clean ABIv0 installation in QEMU/KVM, install from this archive as README describes, two passes, the second after a restart)

PASS: identifiers; 180 of 205 standard modules import; files and JSON; zlib, gzip, bz2, lzma, zipfile, tar round trips; HTTPS with certificate and host name checks (three bad certificates refused); threads, queue, thread pool, timer; thread identity (8 checks, including RLock ownership); del os.environ; two interpreters at once; eight runs in one Shell; wheel-test.py 6/6; install-test.py 4/6 (the two failures are L2).
FAIL: sockets in worker threads (L2); Ctrl-C and Break do not stop a script (L1).
Details: ACCEPTANCE.txt in the archive.

Lib/test (one pass, this interpreter)

  • 467 of the 492 test modules (those that completed execution in the first pass on both architectures): PASS 219, FAIL 131, ERROR 30, SKIP 86, ENV_CHANGED 1. Every module that passed with the first build still passes.
  • 25 modules were NOT run with this interpreter: those that did not finish within 1500 s in the first pass on either architecture. Their earlier results belong to the first build.

Known limits

Limit
L1 No interruption: Ctrl-C and Break do not stop a running script
L2 Sockets work only in the main thread
L3 No processes: subprocess, os.popen, multiprocessing
L4 Missing modules: ctypes, mmap, curses, readline, dbm, tkinter, termios/tty/pty, resource, syslog, _uuid, _zstd, sqlite3
L5 pip installs pure-Python wheels only
L16 Some ABIv0 C library calls fail without an error code (Python reports errno 0)

Tested only in QEMU/KVM, not on real hardware.

Files

File SHA-256
aros-cpython-3.14.7-abiv0-0.1.0.lha 442a727e8ccfffe71d05bfd2dc911338f39f0cc545bbcac787dd44558ca100ed
aros-cpython-3.14.7-abiv0-0.1.0.tar.gz bf9fc1805a4a4781a2986b2a7967c7b511504045463dbd5c16a35b5930b11722
MANIFEST.txt 7538fef392a6a2acfae27e310e93fc272e28b6803d2d4eaf1e24375d8465a908

The .lha and .tar.gz have the same content.

CPython 3.14.7 for AROS x86_64 ABIv11: 0.1.0 preview

Choose a tag to compare

@tomaszstaniak tomaszstaniak released this 25 Sep 21:04

CPython 3.14.7 for 64-bit AROS with the ABIv11 system interface, first
published version. For testers and for running scripts on the ABIv11 2026.09
release; not for mainline AROS (ABIv1). Work on the port continues.

Three limits to know first

  • L1: a running script cannot be interrupted. Ctrl-C and Break do not
    stop it; a script that does not end by itself needs a reboot.
  • L2: sockets work only in the main thread. In other threads name lookup
    and socket() fail. install-test.py therefore reports 4/6.
  • L12: the network is not always ready after a boot. In 2 of 12 test
    boots with a correct configuration network access failed: once name
    lookup failed for every host for the whole boot; once, checked 150 s
    after the boot, the network stack was not available (a C program could
    not open bsdsocket.library either), and whether it would have started
    later was not established. A restart cleared it both times. The two cases
    were measured differently and are not known to share a cause.

What was tested (installed from this archive as its README describes, on
a fresh ABIv11 2026.09 system in QEMU; full test run before and after a
restart; details in ACCEPTANCE.txt):

  • starting the interpreter and its platform identifiers
  • 182 of the 205 standard library modules checked by the import probe import
    (importing a module does not show that all of it works)
  • files and JSON; zlib, gzip, bz2, lzma, zipfile and tarfile round trips
  • HTTPS with certificate and host name verification, including refusing
    expired, wrong-host and self-signed certificates
  • threads, a lock, a queue between threads, a thread pool, a timer
  • pip installing a pure-Python wheel into a directory on RAM: and one on
    SYS:, then importing it
  • two interpreters running at the same time; repeated runs in one Shell
  • how unsupported features fail (clear errors for subprocess, os.popen,
    multiprocessing, ctypes, pip on a source distribution)

The L12 boot series and the README examples were run with the previous
candidate, which differs only in the stat() fix below; ACCEPTANCE.txt
says which binary each result is from.

Fixed before release: os.stat() no longer reports st_flags, which
the ABIv11 C library leaves unset. The leftover value could look like an
immutable flag, and shutil.move() of a directory between volumes, and
with it pip install --target outside RAM:, then failed at random.

Not tested: real hardware, other ABIv11 systems (including AROS One),
long-running programs, third-party packages beyond one wheel.

Does not work (yet): interrupting scripts (L1); sockets outside the main
thread (L2); starting processes (subprocess, os.popen, multiprocessing:
this port has no way to create processes); ctypes, mmap, curses,
readline, dbm, tkinter, termios, tty, pty; pip on source
distributions; loading additional native C/C++ extension modules (the
built-in ones, such as ssl and the compression modules, work).

Requirements: the ABIv11 2026.09 release installed on a hard disk, with
the network running before python starts. Install steps: README.txt in the
archive. Examples: the repository README.

Next: interrupting scripts (L1), sockets in threads (L2), the network
failures after boot (L12), terminal support (termios, tty) together with the upcoming
AROS terminal, and more testing.

Build: reproducible from this repository at tag v0.1.0; two builds from fresh clones gave byte-identical archives. See docs/building.md.

File SHA-256
aros-cpython-3.14.7-abiv11-0.1.0.tar.gz 682c7a5e98ca0411a718eb899e7d06952c1c9ed8b26c017f735a94d483dae83e
aros-cpython-3.14.7-abiv11-0.1.0.lha (same content) 4a9565e28b524d1748e0204f410b18d4c13fdf306db20fffb9e2f910cdd94325
Python/python inside both a072b8ad8c79dfa4106fbbfee7016e037e17d096e1bd27868ebb5124731e1203

Development package (added 2026-10-08)

Matching x86-64 ABIv11 development archives are now available as
aros-cpython-3.14.7-abiv11-0.1.0-dev.zip and .tar.gz, with SHA-256 sidecars.
They contain libpython3.14.a, headers including pyconfig.h, the required
custom/static helper archives, relocatable CMake and pkg-config configuration,
and a tested C embedding example. The ABIv11 2026.09 SDK is still required.
Install the runtime package separately for the Python standard library.

The embedded interpreter initialized, called a builtin host C module, exercised
JSON/Decimal/SHA-256/compression/SQLite, imported SSL, and finalized successfully
in two successive runs on AROS One 1.3 x86-64 ABIv11 under QEMU (final exit code 0).
Four host tests passed, including compilation/linking after relocating the package
through both CMake and pkg-config. GemRB itself has not been tested.

Embedding bypasses the executable's AROS startup hook: save and suppress DOS
volume requesters while Python runs, then restore the previous setting. The
included example and README show this. This companion intentionally matches
runtime 0.1.0 and does not include the post-release patch 0023 thread-ident fix.

Development package sources and verification report

Development archive SHA-256
aros-cpython-3.14.7-abiv11-0.1.0-dev.zip c49c625eb7850cee3b902c89e9235987e6474fbf8eb07959ffbbcc634237f48f
aros-cpython-3.14.7-abiv11-0.1.0-dev.tar.gz 46abfa4b48d711727fcd01c5851e725bbc6164f017c5b66bf72dc4d137171c0b