Skip to main content

ray-haproxy

Pre-built HAProxy binary distribution for Ray Serve.

The wheel bundles the HAProxy binary together with its vendored shared libraries (libssl, libcrypto, libpcre, liblua) so that Ray Serve can use HAProxy without requiring a system-level installation.

Installation

pip install "ray[serve,haproxy]"

Or directly:

pip install ray-haproxy

Platform support

  • Linux x86_64 (manylinux_2_17_x86_64)

  • Linux arm64 (manylinux_2_17_aarch64)

Usage

from ray_haproxy import get_haproxy_binary
print(get_haproxy_binary())  # /path/to/ray_haproxy/bin/haproxy

Binary resolution order:

  1. RAY_SERVE_HAPROXY_BINARY environment variable (explicit override)

  2. Bundled binary inside this package

  3. haproxy on the system PATH

Vendored shared libraries

The wheel bundles HAProxy and the shared libraries it depends on that are not guaranteed to exist on all Linux systems. At build time, the script ci/build/build-haproxy-dist.sh compiles HAProxy inside a manylinux2014 container, then uses ldd to discover every .so the binary needs. Libraries on the PEP 599 manylinux2014 allowlist (libc, libz, libpthread, etc.) are skipped — they are guaranteed present on any compatible system. Everything else is copied into lib/ and the binary’s RPATH is patched to $ORIGIN/lib so it finds its vendored copies at runtime.

Library

Source

Why

OpenSSL 3.0.x (libssl, libcrypto)

Built from source

manylinux2014 ships OpenSSL 1.1.1 (EOL Sept 2023). We build 3.0.x (LTS, EOL Sept 2026) to get current security patches.

Lua 5.4.x

Built from source

HAProxy 2.8 requires Lua 5.3+. manylinux2014 only has Lua 5.1.

PCRE (libpcre, libpcreposix)

manylinux2014 system package

Discovered by ldd, not on the PEP 599 allowlist. Vendored automatically.

libxcrypt (libcrypt.so.2)

manylinux2014 system package

Discovered by ldd. libcrypt.so.1 (glibc) is on the allowlist, but libcrypt.so.2 (libxcrypt) is not. Must be vendored — omitting it causes the binary to fail on systems that only have libcrypt.so.1.

Libraries not vendored (on the PEP 599 allowlist): libc, libm, libdl, librt, libpthread, libz, libgcc_s, libresolv, libcrypt.so.1.

License

HAProxy is distributed under the GNU General Public License v2. See LICENSE for details.

Metadata

Release files for ray-haproxy 2.8.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for ray-haproxy 2.8.25
File Interpreter ABI Platform
ray_haproxy-2.8.25-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
ray_haproxy-2.8.25-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details

Total release size: 8.1 MB

Release files / ray_haproxy-2.8.25-py3-none-manylinux_2_17_x86_64.whl

Download URL ray_haproxy-2.8.25-py3-none-manylinux_2_17_x86_64.whl
Size 4.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
51671f11afb571ed5b37042f9287daf48de235f2d32ad18b732ee9587e9ad076
BLAKE2b-256 checksum
How to use checksums
b748bef71a3bd4fa4b467299a9b859fac0a7660eefbc56d47b4b0f2b7c34491a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 29, 2026.

Transparency log

Release files / ray_haproxy-2.8.25-py3-none-manylinux_2_17_aarch64.whl

Download URL ray_haproxy-2.8.25-py3-none-manylinux_2_17_aarch64.whl
Size 4.0 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a63902c2fe7eb51fbcb502980228d743b79da6cecab230c4c24674517b1ac3ac
BLAKE2b-256 checksum
How to use checksums
31784cdca49514f94ced71525c5662e0b62fc64d625f4536910304dc71c680e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.8.25 This release

2 release files

2.8.21

2 release files

2.8.20

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page