From efd68cfb5d033cff480d20641244a50e84dbef46 Mon Sep 17 00:00:00 2001 From: Carmen Bianca BAKKER Date: Mon, 8 Jul 2024 13:46:11 +0200 Subject: [PATCH 1/2] Increase minimum version of attrs Older versions do not import. Signed-off-by: Carmen Bianca BAKKER --- poetry.lock | 9 ++++++--- pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 44cb45928..728d880a5 100644 --- a/poetry.lock +++ b/poetry.lock @@ -457,8 +457,11 @@ version = "0.20.1" description = "Docutils -- Python Documentation Utilities" category = "dev" optional = false -python-versions = "*" -files = [] +python-versions = ">=3.7" +files = [ + {file = "docutils-0.20.1-py3-none-any.whl", hash = "sha256:96f387a2c5562db4476f09f13bbab2192e764cac08ebbf3a34a95d9b1e4a59d6"}, + {file = "docutils-0.20.1.tar.gz", hash = "sha256:f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b"}, +] [[package]] name = "exceptiongroup" @@ -1810,4 +1813,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "057ae26f33e216758289466ff694ada751ccb92f81e593872d81a5f6f0312724" +content-hash = "3f000ef7f191dd1e5648641ddfef4e469429e33e583299bbcac630bfd59ac10b" diff --git a/pyproject.toml b/pyproject.toml index 51f587a62..271bc06cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ binaryornot = ">=0.4.4" license-expression = ">=1.0" python-debian = ">=0.1.34,!=0.1.45,!=0.1.46,!=0.1.47" tomlkit = ">=0.8" -attrs = ">=21.1" +attrs = ">=21.3" [tool.poetry.group.test.dependencies] pytest = ">=6.0.0" From 7ee6eec8b188faeda7901ae33d5442d19aa47064 Mon Sep 17 00:00:00 2001 From: Carmen Bianca BAKKER Date: Mon, 8 Jul 2024 13:48:07 +0200 Subject: [PATCH 2/2] Add change log entry Signed-off-by: Carmen Bianca BAKKER --- changelog.d/fixed/min-version-attrs.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 changelog.d/fixed/min-version-attrs.md diff --git a/changelog.d/fixed/min-version-attrs.md b/changelog.d/fixed/min-version-attrs.md new file mode 100644 index 000000000..5732fd644 --- /dev/null +++ b/changelog.d/fixed/min-version-attrs.md @@ -0,0 +1,2 @@ +- Increased the minimum requirement of `attrs` to `>=21.3`. Older versions do + not import correctly. (#1044)