Skip to content

fix: update typer version constraint to >=0.19 for Literal type support#265

Merged
toby-coleman merged 2 commits into
mainfrom
copilot/update-typer-version-constraint
Jun 4, 2026
Merged

fix: update typer version constraint to >=0.19 for Literal type support#265
toby-coleman merged 2 commits into
mainfrom
copilot/update-typer-version-constraint

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 4, 2026

Summary

Typer added typing.Literal support in 0.19.0. The previous constraint (>=0.12) allowed installations that would raise RuntimeError: Type not yet supported: typing.Literal['local', 'ray'] when invoking CLI commands like plugboard process run.

Changes

  • Bumped the typer lower-bound in pyproject.toml from >=0.12 to >=0.19

Copilot AI linked an issue Jun 4, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Update version constraint for Typer to support literals fix: update typer version constraint to >=0.19 for Literal type support Jun 4, 2026
Copilot AI requested a review from toby-coleman June 4, 2026 09:42
@toby-coleman toby-coleman marked this pull request as ready for review June 4, 2026 12:28
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

Benchmark comparison for 20fda4b1 (base) vs a94d06fc (PR)


------------------------------------------------------------------------------------------------------------------ benchmark: 2 tests -----------------------------------------------------------------------------------------------------------------
Name (time in ms)                                                                         Min                 Max                Mean            StdDev              Median               IQR            Outliers     OPS            Rounds  Iterations
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_benchmark_process_run (pr/.benchmarks/Linux-CPython-3.14-64bit/0001_pr)         530.7088 (1.0)      543.0744 (1.0)      535.8005 (1.0)      4.5996 (1.0)      535.4276 (1.0)      5.2162 (1.0)           2;0  1.8664 (1.0)           5           1
test_benchmark_process_run (main/.benchmarks/Linux-CPython-3.14-64bit/0001_base)     544.4225 (1.03)     562.3965 (1.04)     550.0654 (1.03)     7.2991 (1.59)     548.7844 (1.02)     8.3095 (1.59)          1;0  1.8180 (0.97)          5           1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Legend:
  Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
  OPS: Operations Per Second, computed as 1 / Mean

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@toby-coleman toby-coleman merged commit e6ca044 into main Jun 4, 2026
29 checks passed
@toby-coleman toby-coleman deleted the copilot/update-typer-version-constraint branch June 4, 2026 13:24
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.

bug: CLI commands emit Typer error

2 participants