Skip to content

New libtmux update(0.44.1) is broken #571

Description

@lazysegtree

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]
$

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions