Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/regression_suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
include:
# Windows wheels are release-critical but broke silently in 0.0.219 (3.13) and
# were dropped entirely in 0.0.233. Build and test on Windows here so a broken
# MSVC build fails in CI rather than at release time.
- os: windows-latest
python-version: '3.9'
python-version: '3.10'
- os: windows-latest
python-version: '3.13'
runs-on: ${{ matrix.os }}
Expand Down
58 changes: 18 additions & 40 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,17 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
- python-version: '3.9'
manylinux_image: 'quay.io/pypa/manylinux2014_x86_64'
plat: 'manylinux2014_x86_64'
- python-version: '3.10'
manylinux_image: 'quay.io/pypa/manylinux2014_x86_64'
plat: 'manylinux2014_x86_64'
- python-version: '3.11'
manylinux_image: 'quay.io/pypa/manylinux2014_x86_64'
plat: 'manylinux2014_x86_64'
- python-version: '3.12'
manylinux_image: 'quay.io/pypa/manylinux2014_x86_64'
plat: 'manylinux2014_x86_64'
- python-version: '3.13'
manylinux_image: 'quay.io/pypa/manylinux2014_x86_64'
plat: 'manylinux2014_x86_64'
- python-version: '3.14'
manylinux_image: 'quay.io/pypa/manylinux2014_x86_64'
plat: 'manylinux2014_x86_64'
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
runs-on: ubuntu-latest
env:
# manylinux2014 (glibc 2.17) is no longer buildable: numpy dropped
# manylinux_2_17 wheels at 2.3.0, so pip fell back to the sdist and failed
# against the image's GCC 10.2.1 ("NumPy requires GCC >= 10.3"). Moving to
# glibc 2.28 loses nothing real - pyarrow and numpy are hard runtime
# requirements of orso and both ship manylinux_2_28 only, so a glibc 2.17
# wheel could not have been installed anyway.
MANYLINUX_IMAGE: quay.io/pypa/manylinux_2_28_x86_64
PLAT: manylinux_2_28_x86_64
steps:
- name: Set up Python (runner)
uses: actions/setup-python@v4
Expand All @@ -52,45 +43,32 @@ jobs:
run: |
set -euo pipefail

DESIRED_IMAGE="${{ matrix.manylinux_image }}"
echo "Attempting to pull ${DESIRED_IMAGE}..."

if docker pull "${DESIRED_IMAGE}" 2>/dev/null; then
IMAGE="${DESIRED_IMAGE}"
else
echo "Failed to pull ${DESIRED_IMAGE}; trying fallback..."
if docker pull quay.io/pypa/manylinux2014_x86_64 2>/dev/null; then
IMAGE=quay.io/pypa/manylinux2014_x86_64
else
echo "ERROR: no manylinux image available. Tried: ${DESIRED_IMAGE}, quay.io/pypa/manylinux2014_x86_64"
exit 125
fi
fi

echo "Using container image: ${IMAGE} with PLAT=${{ matrix.plat }}"
echo "Pulling ${MANYLINUX_IMAGE}..."
docker pull "${MANYLINUX_IMAGE}"

echo "Building with ${MANYLINUX_IMAGE} (PLAT=${PLAT})"
docker run --rm \
-e PLAT=${{ matrix.plat }} \
-e PLAT="${PLAT}" \
-e PACKAGE_NAME=orso \
-e PYTHON_VERSION=${{ matrix.python-version }} \
-v `pwd`:/io \
--workdir /io \
"${IMAGE}" \
"${MANYLINUX_IMAGE}" \
io/build.sh

- name: Archive Wheels
uses: actions/upload-artifact@v4
with:
name: dist-linux-${{ matrix.python-version }}
path: io/dist/*manylinux*.whl
if-no-files-found: error

build-macos:
runs-on: macos-latest
strategy:
max-parallel: 4
matrix:
include:
- python-version: '3.9'
- python-version: '3.10'
- python-version: '3.11'
- python-version: '3.12'
Expand Down Expand Up @@ -123,6 +101,7 @@ jobs:
with:
name: dist-macos-${{ matrix.python-version }}
path: dist
if-no-files-found: error

build-windows:
runs-on: windows-latest
Expand All @@ -131,7 +110,6 @@ jobs:
max-parallel: 4
matrix:
include:
- python-version: '3.9'
- python-version: '3.10'
- python-version: '3.11'
- python-version: '3.12'
Expand Down Expand Up @@ -218,7 +196,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.12'

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion orso/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__: str = "0.0.244"
__version__: str = "0.0.246"
__author__: str = "@joocer"
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ def _read_requirements() -> list:
"url": "https://github.com/mabel-dev/orso/",
"ext_modules": cythonize(extensions),
"install_requires": required,
# 3.9 is EOL (Oct 2025) and our own dependencies no longer publish cp39
# wheels; without this pip would offer 3.9 users an sdist they cannot use.
"python_requires": ">=3.10",
"extras_require": {
# pysimdjson provides the `simdjson` Python module used as an optional accelerator.
"simdjson": ["pysimdjson"],
Expand Down
Loading