public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-msal-extensions] rawhide: Update portalocker dependency to allow v4.0+
@ 2026-10-26 21:22 Jeremy Cline
  0 siblings, 0 replies; only message in thread
From: Jeremy Cline @ 2026-10-26 21:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-msal-extensions
Branch : rawhide
Commit : c08a3bbda105d88cb068f69603a2611d9875d66e
Author : Jeremy Cline <jeremycline@microsoft.com>
Date   : 2026-10-26T15:49:47-04:00
Stats  : +38/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-msal-extensions/c/c08a3bbda105d88cb068f69603a2611d9875d66e?branch=rawhide

Log:
Update portalocker dependency to allow v4.0+

---
diff --git a/154.patch b/154.patch
new file mode 100644
index 0000000..6122a6d
--- /dev/null
+++ b/154.patch
@@ -0,0 +1,33 @@
+From cb77c767c896cdaffd9fd53aaa4741332ce636f7 Mon Sep 17 00:00:00 2001
+From: Jeremy Cline <jeremycline@microsoft.com>
+Date: Mon, 26 Oct 2026 15:40:47 -0400
+Subject: [PATCH] deps: bump portalocker maximum version to allow v4.x
+
+portalocker is now on 4.x. According to its changelog and migration
+guide[0], the breaking changes are minimal, and it appears none of them
+impact msal-extensions as it doesn't use a shared lock (which would
+require explicitly adding a dependency on pywin32).
+
+4.0+ requires Python 3.10 or greater, but since this only raises the
+upper bound of the dependency that isn't a problem.
+
+[0] https://portalocker.readthedocs.io/en/latest/migration.html
+
+Signed-off-by: Jeremy Cline <jeremycline@microsoft.com>
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 496dfad..778e11f 100644
+--- a/setup.py
++++ b/setup.py
+@@ -26,7 +26,7 @@
+     ],
+     extras_require={
+         "portalocker": [
+-            'portalocker<4,>=1.4',
++            'portalocker<5,>=1.4',
+         ],
+     },
+     tests_require=['pytest'],

diff --git a/python-msal-extensions.spec b/python-msal-extensions.spec
index 6366b1c..69b301f 100644
--- a/python-msal-extensions.spec
+++ b/python-msal-extensions.spec
@@ -24,6 +24,11 @@ Source:         %forgesource
 # packages. It is a real dependency for msal_extensions/libsecret.py.
 Patch:          0001-Downstream-only-restore-hard-dependency-on-pygobject.patch
 
+# https://github.com/AzureAD/microsoft-authentication-extensions-for-python/pull/154
+#
+# Bumps the portalocker dependency to accept 4.0+.
+Patch:          154.patch
+
 BuildArch:      noarch
 
 BuildRequires:  python3-devel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-26 21:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 21:22 [rpms/python-msal-extensions] rawhide: Update portalocker dependency to allow v4.0+ Jeremy Cline

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox