Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-haystack for
openSUSE:Factory checked in at 2024-07-22 17:17:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-haystack (Old)
and /work/SRC/openSUSE:Factory/.python-django-haystack.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-haystack"
Mon Jul 22 17:17:55 2024 rev:12 rq:1188824 version:3.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-haystack/python-django-haystack.changes
2024-03-28 14:29:11.154234000 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-haystack.new.17339/python-django-haystack.changes
2024-07-22 17:19:39.537255632 +0200
@@ -1,0 +2,11 @@
+Fri Jul 19 13:00:55 UTC 2024 - Markéta Machová <[email protected]>
+
+- Update to 3.3.0
+ * Django versions 3-5 are supported, running on Python 3.8-3.12.
+ * Releases are now created in GitHub Actions and published directly
+ to PyPI, improving visibility into the build process.
+- Drop upstreamed patches:
+ * gh-pr-1935_importlib.patch
+ * unittest312.patch
+
+-------------------------------------------------------------------
Old:
----
django-haystack-3.2.1.tar.gz
gh-pr-1935_importlib.patch
unittest312.patch
New:
----
django_haystack-3.3.0.tar.gz
BETA DEBUG BEGIN:
Old:- Drop upstreamed patches:
* gh-pr-1935_importlib.patch
* unittest312.patch
Old: * gh-pr-1935_importlib.patch
* unittest312.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-haystack.spec ++++++
--- /var/tmp/diff_new_pack.qUkzjC/_old 2024-07-22 17:19:40.805306615 +0200
+++ /var/tmp/diff_new_pack.qUkzjC/_new 2024-07-22 17:19:40.805306615 +0200
@@ -18,19 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-django-haystack
-Version: 3.2.1
+Version: 3.3.0
Release: 0
Summary: Pluggable search for Django
License: BSD-3-Clause
URL: https://github.com/django-haystack/django-haystack
-Source:
https://files.pythonhosted.org/packages/source/d/django-haystack/django-haystack-%{version}.tar.gz
-# pkg_resources is broken since the flufl.lock update in Factory
-# https://github.com/django-haystack/django-haystack/pull/1935
-Patch1: gh-pr-1935_importlib.patch
-# PATCH-FIX-UPSTREAM
https://github.com/django-haystack/django-haystack/commit/3a566a50e4963bed4fb8853eca60bc894b0b7fc5
Fix unittest assert calls for Python 3.12
-Patch2: unittest312.patch
+Source:
https://files.pythonhosted.org/packages/source/d/django-haystack/django_haystack-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django >= 2.2
@@ -57,18 +54,17 @@
Pluggable search for Django.
%prep
-%autosetup -n django-haystack-%{version} -p1
-sed -i 's:==:>=:' setup.py
+%autosetup -n django_haystack-%{version} -p1
# This causes errors with pytest
sed -i '/django.setup()/d' test_haystack/__init__.py
echo 'import django; django.setup()' > conftest.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check