U/kertai/automatic update#61
Open
mkertai wants to merge 3 commits into
Open
Conversation
Add a workflow_dispatch-triggered GitHub Actions workflow that: - Updates requirements*.txt via `make update-requirements` - Bumps the version via `make bump-version` - Commits and pushes to an `auto-update-requirements` branch - Calls ci.yml via workflow_call to run tests on the updated code - If CI passes: merges to master and deletes the branch - If CI fails: deletes the branch only Also update ci.yml to: - Add workflow_call trigger with optional ref input so it can be called from update_requirements with the correct commit sha - Add auto-update-requirements to push trigger branches - Upgrade actions/checkout from v3 to v4 References: azure #710347
Pin charset-normalizer to avoid dependency resolution issues in downstream projects. References: azure #710347
Newer versions of type stubs (types-setuptools) are stricter about method signature compatibility. The parse_known_args override used Sequence[str] which is incompatible with the supertype's Iterable[str] overloads, causing mypy to report an error: Signature of "parse_known_args" incompatible with supertype "argparse.ArgumentParser" [override] Fix by using Iterable[str] to match the supertype signature. Also update set_defaults_from_config accordingly since it receives the same argument. References: azure #710347
b5d4559 to
ea55bda
Compare
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.
No description provided.