Phrogz commented on issue #1309: URL: https://github.com/apache/hamilton/issues/1309#issuecomment-2892109635
click v8.2.0 gets installed. I'm not trying to invoke from inside Python. Here's a full trace of the repro steps: ```txt gkistner@gkistner-mlt:/tmp $ ls t4 ls: t4: No such file or directory gkistner@gkistner-mlt:/tmp $ mkdir t4 && cd t4 gkistner@gkistner-mlt:/tmp/t4 $ uv init Initialized project `t4` gkistner@gkistner-mlt:/tmp/t4 $ uv add "sf-hamilton[lsp,sdk,ui,visualization]" Using CPython 3.13.2 interpreter at: /opt/homebrew/opt/[email protected]/bin/python3.13 Creating virtual environment at: .venv Resolved 64 packages in 43ms Installed 61 packages in 207ms + aiofiles==24.1.0 + aiohappyeyeballs==2.6.1 + aiohttp==3.11.18 + aiosignal==1.3.2 + annotated-types==0.7.0 + asgiref==3.8.1 + attrs==25.3.0 + backoff==2.2.1 + cattrs==24.1.3 + certifi==2025.4.26 + charset-normalizer==3.4.2 + click==8.2.0 + colorlog==6.9.0 + distro==1.9.0 + django==5.2.1 + django-extensions==4.1 + django-ninja==1.4.1 + frozenlist==1.6.0 + gitdb==4.0.12 + gitpython==3.1.44 + graphviz==0.20.3 + idna==3.10 + jinja2==3.1.6 + loguru==0.7.3 + lsprotocol==2023.0.1 + markdown-it-py==3.0.0 + markupsafe==3.0.2 + mdurl==0.1.2 + multidict==6.4.4 + mypy-extensions==1.1.0 + networkx==3.4.2 + numpy==2.2.6 + pandas==2.2.3 + passlib==1.7.4 + posthog==4.0.1 + propcache==0.3.1 + psycopg2-binary==2.9.10 + pydantic==2.11.4 + pydantic-core==2.33.2 + pygls==1.3.1 + pygments==2.19.1 + python-dateutil==2.9.0.post0 + pytz==2025.2 + requests==2.32.3 + rich==14.0.0 + sf-hamilton==1.88.0 + sf-hamilton-lsp==0.1.0 + sf-hamilton-sdk==0.8.0 + sf-hamilton-ui==0.0.17 + shellingham==1.5.4 + six==1.17.0 + smmap==5.0.2 + sqlglot==26.17.1 + sqlparse==0.5.3 + typer==0.15.3 + typing-extensions==4.13.2 + typing-inspect==0.9.0 + typing-inspection==0.4.0 + tzdata==2025.2 + urllib3==2.4.0 + yarl==1.20.0 gkistner@gkistner-mlt:/tmp/t4 $ source .venv/bin/activate (t4) gkistner@gkistner-mlt:/tmp/t4 $ hamilton --help Usage: hamilton [OPTIONS] COMMAND [ARGS]... Hamilton CLI ╭────────────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────────────────────────────╮ │ /private/tmp/t4/.venv/bin/hamilton:8 in <module> │ │ │ │ 5 from hamilton.cli.__main__ import cli │ │ 6 if __name__ == "__main__": │ │ 7 │ sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0]) │ │ ❱ 8 │ sys.exit(cli()) │ │ 9 │ │ │ │ ╭────────────────────────────────────────────────────────────────── locals ──────────────────────────────────────────────────────────────────╮ │ │ │ cli = <typer.main.Typer object at 0x119b3a3c0> │ │ │ │ re = <module 're' from '/opt/homebrew/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/re/__init__.py'> │ │ │ │ sys = <module 'sys' (built-in)> │ │ │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/typer/main.py:340 in __call__ │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/typer/main.py:323 in __call__ │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/click/core.py:1442 in __call__ │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/typer/core.py:740 in main │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/typer/core.py:194 in _main │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/click/core.py:1186 in make_context │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/click/core.py:1786 in parse_args │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/click/core.py:1197 in parse_args │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/click/core.py:2416 in handle_parse_result │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/click/core.py:2355 in process_value │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/click/decorators.py:539 in show_help │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/click/core.py:730 in get_help │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/click/core.py:1064 in get_help │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/typer/core.py:754 in format_help │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/typer/rich_utils.py:614 in rich_format_help │ │ │ │ /private/tmp/t4/.venv/lib/python3.13/site-packages/typer/rich_utils.py:373 in _print_options_panel │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ TypeError: Parameter.make_metavar() missing 1 required positional argument: 'ctx' (t4) gkistner@gkistner-mlt:/tmp/t4 $ python --version Python 3.13.2 (t4) gkistner@gkistner-mlt:/tmp/t4 $ cat pyproject.toml [project] name = "t4" version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.13" dependencies = [ "sf-hamilton[lsp,sdk,ui,visualization]>=1.88.0", ] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
