arx-arrowcpp-sources
arx-arrowcpp-sources packages a pinned Apache Arrow C++ source release for the
Arx ecosystem.
It does not ship compiled Arrow binaries. Instead, it ships:
- the upstream Apache Arrow
cpp/source tree - the upstream Apache Arrow
format/FlatBuffers definitions used by C++ - upstream release metadata, license, and notice files
- upstream
.envconfiguration required by Arrow's CMake setup - Python helper functions to locate those files from build systems
The package also depends on pyarrow ==26.0.1 so Arx projects can use the
matching Python runtime package alongside the vendored source-release layout.
Python 3.11 or newer is required, matching the bundled release's PyArrow support.
Should you bundle Arrow C++ sources?
Usually, no. Prefer these integration paths when possible:
- Use an installed Arrow C++ package with CMake's
find_package(Arrow REQUIRED)and linkArrow::arrow_sharedorArrow::arrow_static. - Use
pkg-config --cflags --libs arrowfor non-CMake native builds. - For Python-extension builds, use
pyarrow.get_include(),pyarrow.get_libraries(), andpyarrow.get_library_dirs().
This package exists for Arx workflows that need a reproducible, Python-package addressable copy of the Arrow C++ source release.
Usage
from arx_arrowcpp_sources import (
bundled_arrowcpp_version,
get_cmake_dir,
get_cpp_dir,
get_header_files,
get_include_dir,
get_source_files,
)
print(bundled_arrowcpp_version())
print(get_cpp_dir())
print(get_include_dir())
print(get_cmake_dir())
print(get_header_files())
print(get_source_files())
Build behavior
Run python scripts/build_bundle.py before poetry build. The bundle script
fetches the pinned Apache Arrow source release, verifies its SHA256 checksum,
and stores the C++ source subset under src/arx_arrowcpp_sources/vendor/.
The vendored layout is intentionally close to the upstream release layout:
src/arx_arrowcpp_sources/vendor/
├── cpp/
├── format/
├── .env
├── CHANGELOG.md
├── LICENSE.txt
├── NOTICE.txt
├── README.md
└── bundle-metadata.json
Development
python scripts/build_bundle.py
pytest -q
ruff check .
mypy src tests
Versioning and releases
The package version follows Apache Arrow's version. Packaging-only rebuilds use
.postN; the bundled sources and PyArrow remain pinned to the upstream version.
# Discover the latest stable Arrow release and refresh all version pins.
bash scripts/versioning.sh latest
# Pin an upstream release, optionally with a packaging-only build number.
bash scripts/versioning.sh X.Y.Z
bash scripts/versioning.sh X.Y.Z 1
# Check consistency without accessing the network or modifying files.
bash scripts/versioning.sh --check
poetry check --lock
The versioning script checks that matching PyArrow files are available on PyPI,
fetches Apache's SHA256, updates pyproject.toml, _version.py, and this
README, and refreshes poetry.lock. It rejects prereleases, downgrades, and
invalid build numbers. Repeated runs preserve an existing .postN for the same
Arrow version; a newer Arrow version resets it. Commit all four synchronized
files together.
The release workflow checks upstream daily and also supports manual dispatch
with an optional Arrow version and build number. Only the default branch can
publish. New versions are tested, built, and checked from an installed wheel
before publication using the existing PYPI_TOKEN secret. The workflow then
commits the version files and creates a v<package-version> tag and GitHub
release. Already-published versions are not uploaded again; reruns can finish a
missing commit, tag, or GitHub release.
Repository settings must allow GitHub Actions to write repository contents and push to the default branch. Branch protection that disallows bot pushes requires an update-PR process instead.
Metadata
Release files for arx-arrowcpp-sources 26.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arx_arrowcpp_sources-26.0.1.tar.gz | 6.2 MB | Without provenance | Details for arx_arrowcpp_sources-26.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arx_arrowcpp_sources-26.0.1-py3-none-any.whl | Python 3 | none | any | Details for arx_arrowcpp_sources-26.0.1-py3-none-any.whl |
Total release size: 14.3 MB
Release files / arx_arrowcpp_sources-26.0.1.tar.gz
| Download URL | arx_arrowcpp_sources-26.0.1.tar.gz |
|---|---|
| Size | 6.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3147af57ef682cede85258731d16597473060b2c2ba8582ec9d96da458d3d85
|
|
BLAKE2b-256 checksum How to use checksums |
f00fe8b657ce51025dd6c300113cf48e2277c09b3ed384e06098b40e7312e0d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.13.18 Linux/7.0.0-1019-azure
|
Release files / arx_arrowcpp_sources-26.0.1-py3-none-any.whl
| Download URL | arx_arrowcpp_sources-26.0.1-py3-none-any.whl |
|---|---|
| Size | 8.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
994999c2b7eba0afa1ba315b636eb713ebf094fa2898d90b8172d00246e45ff4
|
|
BLAKE2b-256 checksum How to use checksums |
139908d838b0d84d29126d2c8917b4e408dce64c131c94b8bb1ed1227491a99b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.13.18 Linux/7.0.0-1019-azure
|
Security for arx-arrowcpp-sources 26.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.