Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit d2ef1a7

Browse files
author
David Robertson
authored
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.
1 parent cea1b58 commit d2ef1a7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.d/12166.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Relax the version guard for "packaging" added in #12088.

synapse/python_dependencies.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
# ijson 3.1.4 fixes a bug with "." in property names
8484
"ijson>=3.1.4",
8585
"matrix-common~=1.1.0",
86-
# For runtime introspection of our dependencies
87-
"packaging~=21.3",
86+
# We need packaging.requirements.Requirement, added in 16.1.
87+
"packaging>=16.1",
8888
]
8989

9090
CONDITIONAL_REQUIREMENTS = {

0 commit comments

Comments
 (0)