Skip to content

New libtmux update(0.44.1) is broken #571

New issue

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

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

Already on GitHub? # to your account

Closed
lazysegtree opened this issue Feb 17, 2025 · 5 comments · Fixed by #572
Closed

New libtmux update(0.44.1) is broken #571

lazysegtree opened this issue Feb 17, 2025 · 5 comments · Fixed by #572
Assignees

Comments

@lazysegtree
Copy link
Contributor

Works before update

[opc@test-client-hyd-1 testsuite 10:58:52]
$ .venv/bin/pip list  | grep libtmux
libtmux      0.40.1
[opc@test-client-hyd-1 testsuite 10:58:56]
$ .venv/bin/python3 main.py -t Demo
[2025-02-17 10:58:59 -    INFO] Testcases : []
[2025-02-17 10:58:59 -    INFO] Finished running 0 test. 0 passed
[opc@test-client-hyd-1 testsuite 10:58:59]
$

Does not works after upgrade

[opc@test-client-hyd-1 testsuite 10:58:59]
$ .venv/bin/pip install --upgrade libtmux
Requirement already satisfied: libtmux in ./.venv/lib/python3.9/site-packages (0.40.1)
Collecting libtmux
  Using cached libtmux-0.44.1-py3-none-any.whl.metadata (8.4 kB)
Using cached libtmux-0.44.1-py3-none-any.whl (57 kB)
Installing collected packages: libtmux
  Attempting uninstall: libtmux
    Found existing installation: libtmux 0.40.1
    Uninstalling libtmux-0.40.1:
      Successfully uninstalled libtmux-0.40.1
Successfully installed libtmux-0.44.1
[opc@test-client-hyd-1 testsuite 10:59:34]
$ .venv/bin/pip list  | grep libtmux
libtmux      0.44.1
[opc@test-client-hyd-1 testsuite 10:59:38]
$ .venv/bin/python3 main.py -t Demo
Traceback (most recent call last):
  File "/home/opc/superfile/testsuite/main.py", line 6, in <module>
    from core.runner import run_tests
  File "/home/opc/superfile/testsuite/core/runner.py", line 19, in <module>
    from core.tmux_manager import TmuxSPFManager
  File "/home/opc/superfile/testsuite/core/tmux_manager.py", line 1, in <module>
    import libtmux
  File "/home/opc/superfile/testsuite/.venv/lib64/python3.9/site-packages/libtmux/__init__.py", line 15, in <module>
    from .pane import Pane
  File "/home/opc/superfile/testsuite/.venv/lib64/python3.9/site-packages/libtmux/pane.py", line 16, in <module>
    from typing_extensions import Self
ModuleNotFoundError: No module named 'typing_extensions'
[opc@test-client-hyd-1 testsuite 10:59:42]
$

Environment info

[opc@test-client-hyd-1 testsuite 10:59:42]
$ .venv/bin/python --version
Python 3.9.20
[opc@test-client-hyd-1 testsuite 11:00:45]
$ .venv/bin/pip --version
pip 25.0.1 from /home/opc/superfile/testsuite/.venv/lib64/python3.9/site-packages/pip (python 3.9)
[opc@test-client-hyd-1 testsuite 11:00:50]
$ uname -a
Linux test-client-hyd-1 5.15.0-210.163.7.el8uek.x86_64 #2 SMP Tue Sep 10 18:31:09 PDT 2024 x86_64 x86_64 x86_64 GNU/Linux
[opc@test-client-hyd-1 testsuite 11:00:52]
$
@lazysegtree
Copy link
Contributor Author

lazysegtree commented Feb 17, 2025

@tony tony self-assigned this Feb 17, 2025
@tony
Copy link
Member

tony commented Feb 17, 2025

@lazysegtree Taking a look

cc: @ppentchev

@tony
Copy link
Member

tony commented Feb 17, 2025

@lazysegtree @ppentchev Released v0.44.2 (PyPI, release)

Better?

@ppentchev I missed this in review, my bad. I need to think of a way to test the normal package scenario in CI without extra groups.

@lazysegtree
Copy link
Contributor Author

Thanks @tony . It works now.

@tony
Copy link
Member

tony commented Feb 22, 2025

@lazysegtree Superb!

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

Successfully merging a pull request may close this issue.

2 participants