Skip to content

U/kertai/automatic update#61

Open
mkertai wants to merge 3 commits into
masterfrom
u/kertai/automatic-update
Open

U/kertai/automatic update#61
mkertai wants to merge 3 commits into
masterfrom
u/kertai/automatic-update

Conversation

@mkertai
Copy link
Copy Markdown
Contributor

@mkertai mkertai commented May 18, 2026

No description provided.

mkertai added 3 commits May 21, 2026 17:54
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
@mkertai mkertai force-pushed the u/kertai/automatic-update branch from b5d4559 to ea55bda Compare May 21, 2026 15:54
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