version-fox / version-fox/vfox

[BUG]: Error is reported using vfox install python@3.13.7

Open
#550 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
4k
Forks
157
Avg merge
1h 3m
Merged PRs (30d)
5

Description

Version
vfox version 0.6.10
OS
WSL2

Describe the bug
❯ vfox install python@3.13.7
Preinstalling python@3.13.7...
Cloning into '/home/liucf/.version-fox/cache/python/v-3.13.7/pyenv'...
remote: Enumerating objects: 1433, done.
remote: Counting objects: 100% (1433/1433), done.
remote: Compressing objects: 100% (721/721), done.
remote: Total 1433 (delta 898), reused 901 (delta 579), pack-reused 0 (from 0)
Receiving objects: 100% (1433/1433), 1.16 MiB | 6.42 MiB/s, done.
Resolving deltas: 100% (898/898), done.
Building python ...
Downloading Python-3.13.7.tar.xz...
-> https://www.python.org/ftp/python/3.13.7/Python-3.13.7.tar.xz
Installing Python-3.13.7...

BUILD FAILED (Ubuntu 24.04 using python-build 2.6.8)

Inspect or clean up the working tree at /tmp/python-build.20251001233817.91654
Results logged to /tmp/python-build.20251001233817.91654.log

Last 10 log lines:
File "/tmp/python-build.20251001233817.91654/Python-3.13.7/Lib/ensurepip/init.py", line 172, in _bootstrap
return _run_pip([*args, "pip"], [os.fsdecode(tmp_wheel_path)])
File "/tmp/python-build.20251001233817.91654/Python-3.13.7/Lib/ensurepip/init.py", line 87, in _run_pip
return subprocess.run(cmd, check=True).returncode
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/tmp/python-build.20251001233817.91654/Python-3.13.7/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmp/python-build.20251001233817.91654/Python-3.13.7/python', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = ['/tmp/tmpbepr0b3t/pip-25.2-py3-none-any.whl'] + sys.path\nsys.argv[1:] = ['install', '--no-cache-dir', '--no-index', '--find-links', '/tmp/tmpbepr0b3t', '--root', '/', '--upgrade', 'pip']\nrunpy.run_module("pip", run_name="main", alter_sys=True)\n']' returned non-zero exit status 1.
make: *** [Makefile:2255: install] Error 1
plugin [PostInstall] method error: /home/liucf/.version-fox/plugin/python/lib/util.lua:234: python build failed
stack traceback:
[G]: in function 'error'
/home/liucf/.version-fox/plugin/python/lib/util.lua:234: in main chunk
(tailcall): ?
[G]: ?
failed to install python

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing vfox install python@3.13.7 on WSL2 with vfox 0.6.10, then inspect the Python build log and the post-install path at plugin/python/lib/util.lua:234. Determine why the Python build fails during ensurepip and verify that the installation completes without reporting a plugin error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.