Skip to content

Commit

Permalink
Bump attrs to > 22.1 to support Python 3.11
Browse files Browse the repository at this point in the history
But still support older attrs versions on older Python versions

Thank-you-to:  James Gerity @SnoopJ
Reference: python-attrs/attrs#907
Reference: python-attrs/attrs#969
Reference: #3199 (comment)
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Jan 16, 2023
1 parent 2d8b809 commit 8e9a4e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
attrs==21.4.0
attrs==22.1
banal==1.0.6
beautifulsoup4==4.11.1
binaryornot==0.4.4
Expand Down
3 changes: 2 additions & 1 deletion setup-mini.cfg
Expand Up @@ -62,7 +62,8 @@ py_modules =
python_requires = >=3.7

install_requires =
attrs >= 18.1, !=20.1.0
attrs >= 18.1,!=20.1.0;python_version<'3.11'
attrs >= 22.1;python_version>='3.11'
Beautifulsoup4 >= 4.0.0
boolean.py >= 4.0
chardet >= 3.0.0
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Expand Up @@ -62,7 +62,8 @@ py_modules =
python_requires = >=3.7

install_requires =
attrs >= 18.1, !=20.1.0
attrs >= 18.1,!=20.1.0;python_version<'3.11'
attrs >= 22.1;python_version>='3.11'
Beautifulsoup4 >= 4.0.0
boolean.py >= 4.0
chardet >= 3.0.0
Expand Down

0 comments on commit 8e9a4e5

Please sign in to comment.