Repository navigation
Point PHEP 8 readers to local usage and clarify project-file - #35
Merged
Merged
Conversation
Both actions pass project-file straight to the CLIs, which accept a project directory or its pyproject.toml and fall back to setup.py/setup.cfg when pyproject.toml is absent. "Path to pyproject.toml" implied only pyproject.toml projects are supported, so the description now leads with the directory and says the input is only needed when the project isn't at the repository root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PHEP 8 (heliophysicsPy/standards#51) sends readers to the PyHC Environment Compatibility Checker section for how to run the checker, but that section only showed the GitHub Actions workflow, and the Local Usage install step (`pip install -e .`) only worked from inside a clone of this repository. Both checker sections now point to Local Usage, which installs the released `@v1` code straight from GitHub and notes the uv prerequisite. A regular install works fully since v1.2.0, which bundles schedule.json and downloads the latest one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
PHEP 8 (heliophysicsPy/standards#51) moved its step-by-step directions for running the PyHC Environment Compatibility Checker out of the PHEP and into this README, and now links readers to the checker's section here (request). This PR makes that section and the local-usage directions work for those readers. It's docs and action metadata only, with no code changes.
Changes
Clarify the
project-fileinput description (both README Inputs tables and bothaction.ymlfiles)pyproject.tomlprojects are supported.pyproject.toml; only needed if the project isn't at the repository root".project-filestraight to the CLIs. The CLIs accept a project directory or itspyproject.toml, and with the default value they fall back tosetup.py/setup.cfgwhen there's nopyproject.toml.Point readers to local usage and fix its install step
pip install -e ., which only works from inside a clone of this repository. It now installs the released code directly:pip install git+https://github.com/heliophysicsPy/pyhc-actions.git@v1. Pinning@v1gives local runs the same release that workflows using@v1get.Testing
Followed the new directions exactly in a fresh virtualenv, from a small package's root directory:
pip install git+https://github.com/heliophysicsPy/pyhc-actions.git@v1installs, including the bundledpyhc_actions/phep3/schedule.json.phep3-checkwith no arguments prints "Downloading schedule.json from the latest pyhc-actions release..." and runs core package checks, with no "No schedule.json found" warning.pyhc-env-compat-check --check-uvfinds uv, andpyhc-env-compat-check --extras nonewith no arguments passes.action.ymlfiles still parse, andgit diff --checkis clean.🤖 Generated with Claude Code