From ed3cafdb73e55306a428853f4b5e4f42bb293488 Mon Sep 17 00:00:00 2001
From: Oleg Girko
Date: Wed, 29 Apr 2026 18:03:58 +0100
Subject: [PATCH] Partially revert "Bump authlib from 1.6.9 to 1.6.11 (#19703)"
(#19742)
The original commit should only have changed the lockfile.
This reverts commit bdb1cf7416b46a637b3dae323cb05b4d94fafc82 (from
https://github.com/element-hq/synapse/pull/19703).
---------
Co-authored-by: Olivier 'reivilibre
---
changelog.d/19742.bugfix | 1 +
poetry.lock | 2 +-
pyproject.toml | 4 ++--
3 files changed, 4 insertions(+), 3 deletions(-)
create mode 100644 changelog.d/19742.bugfix
diff --git a/changelog.d/19742.bugfix b/changelog.d/19742.bugfix
new file mode 100644
index 0000000000..342769b65b
--- /dev/null
+++ b/changelog.d/19742.bugfix
@@ -0,0 +1 @@
+Fix packaging for Fedora and EPEL caused by unnecessary bumping `authlib` minimum version requirement in `pyproject.toml` file. Contributed by Oleg Girko.
diff --git a/poetry.lock b/poetry.lock
index fbfada01fb..deceadea04 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -3756,4 +3756,4 @@ url-preview = ["lxml"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.10.0,<4.0.0"
-content-hash = "8c52685a47cc4affa09d79a044e0aed4c15131a5581e2c4f641ffb5e538eec13"
+content-hash = "d97bee07fec0f4048d964aa7127a50813920bce77b00e5191aa1815f83922c85"
diff --git a/pyproject.toml b/pyproject.toml
index 685a4a3a34..cd94c1aa10 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -137,7 +137,7 @@ saml2 = [
"defusedxml>=0.7.1", # via pysaml2
"pytz>=2018.3", # via pysaml2
]
-oidc = ["authlib>=1.6.11"]
+oidc = ["authlib>=0.15.1"]
url-preview = ["lxml>=4.6.3"]
sentry = ["sentry-sdk>=0.7.2"]
opentracing = [
@@ -179,7 +179,7 @@ all = [
# saml2
"pysaml2>=4.5.0",
# oidc and jwt
- "authlib>=1.6.11",
+ "authlib>=0.15.1",
# url-preview
"lxml>=4.6.3",
# sentry