mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 09:35:45 +03:00
Relax version guard for packaging (#12166)
It’s just occurred to me that #12088 pulled in the “packaging” package (~=21.3). I pulled in the newest version I had at the time. I only use it for packaging.requirements.Requirements. Which was added in packaging 16.1: https://github.com/pypa/packaging/releases/tag/16.1 https://pkgs.org/download/python3-packaging suggests that the oldest version we care about is 17.1 in Ubuntu Bionic. So I think with this bound we're hunky dory.
This commit is contained in:
parent
cea1b58c4a
commit
d2ef1a79cf
2 changed files with 3 additions and 2 deletions
1
changelog.d/12166.misc
Normal file
1
changelog.d/12166.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Relax the version guard for "packaging" added in #12088.
|
|
@ -83,8 +83,8 @@ REQUIREMENTS = [
|
|||
# ijson 3.1.4 fixes a bug with "." in property names
|
||||
"ijson>=3.1.4",
|
||||
"matrix-common~=1.1.0",
|
||||
# For runtime introspection of our dependencies
|
||||
"packaging~=21.3",
|
||||
# We need packaging.requirements.Requirement, added in 16.1.
|
||||
"packaging>=16.1",
|
||||
]
|
||||
|
||||
CONDITIONAL_REQUIREMENTS = {
|
||||
|
|
Loading…
Reference in a new issue