From 6fb73eaee8ac38884c00fa8b582d46f9129f631f Mon Sep 17 00:00:00 2001 From: Faster Speeding Date: Sun, 27 Nov 2022 12:29:27 +0000 Subject: [PATCH] Bump the minimum attrs ver for @frozen --- setup.py | 4 +++- test-requirements.in | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b2e53826e6..a8e1154dc6 100644 --- a/setup.py +++ b/setup.py @@ -79,7 +79,9 @@ license="MIT OR Apache-2.0", packages=find_packages(), install_requires=[ - "attrs >= 19.2.0", # for eq + # attrs 19.2.0 adds `eq` option to decorators + # attrs 20.1.0 adds @frozen + "attrs >= 20.1.0", "sortedcontainers", "idna", "outcome", diff --git a/test-requirements.in b/test-requirements.in index 6e94409005..e8c73aed3f 100644 --- a/test-requirements.in +++ b/test-requirements.in @@ -25,7 +25,7 @@ typing-extensions; implementation_name == "cpython" # Trio's own dependencies cffi; os_name == "nt" -attrs >= 19.2.0 +attrs >= 20.1.0 sortedcontainers idna outcome