Repository navigation
Description
Overview
arcticpy 2.7 (numpy 2, Cython 3, Python 3.13 support, plus the 2026 Euclid DR2 well-filling and pixel-bounce updates) is merged upstream in jkeger/arctic but cannot reach PyPI for now: the only PyPI owner of arcticpy is Jammy2211, whose PyPI MFA is broken (an open PyPI support case), and the Hands PYPI token belongs to rhayes777, which a no-publish probe confirmed is refused (403) for arcticpy. This stopgap points the organism's single arcticpy installer at a pinned GitHub commit of 2.7, so cti-upkeep work is not stalled. It is reverted to arcticpy==2.7 from PyPI once the login is restored (draft/maintenance/pyautoheart/arcticpy_pin_bump_after_upstream_release.md).
Plan
- Point Heart's arcticpy installer at a pinned GitHub commit of
jkeger/arctic(2.7) instead of PyPI 2.6, keeping a version setting to go back to PyPI later. - Pin the exact commit, not a
v2.7tag, so nothing waits on upstream and the eventual PyPI 2.7 is built from the same code. - Update autocti's
pyproject.tomlnote on how to install arcticpy. - Add a dated note to the workspace_test likelihood pins: checked against 2.7, unchanged.
- Leave the existing PyPI-bump draft as the later switch back to
arcticpy==2.7and the DNA entry; the 2c install-docs rewrite is unblocked and goes separately. - Tier: effective level: human-required; merge mode: human /prm
Detailed implementation plan
Affected Repositories
- PyAutoHeart (primary)
- PyAutoCTI
- autocti_workspace_test
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./organs/PyAutoHeart | main | clean |
| ./cti/PyAutoCTI | main | clean |
| ./cti/autocti_workspace_test | main | clean |
Suggested branch: feature/arcticpy-27-git-source
Evidence (local pilot, 2026-11-26)
pip install --no-build-isolation --no-deps "arcticpy @ git+https://github.com/jkeger/arctic@6f5153582a"builds on Python 3.13 / numpy 2.5.4 / Cython 3.3 / libgsl-dev 2.7.1.- Heart
arcticpy_smoke.py: OK.test_autocti: 279 passed with 2.7 imported (verified viaimportlib.metadata). - autocti_workspace_test
scripts/{dataset_1d,imaging_ci}/likelihood/pins.py: both OK unchanged — the expected DR2 pin movement did not occur.
Implementation Steps
- PyAutoHeart
.github/actions/install-arcticpy/install_arcticpy.sh: addARCTICPY_SOURCEdefaulting togit+https://github.com/jkeger/arctic@6f5153582aca00b7b0cc11ab04b2c58a7502400d; whenARCTICPY_VERSIONis set, installarcticpy==$ARCTICPY_VERSIONfrom PyPI instead. Install line:pip install "arcticpy @ ${ARCTICPY_SOURCE}" --no-build-isolation --no-deps --no-cache-dir. Header comments explain the stopgap, why, and how to revert..github/actions/install-arcticpy/action.yml:versioninput description (empty = GitHub commit, a value = that PyPI version) and the comments naming the2.6pin..github/workflows/arcticpy-action.yml: comment touch only.tests/test_smoke.py:573: update the default-line assertion to the new form, also asserting theARCTICPY_SOURCEdefault.- Keep the narrow
pip checkexception inheart/smoke.py(harmless; removal belongs to the PyPI step). - Testing:
pytest tests/test_smoke.py; dispatcharcticpy-action.ymlon the branch (3.12, 3.13); one autoctilib-testsrun.
- PyAutoCTI:
pyproject.toml:27-32comment → the git install command. No code change (arcticpy is not a pip dependency). - autocti_workspace_test: dated provenance note in both
pins.pydocstrings — verified unchanged under arcticpy 2.7 (6f51535), 2026-11-26. No value changes. - Ship order: Heart + PyAutoCTI (ship_library), then workspace_test (ship_workspace); human
/prmfor each.
Key Files
organs/PyAutoHeart/.github/actions/install-arcticpy/install_arcticpy.sh— the single arcticpy pin and recipe for CI, local smoke, the Hands python matrix and Nerves Colab setuporgans/PyAutoHeart/.github/actions/install-arcticpy/action.yml— composite action wrapperorgans/PyAutoHeart/tests/test_smoke.py— asserts the installer's default linecti/PyAutoCTI/pyproject.toml— install notecti/autocti_workspace_test/scripts/{dataset_1d,imaging_ci}/likelihood/pins.py— pin provenance
Overlap
PyAutoHeart#365 (smoke cache stats, awaiting input) works in Heart smoke code but holds no claim; the only possible shared file is tests/test_smoke.py, in a different test.
Original Prompt
Click to expand starting prompt
Heart: install arcticpy 2.7 from GitHub until it reaches PyPI (stopgap)
Type: maintenance
Target: PyAutoHeart
Repos:
- @PyAutoHeart
- @PyAutoCTI
- @autocti_workspace_test
Themes: - cti
- install
Difficulty: small
Autonomy: human-required
Priority: high
Status: formalised
Consequence: judge
Review-minutes: 15
Unattended: never
Lane: any
Epic: cti-upkeep
Phase: 2b
Supersedes-blocker-of: draft/maintenance/pyautoheart/arcticpy_pin_bump_after_upstream_release.md (that draft stays as the switch back to PyPI)
Request (human, 2026-11-26, verbatim)
arcticpy 2.7 interim GitHub-install stopgap (cti-upkeep phase 2b unblock): tag v2.7 on
jkeger/arctic (after heads-up to Richard Massey), add an arcticpy source setting to
PyAutoHeart's install-arcticpy script defaulting to git+https://github.com/jkeger/arctic@v2.7
instead of PyPI 2.6, update PyAutoCTI pyproject comment + install docs to the git install.
Reason: PyPI arcticpy owner is only Jammy2211, whose PyPI MFA is broken (open PyPI support
issue); Hands PYPI token is rhayes777's and was probed 403 on arcticpy 2026-11-26. Revert to
arcticpy==2.7 on PyPI once login is restored.
Facts established 2026-11-26 (don't re-derive)
- PyPI arcticpy roles: Owner
Jammy2211only. Handssecrets.PYPIis a whole-account token
ofrhayes777; a no-publish probe (re-upload of the identical 2.6 sdist) returned
403 The user 'rhayes777' isn't allowed to upload to project 'arcticpy'. - Upstream
jkeger/arcticmain =6f5153582aca00b7b0cc11ab04b2c58a7502400d(PR ci(workspace-validation): raise per-script timeout to 1800s for mode=release #73 + feat(validation): mode=release advisory tier — gate on correctness, not the perf-flake tail #75
merged, pyproject version 2.7). No tags exist upstream. - Local pilot:
pip install --no-build-isolation --no-deps "arcticpy @ git+…@6f51535"builds
on Python 3.13 / numpy 2.5.4 / Cython 3.3 with libgsl-dev 2.7.1; Heartarcticpy_smoke.py
OK;test_autocti279 passed; autocti_workspace_testscripts/{dataset_1d,imaging_ci}/likelihood/pins.py
both OK unchanged. The 2b draft's "pins will move" trap did not fire. - Every consumer (Heart lib-tests/smoke-tests/docs-build, Heart local smoke.py, Hands
python_matrix, Nerves setup_colab) runs the singleinstall_arcticpy.shfrom Heart main.
Activity
Jammy2211 commentedon Nov 26, 2026
Heart RED override (development only)
feature/arcticpy-27-git-source(PyAutoHeart + PyAutoCTI).pyauto-heart readiness --dev --repos PyAutoHeart,PyAutoCTI):PyAutoHeart: Heart Tests failure on maintests/test_smoke_sha_gate.py—test_main_writes_record_outputs_and_summaryandtest_main_reads_force_and_the_latest_run_from_the_environment[env2-no main moved since run 100]fail on main since 2026-11-26 (fixed fixture dates from 2026-11-19 now hitFULL_SWEEP_MAX_AGE_DAYS = 7). Unrelated to this branch, which does not claim to fix it.tests/test_smoke.py33 passed.test_autocti: 279 passed with arcticpy 2.7 imported.pyauto-heart smoke autoctifrom the branch's Heart (environment built by the branch installer from the pinned commit, "arcticpy 2.7 imported successfully"): 44/44 scripts PASS./prmand every required check green. The Heart PR's own Heart Tests will show the same two main failures until main is fixed. Heart stays RED for release.Jammy2211 commentedon Nov 26, 2026
Library PRs merged
e1cf49e):install_arcticpy.shnow builds arcticpy 2.7 from jkeger/arctic@6f51535. Every consumer (lib-tests, smoke-tests, docs-build, Hands python_matrix, localpyauto-heart smoke, Nerves Colab) runs it frommain, so they all switch now.8c3781d): install note, RTD post_install and AGENTS.md recipe on the same commit./prmwith all checks green and Heart dev readiness GREEN (the earlier RED was cleared by fix(tests): smoke_sha_gate main() tests no longer drift with the real clock #375).Remaining: the dated provenance note in autocti_workspace_test
scripts/{dataset_1d,imaging_ci}/likelihood/pins.py(verified unchanged under 2.7). Later: switch back toarcticpy==2.7from PyPI once the PyPI login is restored (Mind draftdraft/maintenance/pyautoheart/arcticpy_pin_bump_after_upstream_release.md).Jammy2211 commentedon Nov 26, 2026
Shipped
All three PRs merged via human
/prm:e1cf49e):install_arcticpy.shbuilds arcticpy 2.7 from jkeger/arctic@6f51535;ARCTICPY_VERSION=<v>installs from PyPI instead.8c3781d): install note, RTD and AGENTS.md recipe on the same commit.67b73bc): likelihood pins recorded as verified unchanged under 2.7.Evidence: test_autocti 279 passed, smoke autocti 44/44 and autocti_test 10/10 on 2.7, arcticpy action self-test green (3.12/3.13), all PR checks green.
Follow-up (separate Mind draft
draft/maintenance/pyautoheart/arcticpy_pin_bump_after_upstream_release.md): once the PyPI login is restored, publish 2.7 from this same commit and set the installer'sARCTICPY_VERSIONdefault to2.7.