Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-braces for
openSUSE:Factory checked in at 2024-11-12 19:21:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-braces (Old)
and /work/SRC/openSUSE:Factory/.python-django-braces.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-braces"
Tue Nov 12 19:21:56 2024 rev:6 rq:1223460 version:1.16.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-braces/python-django-braces.changes
2022-04-20 17:03:45.967173515 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-braces.new.2017/python-django-braces.changes
2024-11-12 19:22:50.379031399 +0100
@@ -1,0 +2,13 @@
+Thu Nov 7 12:37:38 UTC 2024 - Markéta Machová <[email protected]>
+
+- Update to 1.16.0 (after 3 years!)
+ * Fixed a few typos in the docs.
+ * Removed unnecessarily explicit super() call
+ * Use unittest.mock instead of mock package
+ * Add support for Django 4.2
+ * Updated the codebase to be more modern Python/Django
+ * Cache-related headers
+- Drop no-longer-needed modernize-braces.patch
+- Skip test failing with Django 5.1
+
+-------------------------------------------------------------------
Old:
----
django-braces-1.15.0.tar.gz
modernize-braces.patch
New:
----
django_braces-1.16.0.tar.gz
BETA DEBUG BEGIN:
Old: * Cache-related headers
- Drop no-longer-needed modernize-braces.patch
- Skip test failing with Django 5.1
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-braces.spec ++++++
--- /var/tmp/diff_new_pack.e0Zpjs/_old 2024-11-12 19:22:50.855051271 +0100
+++ /var/tmp/diff_new_pack.e0Zpjs/_new 2024-11-12 19:22:50.855051271 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-django-braces
#
-# Copyright (c) 2022 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,17 +16,13 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
Name: python-django-braces
-Version: 1.15.0
+Version: 1.16.0
Release: 0
Summary: Reusable, generic mixins for Django
License: BSD-3-Clause
URL: https://github.com/brack3t/django-braces/
-Source:
https://files.pythonhosted.org/packages/source/d/django-braces/django-braces-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM gh#brack3t/django-braces#277
-Patch0: modernize-braces.patch
+Source:
https://files.pythonhosted.org/packages/source/d/django_braces/django_braces-%{version}.tar.gz
Patch1: testhack.patch
BuildRequires: %{python_module Django >= 2.2}
BuildRequires: %{python_module factory_boy}
@@ -43,7 +39,7 @@
Reusable, generic mixins for Django.
%prep
-%setup -q -n django-braces-%{version}
+%setup -q -n django_braces-%{version}
%autopatch -p1
# do not mess with the test setup and rely on pytest defaults
rm conftest.py
@@ -56,13 +52,14 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-sed -i 's/import mock/from unittest import mock/' tests/test_*_mixins.py
export DJANGO_SETTINGS_MODULE=tests.settings
PYTHONPATH=.
-%pytest --nomigrations
+# test_outdated_login gh#brack3t/django-braces#309
+%pytest -k "not test_outdated_login"
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/braces
+%{python_sitelib}/django_braces-%{version}*info