diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b856fae..4be7908 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,6 @@ jobs: - { os: ubuntu-latest, target: x86_64, target-triple: x86_64-unknown-linux-musl, manylinux: musllinux_1_1 } - { os: ubuntu-latest, target: aarch64, target-triple: aarch64-unknown-linux-gnu, manylinux: auto } - { os: ubuntu-latest, target: aarch64, target-triple: aarch64-unknown-linux-musl, manylinux: musllinux_1_1 } - - { os: ubuntu-latest, target: armv7, target-triple: armv7-unknown-linux-gnueabihf, manylinux: auto } - - { os: ubuntu-latest, target: armv7, target-triple: armv7-unknown-linux-musleabihf, manylinux: musllinux_1_1 } - { os: macos-15-intel, target: x86_64, target-triple: x86_64-apple-darwin } - { os: macos-latest, target: aarch64, target-triple: aarch64-apple-darwin } - { os: macos-latest, target: universal2, target-triple: x86_64-apple-darwin } diff --git a/rbufrp/Cargo.toml b/rbufrp/Cargo.toml index 7812dd8..868b1ee 100644 --- a/rbufrp/Cargo.toml +++ b/rbufrp/Cargo.toml @@ -11,6 +11,6 @@ crate-type = ["cdylib"] [dependencies] # "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so) # "abi3-py39" tells pyo3 (and maturin) to build using the stable ABI with minimum Python version 3.9 -pyo3 = { version = "0.27.1", features = ["extension-module", "abi3-py38"] } +pyo3 = { version = "0.27.1", features = ["extension-module"] } rbufr = { path = "../rbufr", features = ["python_bindings"] } diff --git a/rbufrp/src/rbufrp/__init__.py b/rbufrp/src/rbufrp/__init__.py index ec64f38..9046ea2 100644 --- a/rbufrp/src/rbufrp/__init__.py +++ b/rbufrp/src/rbufrp/__init__.py @@ -4,7 +4,7 @@ rbufrp - BUFR (Binary Universal Form for the Representation of meteorological da import os from pathlib import Path -from typing import Optional +from typing import Optional, Union # Import the Rust extension module from ._core import ( @@ -51,7 +51,7 @@ def _find_tables_directory() -> Optional[Path]: return None -def initialize_tables_path(custom_path: Optional[str | Path] = None) -> None: +def initialize_tables_path(custom_path: Optional[Union[str, Path]] = None) -> None: if custom_path: custom_path = Path(custom_path) if not custom_path.exists():