Trying to create a new project on Ubuntu seems to fail
Seems to do nothing just an empty directory. If you exclude the --ai flag I get to choose an AI (Github Copilot) but then it just bombs out from there? Here's some logs from my terminal, with some command showing python version and that copilot command line is working.
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal
python --version Python 3.11.9 vagrant:~/foo ()$ gh auth status github.com ✓ Logged in to github.com account darrenrkb (/home/vagrant/snap/gh/640/.config/gh/hosts.yml)
- Active account: true
- Git operations protocol: https
- Token: gho_************************************
- Token scopes: 'gist', 'read:org', 'repo', 'workflow' vagrant:~/foo ()$ gh copilot explain "git stash"
Welcome to GitHub Copilot in the CLI! version 1.1.1 (2025-06-17)
I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency
Explanation:
• git stash is used to temporarily save changes that are not ready to be committed.
• It allows you to revert to a clean working directory while preserving your uncommitted changes.
• Common sub-commands include:
• git stash save "message" to save the current changes with an optional message.
• git stash pop to apply the most recently stashed changes and remove them from the stash.
• git stash list to view the list of stashed changes.
• git stash apply to apply the most recently stashed changes without removing them from the stash.
• You can leverage git stash --help for more information on available options and usage.
vagrant:~/foo ()$ uvx -v --native-tls --from git+https://github.com/github/spec-kit.git specify init --here --ai copilot
DEBUG uv 0.8.15
DEBUG Searching for default Python interpreter in managed installations or search path
DEBUG Searching for managed installations at /home/vagrant/.local/share/uv/python
DEBUG Found cpython-3.11.9-linux-x86_64-gnu at /home/vagrant/.pyenv/shims/python (first executable in the search path)
DEBUG Using request timeout of 30s
DEBUG Attempting GitHub fast path for: git+https://github.com/github/spec-kit.git
DEBUG Querying GitHub for commit at: https://api.github.com/repos/github/spec-kit/commits/HEAD
DEBUG Attempting to fetch pyproject.toml from: https://raw.githubusercontent.com/github/spec-kit/c106281eff19c4dfb096d4033fa0450a3ea52c7e/pyproject.toml
DEBUG Found static metadata via GitHub fast path for: git+https://github.com/github/spec-kit.git
DEBUG Acquired lock for /home/vagrant/.local/share/uv/tools
DEBUG Checking for Python environment at: /home/vagrant/.local/share/uv/tools/specify-cli
DEBUG Released lock at /home/vagrant/.local/share/uv/tools/.lock
DEBUG Assessing Python executable as base candidate: /home/vagrant/.pyenv/versions/3.11.9/bin/python
DEBUG Caching via base interpreter: /home/vagrant/.pyenv/versions/3.11.9/bin/python
DEBUG Using request timeout of 30s
DEBUG Solving with installed Python version: 3.11.9
DEBUG Solving with target Python version: >=3.11.9
DEBUG Adding direct dependency: specify-cli*
DEBUG Searching for a compatible version of specify-cli @ git+https://github.com/github/spec-kit.git ()
DEBUG Adding transitive dependency for specify-cli==0.0.2: typer
DEBUG Adding transitive dependency for specify-cli==0.0.2: rich*
DEBUG Adding transitive dependency for specify-cli==0.0.2: httpx*
DEBUG Adding transitive dependency for specify-cli==0.0.2: platformdirs*
DEBUG Adding transitive dependency for specify-cli==0.0.2: readchar*
DEBUG Found fresh response for: https://pypi.org/simple/typer/
DEBUG Found fresh response for: https://pypi.org/simple/rich/
DEBUG Searching for a compatible version of typer ()
DEBUG Selecting: typer==0.17.3 [compatible] (typer-0.17.3-py3-none-any.whl)
DEBUG Found fresh response for: https://pypi.org/simple/readchar/
DEBUG Found fresh response for: https://pypi.org/simple/httpx/
DEBUG Found fresh response for: https://pypi.org/simple/platformdirs/
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/a9/10/e4b1e0e5b6b6745c8098c275b69bc9d73e9542d5c7da4f137542b499ed44/readchar-4.2.1-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/ca/e8/b3d537470e8404659a6335e7af868e90657efb73916ef31ddf3d8b9cb237/typer-0.17.3-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl.metadata
DEBUG Adding transitive dependency for typer==0.17.3: click>=8.0.0
DEBUG Adding transitive dependency for typer==0.17.3: typing-extensions>=3.7.4.3
DEBUG Adding transitive dependency for typer==0.17.3: shellingham>=1.3.0
DEBUG Adding transitive dependency for typer==0.17.3: rich>=10.11.0
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/e3/30/3c4d035596d3cf444529e0b2953ad0466f6049528a879d27534700580395/rich-14.1.0-py3-none-any.whl.metadata
DEBUG Searching for a compatible version of rich (>=10.11.0)
DEBUG Selecting: rich==14.1.0 [compatible] (rich-14.1.0-py3-none-any.whl)
DEBUG Adding transitive dependency for rich==14.1.0: markdown-it-py>=2.2.0
DEBUG Adding transitive dependency for rich==14.1.0: pygments>=2.13.0, <3.0.0
DEBUG Searching for a compatible version of httpx ()
DEBUG Selecting: httpx==0.28.1 [compatible] (httpx-0.28.1-py3-none-any.whl)
DEBUG Adding transitive dependency for httpx==0.28.1: anyio*
DEBUG Adding transitive dependency for httpx==0.28.1: certifi*
DEBUG Adding transitive dependency for httpx==0.28.1: httpcore>=1.dev0, <2.dev0
DEBUG Adding transitive dependency for httpx==0.28.1: idna*
DEBUG Searching for a compatible version of platformdirs ()
DEBUG Selecting: platformdirs==4.4.0 [compatible] (platformdirs-4.4.0-py3-none-any.whl)
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/40/4b/2028861e724d3bd36227adfa20d3fd24c3fc6d52032f4a93c133be5d17ce/platformdirs-4.4.0-py3-none-any.whl.metadata
DEBUG Searching for a compatible version of readchar ()
DEBUG Selecting: readchar==4.2.1 [compatible] (readchar-4.2.1-py3-none-any.whl)
DEBUG Found fresh response for: https://pypi.org/simple/click/
DEBUG Found fresh response for: https://pypi.org/simple/typing-extensions/
DEBUG Found fresh response for: https://pypi.org/simple/markdown-it-py/
DEBUG Found fresh response for: https://pypi.org/simple/anyio/
DEBUG Found fresh response for: https://pypi.org/simple/shellingham/
DEBUG Found fresh response for: https://pypi.org/simple/pygments/
DEBUG Found fresh response for: https://pypi.org/simple/certifi/
DEBUG Found fresh response for: https://pypi.org/simple/httpcore/
DEBUG Found fresh response for: https://pypi.org/simple/idna/
DEBUG Searching for a compatible version of click (>=8.0.0)
DEBUG Searching for a compatible version of click (>=8.0.0, <8.2.2 | >8.2.2)
DEBUG Selecting: click==8.2.1 [compatible] (click-8.2.1-py3-none-any.whl)
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/94/54/e7d793b573f298e1c9013b8c4dade17d481164aa517d1d7148619c2cedbf/markdown_it_py-4.0.0-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/6f/12/e5e0282d673bb9746bacfb6e2dba8719989d3660cdb2ea79aee9a9651afb/anyio-4.10.0-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/e5/48/1549795ba7742c948d2ad169c1c8cdbae65bc450d6cd753d124b17c8cd32/certifi-2025.8.3-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/85/32/10bb5764d90a8eee674e9dc6f4db6a0ab47c8c4d0d83c27f7c39ac415a4d/click-8.2.1-py3-none-any.whl.metadata
DEBUG Searching for a compatible version of typing-extensions (>=3.7.4.3)
DEBUG Selecting: typing-extensions==4.15.0 [compatible] (typing_extensions-4.15.0-py3-none-any.whl)
DEBUG Searching for a compatible version of shellingham (>=1.3.0)
DEBUG Selecting: shellingham==1.5.4 [compatible] (shellingham-1.5.4-py2.py3-none-any.whl)
DEBUG Searching for a compatible version of markdown-it-py (>=2.2.0)
DEBUG Selecting: markdown-it-py==4.0.0 [compatible] (markdown_it_py-4.0.0-py3-none-any.whl)
DEBUG Adding transitive dependency for markdown-it-py==4.0.0: mdurl>=0.1, <1.dev0
DEBUG Searching for a compatible version of pygments (>=2.13.0, <3.0.0)
DEBUG Selecting: pygments==2.19.2 [compatible] (pygments-2.19.2-py3-none-any.whl)
DEBUG Searching for a compatible version of anyio ()
DEBUG Selecting: anyio==4.10.0 [compatible] (anyio-4.10.0-py3-none-any.whl)
DEBUG Adding transitive dependency for anyio==4.10.0: idna>=2.8
DEBUG Adding transitive dependency for anyio==4.10.0: sniffio>=1.1
DEBUG Adding transitive dependency for anyio==4.10.0: typing-extensions{python_full_version < '3.13'}>=4.5
DEBUG Searching for a compatible version of typing-extensions{python_full_version < '3.13'} (>=4.5)
DEBUG Selecting: typing-extensions==4.15.0 [compatible] (typing_extensions-4.15.0-py3-none-any.whl)
DEBUG Found fresh response for: https://pypi.org/simple/mdurl/
DEBUG Adding transitive dependency for typing-extensions==4.15.0: typing-extensions==4.15.0
DEBUG Adding transitive dependency for typing-extensions==4.15.0: typing-extensions{python_full_version < '3.13'}==4.15.0
DEBUG Searching for a compatible version of typing-extensions{python_full_version < '3.13'} (==4.15.0)
DEBUG Selecting: typing-extensions==4.15.0 [compatible] (typing_extensions-4.15.0-py3-none-any.whl)
DEBUG Searching for a compatible version of certifi ()
DEBUG Selecting: certifi==2025.8.3 [compatible] (certifi-2025.8.3-py3-none-any.whl)
DEBUG Searching for a compatible version of httpcore (>=1.dev0, <2.dev0)
DEBUG Selecting: httpcore==1.0.9 [compatible] (httpcore-1.0.9-py3-none-any.whl)
DEBUG Adding transitive dependency for httpcore==1.0.9: certifi*
DEBUG Adding transitive dependency for httpcore==1.0.9: h11>=0.16
DEBUG Searching for a compatible version of idna (>=2.8)
DEBUG Selecting: idna==3.10 [compatible] (idna-3.10-py3-none-any.whl)
DEBUG Searching for a compatible version of mdurl (>=0.1, <1.dev0)
DEBUG Selecting: mdurl==0.1.2 [compatible] (mdurl-0.1.2-py3-none-any.whl)
DEBUG Found fresh response for: https://pypi.org/simple/sniffio/
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl.metadata
DEBUG Found fresh response for: https://pypi.org/simple/h11/
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl.metadata
DEBUG Searching for a compatible version of sniffio (>=1.1)
DEBUG Selecting: sniffio==1.3.1 [compatible] (sniffio-1.3.1-py3-none-any.whl)
DEBUG Searching for a compatible version of h11 (>=0.16)
DEBUG Selecting: h11==0.16.0 [compatible] (h11-0.16.0-py3-none-any.whl)
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl.metadata
DEBUG Tried 18 versions: anyio 1, certifi 1, click 1, h11 1, httpcore 1, httpx 1, idna 1, markdown-it-py 1, mdurl 1, platformdirs 1, pygments 1, readchar 1, rich 1, shellingham 1, sniffio 1, specify-cli 1, typer 1, typing-extensions 1
DEBUG marker environment resolution took 0.014s
Resolved 18 packages in 16ms
DEBUG Checking for Python environment at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/anyio-4.10.0.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/certifi-2025.8.3.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/click-8.2.1.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/h11-0.16.0.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/httpcore-1.0.9.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/httpx-0.28.1.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/idna-3.10.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/markdown_it_py-4.0.0.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/mdurl-0.1.2.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/platformdirs-4.4.0.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/pygments-2.19.2.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/readchar-4.2.1.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/rich-14.1.0.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/shellingham-1.5.4.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/sniffio-1.3.1.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/specify_cli-0.0.2.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/typer-0.17.3.dist-info
DEBUG Looking at .dist-info at: /home/vagrant/.cache/uv/archive-v0/dCOOkiSJ6GEkr1MAdXxux/lib/python3.11/site-packages/typing_extensions-4.15.0.dist-info
DEBUG Running specify init --here --ai copilot
DEBUG Spawned child 72069 in process group 72004
███████╗██████╗ ███████╗ ██████╗██╗███████╗██╗ ██╗
██╔════╝██╔══██╗██╔════╝██╔════╝██║██╔════╝╚██╗ ██╔╝
███████╗██████╔╝█████╗ ██║ ██║█████╗ ╚████╔╝
╚════██║██╔═══╝ ██╔══╝ ██║ ██║██╔══╝ ╚██╔╝
███████║██║ ███████╗╚██████╗██║██║ ██║
╚══════╝╚═╝ ╚══════╝ ╚═════╝╚═╝╚═╝ ╚═╝
Spec-Driven Development Toolkit
╭────────────────────────────────────────╮ │ Specify Project Setup │ │ Initializing in current directory: foo │ │ Path: /home/vagrant/foo │ ╰────────────────────────────────────────╯ DEBUG Command exited with code: 1
$ ls -lta total 8 drwxr-xr-x 33 vagrant vagrant 4096 Sep 5 14:32 .. drwxrwxr-x 2 vagrant vagrant 4096 Sep 5 10:23 .
Same behavior here, different platform. The problem for me turned out to be private CA trust. When I disconnect from the corp VPN the private CA is no longer in play (for HTTPS). The command works just fine after that.
❯ python3 --version
Python 3.13.3
❯ uname -a
Darwin C9FN2VYQVK 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:28:30 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6030 arm64 arm Darwin
As @ChrisPbb says this appears to be some SSL issue with corporate proxy, problem is in the method.
def download_template_from_github(..)
I got Copilot to hack in in a retry if SSL verification fails and relax the ssl verification the 2nd time in a couple of places, i.e.
response = httpx.get(api_url, timeout=30, follow_redirects=True, verify=use_ssl_verify) ... with httpx.stream("GET", download_url, timeout=30, follow_redirects=True, verify=False) as response:
Workaround ok for me so you can close this issue if you like but I would at least suggest some better failure logging.
The latest version of Specify allows relying on truststore as well as bypassing TLS validation altogether. Recommend installing it and seeing if it works.
Yes it now seems to work - thanks.