Repository navigation
fix(arcticpy): build 2.7 from a pinned GitHub commit until it is on PyPI - #373
Merged
Merged
Conversation
install_arcticpy.sh now builds arcticpy from git+https://github.com/jkeger/arctic@6f5153582aca00b7b0cc11ab04b2c58a7502400d (2.7: numpy 2 / Cython 3 support) by default. Setting ARCTICPY_VERSION installs that version from PyPI instead, which is the revert path once 2.7 is published. Build deps get numpy>=2 / cython>=3 floors. Tests assert the source is pinned to a full commit and the no-cache install line still holds. Stopgap for PyAutoHeart#372: the only PyPI owner of arcticpy cannot log in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 26, 2026
docs(arcticpy): install 2.7 from a pinned GitHub commit until it is on PyPI
PyAutoLabs/PyAutoCTI#132
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
arcticpy 2.7 (numpy 2 / Cython 3 support, upstream jkeger/arctic #73 + #75) cannot be published to PyPI yet: its only PyPI owner cannot log in, and the Hands token is refused for arcticpy (probed, 403). This makes the organism's single arcticpy installer build 2.7 from a pinned GitHub commit instead of
arcticpy==2.6from PyPI, so cti-upkeep work is not stalled. Closes the stopgap part of #372.API Changes
No Python API changes. Installer contract change in
.github/actions/install-arcticpy/install_arcticpy.sh:ARCTICPY_SOURCE, defaultgit+https://github.com/jkeger/arctic@6f5153582aca00b7b0cc11ab04b2c58a7502400d(2.7).ARCTICPY_VERSIONnow defaults to empty; a value installsarcticpy==<value>from PyPI (the revert path: default it to2.7once published).numpy>=2/cython>=3floors. Every consumer (lib-tests, smoke-tests, docs-build, Hands python_matrix, localpyauto-heart smoke, Nerves Colab) switches when this merges, since they all run this script frommain.See full details below.
Test Plan
tests/test_smoke.py: 33 passed (new assert: source pinned to a full 40-hex commit)arcticpy_smoke.pyOKpyauto-heart smoke autoctifrom this branch (env built by this installer): 44/44 PASStest_autocti279 passed and autocti_workspace_test likelihood pins unchanged under 2.7arcticpy-action.ymlon this branch (3.12, 3.13)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.Full API Changes (for automation & release notes)
Added
ARCTICPY_SOURCEenv var ininstall_arcticpy.sh— pip URL built whenARCTICPY_VERSIONis empty.Changed
ARCTICPY_VERSIONdefault2.6→ empty (empty = buildARCTICPY_SOURCE).action.yml/arcticpy-action.ymlversioninput descriptions;heart/smoke.pypip-check comment (code unchanged).Migration
ARCTICPY_VERSIONunset →arcticpy==2.6from PyPI.ARCTICPY_VERSION=2.6restores the old behaviour.Companion: PyAutoCTI PR on the same branch (docs/config only).
Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code