public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jeremy Cline <jeremycline@microsoft.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-msal-extensions] rawhide: Update portalocker dependency to allow v4.0+
Date: Mon, 26 Oct 2026 21:22:20 GMT	[thread overview]
Message-ID: <179304974060.1.13557499618937072854.rpms-python-msal-extensions-c08a3bbda105@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-10-26 21:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179304974060.1.13557499618937072854.rpms-python-msal-extensions-c08a3bbda105@fedoraproject.org \
    --to=jeremycline@microsoft.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox