Skip to content

chore(deps): allow typer 0.28, stay below 0.29 - #167

Merged
lab700xdev merged 1 commit into
mainfrom
deps-typer-0.28
Nov 30, 2026
Merged

lab700xdev merged 1 commit into
mainfrom
deps-typer-0.28

Conversation

@lab700xdev

@lab700xdev lab700xdev commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Raises the typer cap from <0.28.0 to <0.29.0 and locks 0.28.0. This is an alternative to #152, which moves to 0.29.2.

Why stop below 0.29. typer 0.29.0 uses pydantic to validate parameters. Compared with 0.27.3, 0.29.2:

  • adds four runtime packages for every user: pydantic, pydantic-core (compiled), annotated-types and typing-inspection. The macOS arm64 binary grows from 23 MB to 26 MB;
  • shows <bool> beside flags that take no value in --help;
  • rewords some validation errors, e.g. Value error, 'nope' is not one of ....

Exit codes and scan, score and comply output did not change on 0.29.2, so this is about dependencies and CLI text. 0.28.0 has none of these changes.

What 0.28.0 changes. One fix: setting a metavar no longer changes an option's default name (upstream PR). aisbom/ sets no metavars.

Verification, merged with main at 9f0b770:

  • poetry check --lock passes; 2673 tests passed, 6 skipped (they need a filesystem that keeps raw bytes), 95.85% coverage.
  • CLI output and exit codes are byte-identical to 0.27.3, with timestamps and random IDs normalized and network access disabled: help for every command, scan, score, comply, diff and error paths.
  • A macOS arm64 standalone binary builds at 23 MB, exits 2 on a CRITICAL finding, and runs comply.
  • The release build steps passed on Linux x86_64, macOS Intel and macOS arm64, merged with main at b44d8bf: https://github.com/Lab700xOrg/aisbom/actions/runs/46351603465. The temporary branch and workflow are being removed.

poetry update typer also restores a Python-version marker on one numpy entry (a dev dependency) that earlier lock updates had dropped.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T04:01:20.766223Z 760ea3e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lab700xdev
lab700xdev merged commit cafb90b into main Nov 30, 2026
2 checks passed
@lab700xdev
lab700xdev deleted the deps-typer-0.28 branch November 30, 2026 04:25
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