From 59ca217ef2ec11b6ee013808147c13e4553d4324 Mon Sep 17 00:00:00 2001 From: n-dusan Date: Thu, 24 Aug 2023 14:56:03 +0200 Subject: [PATCH] refact: upgrade `cattrs` Our other code relies on latest cattrs, while taf had it pinned to a very old version. --- CHANGELOG.md | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fee5738..dceaa214 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning][semver]. ### Changed +- Bump `cattrs` ([349]) - Improve CLI error handling ([346]) - Update signing keys loading. Add a flag for specifying if the user will be asked to manually enter a key ([346]) - Remove default branch specification from updater ([343]) @@ -26,6 +27,7 @@ and this project adheres to [Semantic Versioning][semver]. - Fix commits per repositories function when same target commits are on different branches ([337]) - Add missing `write` flag to `taf targets sign` ([329]) +[349]: https://github.com/openlawlibrary/taf/pull/349 [346]: https://github.com/openlawlibrary/taf/pull/346 [343]: https://github.com/openlawlibrary/taf/pull/343 [342]: https://github.com/openlawlibrary/taf/pull/342 diff --git a/setup.py b/setup.py index 7563d654..a68c73e6 100644 --- a/setup.py +++ b/setup.py @@ -62,6 +62,7 @@ def finalize_options(self): "data_files": [("lib/site-packages/taf", ["./LICENSE.md", "./README.md"])], "zip_safe": False, "install_requires": [ + "cattrs>=23.1.2", "click==7.*", "colorama>=0.3.9", "oll-tuf==0.20.0.dev2", @@ -70,7 +71,6 @@ def finalize_options(self): "loguru==0.6.*", "pygit2==1.9.*", "pyOpenSSL==22.1.*", - "cattrs==1.*", "logdecorator==2.*", ], "extras_require": {