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

#149 Add typing-extensions for Python < 3.11 #150

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning].

## [Unreleased]

## [0.2.1] - 2025-01-09

### Changed in 0.2.1

- Added `typing-extensions` dependency for Python versions < 3.11

## [0.2.0] - 2024-12-04

### Changed in 0.2.0
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ package_dir =
= src
packages = find:
python_requires = >=3.9
install_requires =
typing-extensions >= 4.12.2; python_version<'3.11'

[options.packages.find]
where = src
4 changes: 2 additions & 2 deletions src/senzing/szengineflags.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from .szerror import SzError

try:
from typing_extensions import Self # type: ignore[attr-defined,no-redef]
except ImportError:
from typing import Self # type: ignore[attr-defined,no-redef]
except ImportError:
from typing_extensions import Self # type: ignore[attr-defined,no-redef]

# Metadata

Expand Down
Loading