diff --git a/CHANGES.txt b/CHANGES.txt index d4780e7..25f0083 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,4 @@ 0.3, 2026/XX/XX -- Replaced bare `except:` clauses with `except Exception:`, preventing accidental suppression of system-exit signals (KeyboardInterrupt, SystemExit) during error handling. + Removed dependency on `typing_extensions` 0.2, 2024/04/17 -- Improved getPropertyValue() 0.1, 2023/05/22 -- Initial version diff --git a/pyproject.toml b/pyproject.toml index a5232df..42397d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,6 @@ classifiers = [ ] dependencies = [ "python-xlib>=0.21; sys_platform == 'linux'", - "typing_extensions>=4.4.0", ] [dependency-groups] diff --git a/src/ewmhlib/Structs/_structs.py b/src/ewmhlib/Structs/_structs.py index 3f5c309..3adb66f 100644 --- a/src/ewmhlib/Structs/_structs.py +++ b/src/ewmhlib/Structs/_structs.py @@ -1,8 +1,7 @@ #!/usr/bin/python from __future__ import annotations -from typing_extensions import TypedDict -from typing import TYPE_CHECKING +from typing import TYPE_CHECKING, TypedDict from ctypes import Structure, c_int32, c_ulong, c_uint32 diff --git a/uv.lock b/uv.lock index 88684a7..aba5f61 100644 --- a/uv.lock +++ b/uv.lock @@ -196,7 +196,6 @@ version = "0.2" source = { editable = "." } dependencies = [ { name = "python-xlib", marker = "sys_platform == 'linux'" }, - { name = "typing-extensions" }, ] [package.dev-dependencies] @@ -217,10 +216,7 @@ docs = [ ] [package.metadata] -requires-dist = [ - { name = "python-xlib", marker = "sys_platform == 'linux'", specifier = ">=0.21" }, - { name = "typing-extensions", specifier = ">=4.4.0" }, -] +requires-dist = [{ name = "python-xlib", marker = "sys_platform == 'linux'", specifier = ">=0.21" }] [package.metadata.requires-dev] dev = [