public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jwt] rawhide: Update to 2.13.0
@ 2026-07-08  7:10 Jeremy Cline
  0 siblings, 0 replies; only message in thread
From: Jeremy Cline @ 2026-07-08  7:10 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-jwt
            Branch : rawhide
            Commit : d8c08eaf51d04c224a30d892cf6e22df6ceb2904
            Author : Jeremy Cline <jeremycline@microsoft.com>
            Date   : 2026-07-07T12:29:12-04:00
            Stats  : +9/-8 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-jwt/c/d8c08eaf51d04c224a30d892cf6e22df6ceb2904?branch=rawhide

            Log:
            Update to 2.13.0

Upstream moved from "extras" to "groups" for dependencies. My interest
in figuring out the Python packaging change of the week is pretty low so
I dropped "tests" from the buildrequires generator and manually
specified the pytest dependency.

Release notes: https://github.com/jpadilla/pyjwt/releases/tag/2.13.0

---
diff --git a/.gitignore b/.gitignore
index 319a75f..b47ca3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 PyJWT-*.tar.gz
 /pyjwt-2.10.1.tar.gz
 /pyjwt-2.12.1.tar.gz
+/pyjwt-2.13.0.tar.gz

diff --git a/python-jwt.spec b/python-jwt.spec
index 9bbc213..888aafd 100644
--- a/python-jwt.spec
+++ b/python-jwt.spec
@@ -13,8 +13,8 @@ encrypted JSON objects.}
 
 
 Name:           python-%{pkgname}
-Version:        2.12.1
-Release:        3%{?dist}
+Version:        2.13.0
+Release:        1%{?dist}
 Summary:        JSON Web Token implementation in Python
 License:        MIT
 URL:            https://github.com/jpadilla/pyjwt
@@ -28,6 +28,7 @@ BuildArch:      noarch
 %package -n python3-%{pkgname}
 Summary:        %{summary}
 BuildRequires:  python3-devel
+BuildRequires:  python3dist(pytest)
 Recommends:     python3-%{pkgname}+crypto
 
 
@@ -39,14 +40,10 @@ Recommends:     python3-%{pkgname}+crypto
 
 %prep
 %autosetup -n %{srcname}-%{version}
-# remove coverage buildreq and relax pytest req
-sed -e '/coverage\[toml\]/d' \
-    -e '/pytest/ s/,<9.0.0//' \
-    -i pyproject.toml
 
 
 %generate_buildrequires
-%pyproject_buildrequires -x crypto,tests
+%pyproject_buildrequires -x crypto
 
 
 %build
@@ -67,6 +64,9 @@ sed -e '/coverage\[toml\]/d' \
 
 
 %changelog
+* Tue Jul 07 2026 Jeremy Cline <jeremycline@microsoft.com> - 2.13.0-1
+- Rebase to 2.13.0 (rhbz#2480639)
+
 * Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 2.12.1-3
 - Rebuilt for Python 3.15
 

diff --git a/sources b/sources
index 9ce81f5..7224793 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyjwt-2.12.1.tar.gz) = ad1e925b9aa39017bd83863233b39de06a919daed664d5835e58def47f6fb4435fab057a37a5fa8a7543f691f5fc9f82e6d879ef0ad60960f982a214b305078a
+SHA512 (pyjwt-2.13.0.tar.gz) = e12fcc5171e48ef74f4384287c05d94367b7add4844066b650abd6c82534e557959f59ffce9bd6d4dc6970b99b7357be5bb652d0546937b3a64dfd329b63b561

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

only message in thread, other threads:[~2026-07-08  7:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08  7:10 [rpms/python-jwt] rawhide: Update to 2.13.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