commit python-djangorestframework-simplejwt for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-djangorestframework-simplejwt for openSUSE:Factory checked in at 2024-06-25 23:07:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-djangorestframework-simplejwt (Old) and /work/SRC/openSUSE:Factory/.python-djangorestframework-simplejwt.new.18349 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-djangorestframework-simplejwt" Tue Jun 25 23:07:42 2024 rev:6 rq:1183075 version:5.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-djangorestframework-simplejwt/python-djangorestframework-simplejwt.changes 2024-03-27 20:44:24.413189107 +0100 +++ /work/SRC/openSUSE:Factory/.python-djangorestframework-simplejwt.new.18349/python-djangorestframework-simplejwt.changes 2024-06-25 23:08:44.065054856 +0200 @@ -1,0 +2,24 @@ +Mon Jun 24 04:49:38 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> + +- Switch back to PyPi tarball. +- Inject setuptools_scm so we install the correct version number. +- Switch to autosetup macro. +- No more greedy globs in %files. + +------------------------------------------------------------------- +Tue Jun 18 14:02:32 UTC 2024 - Markéta Machová <mmachova@suse.com> + +- Update to 5.3.1 + * Breaking: Set BLACKLIST_AFTER_ROTATION by default to False + * Remove EOL Python, Django and DRF version support + * Remove verify from jwt.decode to follow PyJWT v2.2.0 + * Add blacklist view to log out users + * Add JWKS support + * Add back support for PyJWT 1.7.1 + * Allow customizing token JSON encoding + * Revoke access token if user password is changed + * Declare support for type checking + * Many more changes, see CHANGELOG.md +- Drop patch jwt2.patch, included upstream. + +------------------------------------------------------------------- Old: ---- djangorestframework_simplejwt-4.6.0.tar.gz jwt2.patch New: ---- djangorestframework_simplejwt-5.3.1.tar.gz BETA DEBUG BEGIN: Old: * Many more changes, see CHANGELOG.md - Drop patch jwt2.patch, included upstream. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-djangorestframework-simplejwt.spec ++++++ --- /var/tmp/diff_new_pack.24xsUO/_old 2024-06-25 23:08:46.229133742 +0200 +++ /var/tmp/diff_new_pack.24xsUO/_new 2024-06-25 23:08:46.245134325 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-djangorestframework-simplejwt # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,23 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-djangorestframework-simplejwt -Version: 4.6.0 +Version: 5.3.1 Release: 0 Summary: JSON Web Token authentication for Django REST Framework License: MIT -Group: Development/Languages/Python URL: https://github.com/davesque/django-rest-framework-simplejwt -Source: https://github.com/davesque/django-rest-framework-simplejwt/archive/v%{version}.tar.gz#/djangorestframework_simplejwt-%{version}.tar.gz -# PATCH-FIX-UPSTREAM https://github.com/jazzband/django-rest-framework-simplejwt/commit/ae1ea58da... Support jwt 2 -Patch0: jwt2.patch +Source: https://files.pythonhosted.org/packages/source/d/djangorestframework-simplejwt/djangorestframework_simplejwt-%{version}.tar.gz +BuildRequires: %{python_module Django} BuildRequires: %{python_module PyJWT} BuildRequires: %{python_module djangorestframework} +BuildRequires: %{python_module freezegun} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-django} BuildRequires: %{python_module python-jose} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyJWT @@ -46,16 +45,15 @@ A minimal JSON Web Token authentication plugin for the Django REST Framework. %prep -%setup -q -n django-rest-framework-simplejwt-%{version} -%autopatch -p1 +%autosetup -p1 -n djangorestframework_simplejwt-%{version} %build export LANG=en_US.UTF-8 -%python_build +%pyproject_wheel %install export LANG=en_US.UTF-8 -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -65,5 +63,6 @@ %files %{python_files} %license LICENSE.txt licenses/* %doc README.rst CHANGELOG.md -%{python_sitelib}/* +%{python_sitelib}/rest_framework_simplejwt +%{python_sitelib}/djangorestframework_simplejwt-%{version}.dist-info ++++++ djangorestframework_simplejwt-4.6.0.tar.gz -> djangorestframework_simplejwt-5.3.1.tar.gz ++++++ ++++ 11497 lines of diff (skipped)
participants (1)
-
Source-Sync