Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ci(tests) Verify runtime deps #965

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

Merged
merged 3 commits into from
Feb 19, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
types: Fix missing runtime dependency
uv run --no-dev -p python3.13 -- python -c '
  from tmuxp import _internal, cli, workspace, exc, log, plugin, shell, types, util, __version__
  from tmuxp._internal import config_reader, types
  from tmuxp.workspace import builder, constants, finders, freezer, importers, loader, validation
  from libtmux import __version__ as __libtmux_version__
  print("tmuxp version:", __version__)
  print("libtmux version:", __libtmux_version__)
  '
  shell: /usr/bin/bash -e {0}
  env:
    UV_CACHE_DIR: /home/runner/work/_temp/setup-uv-cache
Using CPython 3.13.2
Creating virtual environment at: .venv
   Building tmuxp @ file:///home/runner/work/tmuxp/tmuxp
      Built tmuxp @ file:///home/runner/work/tmuxp/tmuxp
Installed 4 packages in 1ms
Traceback (most recent call last):
  File "<string>", line 3, in <module>
    from tmuxp._internal import config_reader, types
  File "/home/runner/work/tmuxp/tmuxp/src/tmuxp/_internal/types.py", line 15, in <module>
    from typing_extensions import NotRequired, TypedDict
ModuleNotFoundError: No module named 'typing_extensions'
  • Loading branch information
tony committed Feb 19, 2025
commit 8d337d9b70ac11cab813bf05f309aee7bda927af
11 changes: 10 additions & 1 deletion 11 src/tmuxp/_internal/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,16 @@

from __future__ import annotations

from typing_extensions import NotRequired, TypedDict
import typing as t
from typing import TypedDict

if t.TYPE_CHECKING:
import sys

if sys.version_info >= (3, 11):
from typing import NotRequired
else:
from typing_extensions import NotRequired


class PluginConfigSchema(TypedDict):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.