diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c8bc03b..73d0726 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15.0-alpha.1"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/tests_and_coverage.yml b/.github/workflows/tests_and_coverage.yml index 18da464..c443433 100644 --- a/.github/workflows/tests_and_coverage.yml +++ b/.github/workflows/tests_and_coverage.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15.0-alpha.1"] steps: - uses: actions/checkout@v4 diff --git a/denial/inner.py b/denial/inner.py index 6e34e26..22e966f 100644 --- a/denial/inner.py +++ b/denial/inner.py @@ -3,7 +3,7 @@ from typing import Any, Optional, Union from locklib import ContextLockProtocol -from printo import descript_data_object, not_none +from printo import describe_data_object, not_none from denial.errors import ( DoubleSingletonsInstantiationError, @@ -48,7 +48,7 @@ def __hash__(self) -> int: def __repr__(self) -> str: if self.id == 0 and self.auto: return 'InnerNone' - return descript_data_object(type(self).__name__, (self.id,), {'doc': self.doc, 'auto': self.auto}, filters={'auto': lambda x: x != True, 'doc': not_none}) + return describe_data_object(type(self).__name__, (self.id,), {'doc': self.doc, 'auto': self.auto}, filters={'auto': lambda x: x != True, 'doc': not_none}) def __bool__(self) -> bool: return False diff --git a/pyproject.toml b/pyproject.toml index cdf2b70..e959ec8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta" [project] name = "denial" -version = "0.0.11" +version = "0.0.12" authors = [{ name = "Evgeniy Blinov", email = "zheni-b@yandex.ru" }] description = "Is one None not enough for you? There's more" readme = "README.md" requires-python = ">=3.8" dependencies = [ - 'printo>=0.0.10', + 'printo>=0.0.22', 'locklib>=0.0.20', 'typing_extensions ; python_version <= "3.10"', ] @@ -28,6 +28,7 @@ classifiers = [ 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3.14', + 'Programming Language :: Python :: 3.15', 'Programming Language :: Python :: Free Threading', 'Programming Language :: Python :: Free Threading :: 3 - Stable', 'License :: OSI Approved :: MIT License',