Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-django-seed for openSUSE:Factory checked in at 2024-12-04 15:27:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-seed (Old) and /work/SRC/openSUSE:Factory/.python-django-seed.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-seed" Wed Dec 4 15:27:06 2024 rev:6 rq:1228132 version:0.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-seed/python-django-seed.changes 2024-02-20 21:16:02.249700046 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-seed.new.28523/python-django-seed.changes 2024-12-04 15:27:10.165341469 +0100 @@ -1,0 +2,6 @@ +Wed Dec 4 05:16:58 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch do-not-use-is-dst.patch: + * Support Django 5.1 changes. + +------------------------------------------------------------------- New: ---- do-not-use-is-dst.patch BETA DEBUG BEGIN: New: - Add patch do-not-use-is-dst.patch: * Support Django 5.1 changes. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-seed.spec ++++++ --- /var/tmp/diff_new_pack.QmFwl9/_old 2024-12-04 15:27:11.109381054 +0100 +++ /var/tmp/diff_new_pack.QmFwl9/_new 2024-12-04 15:27:11.113381221 +0100 @@ -25,6 +25,8 @@ URL: https://github.com/brobin/django-seed Source0: https://github.com/brobin/django-seed/archive/refs/tags/%{version}.tar.gz#/django-seed-%{version}.tar.gz Source1: settings.py +# PATCH-FIX-UPSTREAM gh#Brobin/django-seed#120 +Patch0: do-not-use-is-dst.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -50,7 +52,7 @@ A module to seed Django projects with fake data. %prep -%setup -q -n django-seed-%{version} +%autosetup -p1 -n django-seed-%{version} sed -i 's/fake-factory/Faker/' setup.py cp %SOURCE1 django_seed @@ -66,11 +68,11 @@ %check export DJANGO_SETTINGS_MODULE=django_seed.settings -%pytest -k "not test_locale" %{buildroot}%{$python_sitelib}/django_seed/tests.py +%pytest -k "not (test_locale or test_auto_now)" %{buildroot}%{$python_sitelib}/django_seed/tests.py %files %{python_files} %license LICENSE %doc README.rst %{python_sitelib}/django_seed -%{python_sitelib}/django_seed-%{version}*-info +%{python_sitelib}/django_seed-%{version}.dist-info ++++++ do-not-use-is-dst.patch ++++++ >From d4b6c2795485190bad02226740706ae7696a25b3 Mon Sep 17 00:00:00 2001 From: rg3915 <regis42san...@gmail.com> Date: Tue, 2 Jan 2024 09:57:50 -0300 Subject: [PATCH] bugfix: Remove is_dst from _timezone_format from guessers.py. #119 --- django_seed/guessers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_seed/guessers.py b/django_seed/guessers.py index 15d485c..8e9f280 100644 --- a/django_seed/guessers.py +++ b/django_seed/guessers.py @@ -24,7 +24,7 @@ def _timezone_format(value): :return: A locale aware datetime """ if getattr(settings, 'USE_TZ', False): - return timezone.make_aware(value, timezone.get_current_timezone(), is_dst=False) + return timezone.make_aware(value, timezone.get_current_timezone()) return value