Skip to content

update python build standalone, unblocklist linux updates#13732

Merged
Gankra merged 7 commits intomainfrom
gankra/blockless
May 30, 2025
Merged

update python build standalone, unblocklist linux updates#13732
Gankra merged 7 commits intomainfrom
gankra/blockless

Conversation

@Gankra
Copy link
Contributor

@Gankra Gankra commented May 30, 2025

No description provided.

@Gankra Gankra added the internal A refactor or improvement that is not user-facing label May 30, 2025
@Gankra Gankra enabled auto-merge (squash) May 30, 2025 15:33
@Gankra Gankra disabled auto-merge May 30, 2025 15:35
@Gankra Gankra changed the title close the bad linux range update python build standalone, unblocklist linux updates May 30, 2025
@geofft
Copy link
Contributor

geofft commented May 30, 2025

LGTM, we now have a working interpreter that still statically links libpython:

ubuntu@ip-172-16-0-59:~/add$ uv run --managed-python python -c 'import repro; repro.f()'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import repro; repro.f()
                  ~~~~~~~^^
  File "/home/ubuntu/add/repro.py", line 4, in f
    a += Foo("hi")
TypeError: must be str, not list
ubuntu@ip-172-16-0-59:~/add$ curl -LOJ https://github.com/astral-sh/uv/raw/862a4e1d3854b5f27e9b2a2436102e41843c286d/crates/uv-python/download-metadata.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  907k  100  907k    0     0  6860k      0 --:--:-- --:--:-- --:--:-- 6860k
ubuntu@ip-172-16-0-59:~/add$ UV_PYTHON_DOWNLOADS_JSON_URL=~/download-metadata.json uv python install --reinstall 3.13
Installed Python 3.13.3 in 2.37s
 ~ cpython-3.13.3-linux-x86_64-gnu
ubuntu@ip-172-16-0-59:~/add$ uv run --managed-python python -c 'import repro; repro.f()'
ubuntu@ip-172-16-0-59:~/add$ ldd `uv python find --managed-python`
	linux-vdso.so.1 (0x00007ffd0879c000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x000073dd188bf000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x000073dd188ba000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x000073dd188b5000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000073dd187cc000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x000073dd187c7000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000073dd18400000)
	/lib64/ld-linux-x86-64.so.2 (0x000073dd188cf000)

@zanieb zanieb self-assigned this May 30, 2025
# only on some platforms, so hide it everywhere.
CPYTHON_HIDDEN_ALPHA = "3.14.0a7"
# The last date at which the linux CPython builds had seemingly buggy runtimes
CPYTHON_BAD_LINUX_RUNTIME_END = 20250521
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not just drop this entirely? Or do we need it hide some releases?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm good point, after getting a clarification from geoffery I think we can drop it entirely now. Let me check if anything changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You were correct, pushed.

@Gankra Gankra merged commit 891fe52 into main May 30, 2025
86 checks passed
@Gankra Gankra deleted the gankra/blockless branch May 30, 2025 16:33
@Gankra Gankra added uv python Related to the uv python interface and removed internal A refactor or improvement that is not user-facing labels May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

uv python Related to the uv python interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants