Skip to content

Python tool for aircraft Doppler audio geolocation using historical ADS-B flight data (Source-available)

Support release builds on Intel macOS (#413)

Cinna Davis7d74fc2d6f4b
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index f9f4eba..38e3686 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -198,7 +198,8 @@ jobs:
files = list(Path("dist").iterdir())
wheels = [f for f in files if f.suffix == ".whl"]
sdists = [f for f in files if f.name.endswith(".tar.gz")]
- assert len(wheels) == 20, f"Expected 20 platform/version wheels; found {len(wheels)}"
+ assert len(wheels) == 19, f"Expected 19 platform/version wheels; found {len(wheels)}"
+ assert not any("cp314" in f.name and "macosx" in f.name and "x86_64" in f.name for f in wheels), wheels
assert len(sdists) == 1, f"Expected one source archive; found {len(sdists)}"
assert all(f.name.startswith(f"dopplergeist-{version}-") for f in wheels), wheels
assert sdists[0].name == f"dopplergeist-{version}.tar.gz", sdists
diff --git a/README.md b/README.md
index d1186c8..7ddbb98 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,7 @@ The integrated application and command-line workflow are available on `main`. Se
## Quickstart
-Install the [published PyPI package](https://pypi.org/project/dopplergeist/) with `pipx`. It requires Python 3.11+. Install **FFmpeg** separately and make sure that `ffmpeg` and `ffprobe` are on your `PATH`.
+Install the [published PyPI package](https://pypi.org/project/dopplergeist/) with `pipx`. It requires Python 3.11+; Intel Macs require Python 3.11–3.13. Install **FFmpeg** separately and make sure that `ffmpeg` and `ffprobe` are on your `PATH`.
```bash
pipx install dopplergeist
diff --git a/docs/PYPI.md b/docs/PYPI.md
index 6293cd4..792a554 100644
--- a/docs/PYPI.md
+++ b/docs/PYPI.md
@@ -4,7 +4,7 @@ DOPPLERGEIST is published on [PyPI](https://pypi.org/project/dopplergeist/) as `
## Install
-Requirements: **Python 3.11+** and **FFmpeg**. Install `ffmpeg` and `ffprobe` separately and make sure that both commands are on your `PATH`.
+Requirements: **Python 3.11+** and **FFmpeg**. Intel Macs require Python 3.11–3.13; Python 3.14 on Intel macOS is not supported. Install `ffmpeg` and `ffprobe` separately and make sure that both commands are on your `PATH`.
For a standalone command-line installation, use `pipx`:
@@ -41,7 +41,7 @@ For each new release:
4. After the checks pass, create a [GitHub release](https://github.com/1337isnot1337/DOPPLERGEIST/releases) with the matching `v<project.version>` tag.
5. Make sure that GitHub Actions succeeds. Then verify the new version on [PyPI](https://pypi.org/project/dopplergeist/) and install it in a clean environment.
-The workflow builds 20 CPython 3.11–3.14 wheels for supported Linux, macOS, and Windows platforms, plus a source archive. It validates the package names and version before upload.
+The workflow builds 19 CPython 3.11–3.14 wheels for supported Linux, macOS, and Windows platforms, plus a source archive. Intel macOS wheels cover Python 3.11–3.13. It validates the package names and version before upload.
PyPI does not allow replacement of an uploaded distribution file. If a release is already on PyPI, use a new version and tag. If publication stops before any upload, fix the cause and rerun the failed workflow.
diff --git a/docs/PYPI_README.md b/docs/PYPI_README.md
index 9cc8173..c81b60f 100644
--- a/docs/PYPI_README.md
+++ b/docs/PYPI_README.md
@@ -10,7 +10,7 @@ The illustrated real-recording experiment ranked a location 476 m from an *infer
## Install
-Requires **Python 3.11+**. Install **FFmpeg** separately so that both `ffmpeg` and `ffprobe` are on your `PATH`.
+Requires **Python 3.11+**. Intel Macs require Python 3.11–3.13; Python 3.14 on Intel macOS is not supported. Install **FFmpeg** separately so that both `ffmpeg` and `ffprobe` are on your `PATH`.
For the CLI:
diff --git a/docs/SETUP.md b/docs/SETUP.md
index 2fa6d9e..a861971 100644
--- a/docs/SETUP.md
+++ b/docs/SETUP.md
@@ -2,7 +2,7 @@
## Requirements
-- Python 3.11 or newer. Fresh Linux environments were checked with Python 3.12.15
+- Python 3.11 or newer. Intel Macs require Python 3.11–3.13. Fresh Linux environments were checked with Python 3.12.15
and 3.14.8 for this checkpoint; CI also exercises the declared Python 3.11 minimum.
- `ffmpeg` and `ffprobe` on PATH. The MP3 smoke tests use ffmpeg's `libmp3lame`
encoder. Install the normal ffmpeg package for your operating system.
diff --git a/pyproject.toml b/pyproject.toml
index 02238fc..a6c7f8d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -24,7 +24,7 @@ classifiers = [
license = "PolyForm-Noncommercial-1.0.0"
license-files = ["LICENSE", "licenses/MIT-legacy.txt", "src/dopplergeist/web/leaflet-license.txt"]
requires-python = ">=3.11"
-dependencies = ["numpy", "scipy", "numba>=0.68.1", "pandas", "soundfile", "pyproj", "rasterio", "matplotlib", "requests", "pyarrow", "shapely>=2.0"]
+dependencies = ["numpy", "scipy", "numba>=0.62.1,<0.63; sys_platform == 'darwin' and platform_machine == 'x86_64'", "numba>=0.68.1; sys_platform != 'darwin' or platform_machine != 'x86_64'", "pandas", "soundfile", "pyproj", "rasterio", "matplotlib", "requests", "pyarrow", "shapely>=2.0"]
[project.urls]
Homepage = "https://github.com/1337isnot1337/DOPPLERGEIST"
@@ -50,5 +50,5 @@ testpaths = ["tests"]
[tool.cibuildwheel]
build = "cp311-* cp312-* cp313-* cp314-*"
-skip = "*-musllinux_*"
-test-command = "dopplergeist --help && python -c \"from importlib.resources import files; assert files('dopplergeist.web').joinpath('index.html').is_file()\""
+skip = "*-musllinux_* cp314-macosx_x86_64"
+test-command = "dopplergeist --help && python -c \"import dopplergeist.advanced_discovery; from importlib.resources import files; assert files('dopplergeist.web').joinpath('index.html').is_file()\""