Bug Description
Same error from homebrew or from directions in the README.md . click dep compat issue.
% uv tool install specify-cli --from
git+https://github.com/github/spec-kit.git@v0.4.5
Updated https://github.com/github/spec-kit.git (4fafe71)
Resolved 24 packages in 13ms
Built specify-cli @
git+https://github.com/github/spec-kit.git@4fafe71bf5df25da260d40366be7ab9e66
Prepared 1 package in 445ms
Uninstalled 1 package in 14ms
Installed 1 package in 4ms
- specify-cli==0.5.0 (from
git+https://github.com/github/spec-kit.git@2245a45d45f8a8a7f8412caca867fd56218fb6c0)
+ specify-cli==0.4.5 (from
git+https://github.com/github/spec-kit.git@4fafe71bf5df25da260d40366be7ab9e66c3b149)
Installed 1 executable: specify
whit@MacBook-Pro-2 cipr % specify --version
Traceback (most recent call last):
File "/Users/whit/.local/bin/specify", line 5, in <module>
from specify_cli import main
File "/Users/whit/.local/share/uv/tools/specify-cli/lib/python3.12/site-packages/specify_cli/
__init__.py", line 41, in <module>
import typer
File
"/Users/whit/.local/share/uv/tools/specify-cli/lib/python3.12/site-packages/typer/__init__.py",
line 29, in <module>
from .main import Typer as Typer
File
"/Users/whit/.local/share/uv/tools/specify-cli/lib/python3.12/site-packages/typer/main.py",
line 20, in <module>
from typer._types import TyperChoice
File
"/Users/whit/.local/share/uv/tools/specify-cli/lib/python3.12/site-packages/typer/_types.py",
line 9, in <module>
class TyperChoice(click.Choice[ParamTypeValue]):
~~~~~~~~~~~~^^^^^^^^^^^^^^^^
TypeError: type 'Choice' is not subscriptable
This works:
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@v0.5.0 --with 'typer<0.15' --force
Steps to Reproduce
brew {install,upgrade} specify && specify --version
Expected Behavior
the script does not error out.
Actual Behavior
^
Specify CLI Version
0.4.5,0.5.0
AI Agent
Not applicable
Operating System
osx
Python Version
3.12
Error Logs
Additional Context
No response
Bug Description
Same error from homebrew or from directions in the README.md .
clickdep compat issue.This works:
Steps to Reproduce
brew {install,upgrade} specify && specify --versionExpected Behavior
the script does not error out.
Actual Behavior
^
Specify CLI Version
0.4.5,0.5.0
AI Agent
Not applicable
Operating System
osx
Python Version
3.12
Error Logs
Additional Context
No response