Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tkinter doesn't work with rye's cpython #1401

Open
Aethersan opened this issue Sep 29, 2024 · 1 comment
Open

Tkinter doesn't work with rye's cpython #1401

Aethersan opened this issue Sep 29, 2024 · 1 comment

Comments

@Aethersan
Copy link

Steps to Reproduce

~ 
❯ rye init test
success: Initialized project in /home/aether/test
  Run `rye sync` to get started

~ 
❯ cd test/

test on  master is 󰏗 v0.1.0  
❯ rye sync
Initializing new virtualenv in /home/aether/test/.venv
Python version: [email protected]
Generating production lockfile: /home/aether/test/requirements.lock
Generating dev lockfile: /home/aether/test/requirements-dev.lock
Installing dependencies
Resolved 1 package in 3ms
   Built test @ file:///home/aether/test
Prepared 1 package in 3.38s
Installed 1 package in 5ms
 + test==0.1.0 (from file:///home/aether/test)
Done!

test on  master is 󰏗 v0.1.0  3s 
❯ python -m tkinter

Expected Result

image

Actual Result

test on  master is 󰏗 v0.1.0  
❯ python -m tkinter
[xcb] Unknown sequence number while appending request
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
python: xcb_io.c:157: append_pending_request: Assertion `!xcb_xlib_unknown_seq_number' failed.
Aborted (core dumped)

Version Info

test on  master is 󰏗 v0.1.0  
❯ rye --version
rye 0.40.0
commit: 0.40.0 (a928cd53a 2024-09-22)
platform: linux (x86_64)
self-python: [email protected]
symlink support: true
uv enabled: true

Stacktrace

No response

@jreniel
Copy link

jreniel commented Oct 9, 2024

Related to astral-sh/uv#6893 && #1366

Please please please please, I beg for a fix!! This is the only thing preventing me from using Rye, and I love the concept, but I can't work without interactive plotting (Tk support)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants