Skip to content

Commit 8e9a4e5

Browse files
committed
Bump attrs to > 22.1 to support Python 3.11
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 <[email protected]>
1 parent 2d8b809 commit 8e9a4e5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
attrs==21.4.0
1+
attrs==22.1
22
banal==1.0.6
33
beautifulsoup4==4.11.1
44
binaryornot==0.4.4

setup-mini.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ py_modules =
6262
python_requires = >=3.7
6363

6464
install_requires =
65-
attrs >= 18.1, !=20.1.0
65+
attrs >= 18.1,!=20.1.0;python_version<'3.11'
66+
attrs >= 22.1;python_version>='3.11'
6667
Beautifulsoup4 >= 4.0.0
6768
boolean.py >= 4.0
6869
chardet >= 3.0.0

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ py_modules =
6262
python_requires = >=3.7
6363

6464
install_requires =
65-
attrs >= 18.1, !=20.1.0
65+
attrs >= 18.1,!=20.1.0;python_version<'3.11'
66+
attrs >= 22.1;python_version>='3.11'
6667
Beautifulsoup4 >= 4.0.0
6768
boolean.py >= 4.0
6869
chardet >= 3.0.0

0 commit comments

Comments
 (0)