Skip to content

Fix Python CI install failure and bump deprecated actions - #89

Merged
ATaylorAerospace merged 1 commit into
mainfrom
claude/refactor-ion-propulsion-p2GVC
Sep 2, 2026
Merged

ATaylorAerospace merged 1 commit into
mainfrom
claude/refactor-ion-propulsion-p2GVC

Conversation

@claude

@claude claude Bot commented Sep 2, 2026

Copy link
Copy Markdown

Summary

Follow-up to #88. The first CI run on main after the merge failed in all three Python jobs (3.10, 3.11, 3.12) at the install step; the C++ and MATLAB jobs passed.

Cause

hatchling refuses a readme path outside the package directory:

ValueError: Readme path must be within the project directory: ../README.md

Fix

  • Add python/README.md (short package README that points to the repository README) and reference it from pyproject.toml.
  • Bump actions/checkout to v5 and actions/setup-python to v6, which the same run flagged as Node 20 deprecated, and give the pip cache an explicit dependency path.
  • List the new file in the repository tree in the README.

Verification

Run with the exact CI commands from the repository root:

Step Result
python -m pip install -e "./python[test]" exit 0, Successfully installed ion-propulsion-1.2.0
python -m pytest python/tests 78 passed
pip show ion-propulsion Version 1.2.0, Author A Taylor, License MIT

Generated by Claude Code

…tions

The merged CI run failed in every Python job at the install step because
hatchling rejects a readme path outside the package directory
("Readme path must be within the project directory: ../README.md").
Add python/README.md, point pyproject.toml at it, and list it in the
repository tree.

Bump actions/checkout to v5 and actions/setup-python to v6, which the
same run flagged as Node 20 deprecated, and give the pip cache an
explicit dependency path.

Verified with the exact CI commands: pip install -e "./python[test]"
succeeds and python -m pytest python/tests passes 78 tests.
@ATaylorAerospace
ATaylorAerospace merged commit 0b06ed2 into main Sep 2, 2026
5 checks passed
@ATaylorAerospace
ATaylorAerospace deleted the claude/refactor-ion-propulsion-p2GVC branch September 2, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant