From 72b0ce76183292ae90302a74037c70ef003deb36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=91=D0=BB?= =?UTF-8?q?=D0=B8=D0=BD=D0=BE=D0=B2?= Date: Tue, 17 Mar 2026 05:12:49 +0300 Subject: [PATCH 1/4] Bump version to 0.0.12 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cdf2b70..260ed40 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ 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" From 2a5521d573027dc68a7d60f307f44a5cc637ae60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=91=D0=BB?= =?UTF-8?q?=D0=B8=D0=BD=D0=BE=D0=B2?= Date: Tue, 17 Mar 2026 05:13:46 +0300 Subject: [PATCH 2/4] Add Python 3.15 support in CI and classifiers --- .github/workflows/lint.yml | 2 +- .github/workflows/tests_and_coverage.yml | 2 +- pyproject.toml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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/pyproject.toml b/pyproject.toml index 260ed40..6cb7ec8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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', From bb35907b301299b47deeeb4447322249e046946f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=91=D0=BB?= =?UTF-8?q?=D0=B8=D0=BD=D0=BE=D0=B2?= Date: Tue, 17 Mar 2026 05:14:25 +0300 Subject: [PATCH 3/4] Update printo version requirement to 0.0.22 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6cb7ec8..e959ec8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ 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"', ] From 68f58dea5afcb6cee8adc5df4d5610a228a0470e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=91=D0=BB?= =?UTF-8?q?=D0=B8=D0=BD=D0=BE=D0=B2?= Date: Tue, 17 Mar 2026 05:15:23 +0300 Subject: [PATCH 4/4] Rename descript_data_object to describe_data_object --- denial/inner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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