From 376701c6637eab292c7997fc067a51bbaafcc40f Mon Sep 17 00:00:00 2001 From: sobolevn Date: Thu, 24 Jul 2025 15:39:13 +0300 Subject: [PATCH] Versin 0.26.0 release --- CHANGELOG.md | 3 ++- poetry.lock | 16 ++++++++-------- pyproject.toml | 10 +++++----- setup.cfg | 2 +- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06cb5ff9..bce6521b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,11 @@ incremental in minor, bugfixes only are patches. See [0Ver](https://0ver.org/). -## 0.26.0 WIP +## 0.26.0 ### Features +- Added `mypy>=1.16,<1.18` support - Added `__bool__` to `Maybe`, only `Nothing` ever returns `False` diff --git a/poetry.lock b/poetry.lock index 6fc1491e..3deea042 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "accessible-pygments" @@ -486,7 +486,7 @@ files = [ {file = "exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10"}, {file = "exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88"}, ] -markers = {main = "extra == \"check-laws\" and python_version < \"3.11\"", dev = "python_version < \"3.11\""} +markers = {main = "extra == \"check-laws\" and python_version == \"3.10\"", dev = "python_version == \"3.10\""} [package.dependencies] typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""} @@ -1933,20 +1933,20 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "wemake-python-styleguide" -version = "1.0.0" +version = "1.3.0" description = "The strictest and most opinionated python linter ever" optional = false python-versions = "<4.0,>=3.10" groups = ["dev"] files = [ - {file = "wemake_python_styleguide-1.0.0-py3-none-any.whl", hash = "sha256:c0cc3fe2a2aa8d7ca76f02bc27bfe344c76ed9652f94859c241b96f0fcefa9ac"}, - {file = "wemake_python_styleguide-1.0.0.tar.gz", hash = "sha256:00e96dc73faf5471b21d4baa5041f457c19739cf14677832429be69e5f4f7964"}, + {file = "wemake_python_styleguide-1.3.0-py3-none-any.whl", hash = "sha256:3fd39228b80442f22bc4068c57930c9d468f6f5e91f52ca3b13ba5e286d63fad"}, + {file = "wemake_python_styleguide-1.3.0.tar.gz", hash = "sha256:b8fcbeb1271a0a324c30daca2940c4cf769b14215a57ba55412af543cc153c77"}, ] [package.dependencies] attrs = "*" -flake8 = ">=7.1,<8.0" -pygments = ">=2.4,<3.0" +flake8 = ">=7.3,<8.0" +pygments = ">=2.19,<3.0" [extras] check-laws = ["hypothesis", "pytest"] @@ -1955,4 +1955,4 @@ compatible-mypy = ["mypy"] [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "2cc8bab4d8b2b6b39afd4618c9b0ae1d27ed0fe25108af07e5802ea4034684af" +content-hash = "b2d840d6cba6c956cc907f4e6ffc0ceeb1eec387e48ac18206f22d7ab1790607" diff --git a/pyproject.toml b/pyproject.toml index 9bc8e42b..f26a0876 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = [ "poetry-core>=2" ] [tool.poetry] name = "returns" -version = "0.25.0" +version = "0.26.0" description = "Make your functions return something meaningful, typed, and safe!" license = "BSD-3-Clause" @@ -56,14 +56,14 @@ mypy = { version = ">=1.12,<1.18", optional = true } [tool.poetry.group.dev.dependencies] anyio = "^4.3" -trio = ">=0.28,<0.31" -attrs = ">=24.2,<26.0" +trio = "^0.30" +attrs = "^25.3" httpx = "^0.28" -wemake-python-styleguide = "1.0" +wemake-python-styleguide = "^1.3" codespell = "^2.2" slotscheck = "^0.19" -ruff = ">=0.11,<0.13" +ruff = "^0.12" pytest-cov = "^6.0" pytest-randomly = "^3.12" diff --git a/setup.cfg b/setup.cfg index 17958209..3f54ae79 100644 --- a/setup.cfg +++ b/setup.cfg @@ -64,7 +64,7 @@ per-file-ignores = # Allow class attributes literals for slots and setattr: returns/primitives/container.py: WPS226 # There are multiple assert's in tests: - tests/*.py: S101, WPS204, WPS218, WPS226, WPS432, WPS436 + tests/*.py: S101, WPS204, WPS218, WPS226, WPS432, WPS436, WPS476 # Some examples don't have any docs on purpose: tests/test_examples/*: D102 # Pattern matching, flake8 and friends are not ready to deal with it