From 8080b5dd2328f0437dd8547bd8a1fb066fa2ac29 Mon Sep 17 00:00:00 2001 From: Zakiyyah Osman <327327727+zakiyyah-osman@users.noreply.github.com> Date: Wed, 25 Nov 2026 08:21:34 +0400 Subject: [PATCH] Issue-193: Record licence, version and wheel facts for the batch A hunt libraries Co-Authored-By: Claude Sonnet 5.5 --- docs/architecture/discovery-hunts.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/architecture/discovery-hunts.md b/docs/architecture/discovery-hunts.md index e9cec02d..e466ee6c 100644 --- a/docs/architecture/discovery-hunts.md +++ b/docs/architecture/discovery-hunts.md @@ -1143,6 +1143,27 @@ Wall-clock time is set mostly by archive download speed and by sharing archives Per the pinned-versions rule, every library below gets an exact version in `backend/pyproject.toml` in the ticket that first needs it, after checking its licence and that it supports Python 3.12. Listed so reviewers know what is coming: `astroquery` (archives), `lightkurve` or direct MAST calls (TESS), `wotan` and `transitleastsquares` (H3), `batman-package` (transit models), `scikit-learn` (H1 classifier), `galpy` and `gaiadr3-zeropoint` (H8), `sbpy` (H4, H5), `heliolinx` (H4 linking) and an orbit fitter chosen per R-37 after the licence decision (H4), `xgboost` (H2, R-44), `dustmaps` (H9, R-46), `pyvo` (asynchronous TAP, DataLink), an RO-Crate writer such as `rocrate` (release 2, R-39), `mocpy` (coverage), the IVOA VOTable writer in `astropy`, SPIFF (H2), `photutils` (forced photometry, profiles), a GPU array library (`cupy` or `torch`), `pyarrow` (Parquet). Each is **[verify]**: name, licence, maintained, version. +**Library facts, batch A: archives and data (checked 25 Nov 2026, #193).** Read from each library's PyPI JSON record (`https://pypi.org/pypi//json`) and its source repository on 25 Nov 2026. "Maintained" means a stable release in the last 12 months (since 25 Nov 2025). "Wheels" means a wheel for CPython 3.12 on Windows (`win_amd64`) and Linux (`manylinux` x86-64) is on PyPI for that version. This records facts only; it adds nothing to `backend/pyproject.toml` and chooses nothing (each hunt ticket does both). + +| Library (PyPI name) | Licence (SPDX) | Copyleft? | Newest stable, released | Wheels 3.12 Win / Linux | Maintained? (last release) | Source | +|---|---|---|---|---|---|---| +| `astroquery` | [BSD-3-Clause](https://github.com/astropy/astroquery/blob/main/LICENSE.rst) | No | 0.4.11, 20 Sep 2025 | Yes / Yes (one pure-Python wheel) | **No by the 12-month rule** (14 months; the repository is active, last push 24 Nov 2026) | [astropy/astroquery](https://github.com/astropy/astroquery) | +| `pyvo` | [BSD-3-Clause](https://pypi.org/project/pyvo/) | No | 1.10.0, 4 Nov 2026 | Yes / Yes (pure Python) | Yes (4 Nov 2026) | [astropy/pyvo](https://github.com/astropy/pyvo) | +| `mocpy` | [BSD-3-Clause](https://github.com/cds-astro/mocpy/blob/master/LICENSE) | No | 0.21.0, 27 Oct 2026 | Yes / Yes (`cp310-abi3`) | Yes (27 Oct 2026) | [cds-astro/mocpy](https://github.com/cds-astro/mocpy) | +| `pyarrow` | [Apache-2.0](https://pypi.org/project/pyarrow/) | No | 26.0.1, 3 Nov 2026 | Yes / Yes (`cp312`) | Yes (3 Nov 2026) | [apache/arrow](https://github.com/apache/arrow) | +| `photutils` | [BSD-3-Clause](https://pypi.org/project/photutils/) | No | 3.1.1, 16 Oct 2026 | Yes / Yes (`cp312-abi3`) | Yes (16 Oct 2026) | [astropy/photutils](https://github.com/astropy/photutils) | +| `lightkurve` | [MIT](https://github.com/lightkurve/lightkurve/blob/main/LICENSE) | No | 2.6.0, 16 Apr 2026 | Yes / Yes (one pure-Python wheel) | Yes (16 Apr 2026) | [lightkurve/lightkurve](https://github.com/lightkurve/lightkurve) | +| `dustmaps` | [GPL-2.0-only **OR** BSD-2-Clause](https://github.com/gregreen/dustmaps) (dual: `LICENSE.GPL-2.0` and `LICENSE.BSD-2-Clause`) | **Dual: usable under the BSD-2 option. Its dependency `healpy` is GPL-2.0-only** | 1.0.14, 4 Mar 2025 | Yes / Yes (one pure-Python wheel) | **No** (20 months; the repository was pushed 22 Oct 2026) | [gregreen/dustmaps](https://github.com/gregreen/dustmaps) | + +**Constraints and flags for the hunt tickets (batch A).** + +- **Copyleft, D-41.** Nothing in this batch is GPL itself, but **`dustmaps` requires `healpy` (GPL-2.0-only, [COPYING](https://github.com/healpy/healpy/blob/main/COPYING))** on a plain install, so a default install of `dustmaps` pulls GPL code in. Under D-41 that makes the H9 dust correction an optional plugin, or it needs a route that avoids `healpy`; the H9 ticket decides. The BSD-2 option of `dustmaps` itself does not remove the `healpy` dependency. +- **Weak copyleft.** `tqdm` (MPL-2.0 AND MIT, file-level copyleft) is pulled in by `lightkurve` and `dustmaps`; it is not GPL and is only a flag. +- **Not maintained by the 12-month rule: `astroquery` and `dustmaps`.** Both repositories are active, but their last stable releases are older than 12 months. The ticket that pins either re-checks the release date first. +- **Dependency chain.** `astroquery` requires `pyvo>=1.5`, so the two are pinned together. `lightkurve` requires `astroquery`, `scikit-learn`, `pandas<3`, `bokeh`, `s3fs` and `matplotlib`, a heavy install; its `fbpca` dependency is declared only as "BSD License" on PyPI, with no SPDX id. +- **Python 3.12 floor.** `photutils` 3.x requires Python >=3.12 and `numpy>=2`, and `pyarrow` 26 requires >=3.11. Both fit a 3.12 backend; the pinned `numpy` must satisfy `photutils`. +- **Install.** All seven are on PyPI; none needs installing from source. + ### A22.12 Plan, tickets and owners Owners follow D-17 and are to be confirmed. Each search hunt ticket ships its calibration and purity tables in the same ticket, and the hunt becomes **Validated** when its gate passes (R-27). **Release 1 minimum (R-27):** HN-0, HN-1, HN-2, HN-3, HN-4b, HN-5 and HN-6 (the core, the bundle, the H4 audit and H8); the other tickets follow in the order of the table. **Said plainly:** the calibration harness (HN-4) is not in this minimum, so the release 1 **minimum** ships **no Validated search hunt** (H1 and H2 become Validated only once HN-4, HN-8 and HN-9 land, still within release 1 per R-8); H4 known rocks is Characterisation and H8 stays Experimental. R-31 to R-33 (two controls, separate controls, the maximum-statistic threshold) raise the calibration cost above R-22's estimate; HN-4 re-estimates it before it starts. R-34's automatic gate re-runs need an owner and a runner, to be named in HN-4.