14
0

- update to 3.3.1:

* Add support for Django 4.2
  * Add support for Django 5.1
  * Add support for Python 3.12
  * Stop advertising and verifying support for Django 3.2, 4.0,
    4.1
    - :issue:`366`: Add :class:`factory.django.Password` to generate Django
      + If the :meth:`~django.db.models.Model.save` call is not needed after :class:`~factory.PostGeneration`, set
- Drop tests-skip-django-py36.patch because new version need
- skip testing with Django on SLE15
- BuildRequires on %{pythons} as setuptools no longer drags it in.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-factory_boy?expand=0&rev=34
This commit is contained in:
2024-08-31 12:42:16 +00:00
committed by Git OBS Bridge
parent 4dde887c74
commit 1576e7b571
4 changed files with 20 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc76d97d1a65bbd9842a6d722882098eb549ec8ee1081f9fb2e8ff29f0c300f1
size 163604

BIN
factory_boy-3.3.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,9 +1,19 @@
-------------------------------------------------------------------
Sat Aug 31 12:41:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.3.1:
* Add support for Django 4.2
* Add support for Django 5.1
* Add support for Python 3.12
* Stop advertising and verifying support for Django 3.2, 4.0,
4.1
-------------------------------------------------------------------
Thu Nov 9 11:32:25 UTC 2023 - ecsos <ecsos@opensuse.org>
- Update to 3.3.0
* New:
- :issue:`366`: Add :class:`factory.django.Password` to generate Django
- :issue:`366`: Add :class:`factory.django.Password` to generate Django
:class:`~django.contrib.auth.models.User` passwords.
- :issue:`304`: Add :attr:`~factory.alchemy.SQLAlchemyOptions.sqlalchemy_session_factory`
to dynamically create sessions for use by the :class:`~factory.alchemy.SQLAlchemyModelFactory`.
@@ -23,7 +33,7 @@ Thu Nov 9 11:32:25 UTC 2023 - ecsos <ecsos@opensuse.org>
- To help with the transition, :class:`factory.django.DjangoModelFactory._after_postgeneration`
raises a :class:`DeprecationWarning` when calling :meth:`~django.db.models.Model.save`.
Inspect your :class:`~factory.django.DjangoModelFactory` subclasses:
+ If the :meth:`~django.db.models.Model.save` call is not needed after :class:`~factory.PostGeneration`, set
+ If the :meth:`~django.db.models.Model.save` call is not needed after :class:`~factory.PostGeneration`, set
:attr:`factory.django.DjangoOptions.skip_postgeneration_save` to True in the factory meta.
+ Otherwise, the instance has been modified by :class:`~factory.PostGeneration`
hooks and needs to be :meth:`~django.db.models.Model.save`d. Either:
@@ -38,7 +48,7 @@ Thu Nov 9 11:32:25 UTC 2023 - ecsos <ecsos@opensuse.org>
- Drop support for Python 3.6
- Drop support for Python 3.7
- Drop tests-skip-django-py36.patch because new version need
- Drop tests-skip-django-py36.patch because new version need
python >= 3.7.
-------------------------------------------------------------------
@@ -49,7 +59,7 @@ Fri Apr 21 12:24:55 UTC 2023 - Dirk Müller <dmueller@suse.com>
-------------------------------------------------------------------
Wed Feb 1 20:48:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- skip testing with Django on SLE15
- skip testing with Django on SLE15
-------------------------------------------------------------------
Sat Jan 15 16:04:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
@@ -149,7 +159,7 @@ Mon Mar 16 10:31:31 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
-------------------------------------------------------------------
Mon Nov 18 00:57:55 UTC 2019 - Steve Kowalik <steven.kowalik@suse.com>
- BuildRequires on %{pythons} as setuptools no longer drags it in.
- BuildRequires on %{pythons} as setuptools no longer drags it in.
-------------------------------------------------------------------
Fri Jun 7 11:54:06 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-factory_boy
#
# Copyright (c) 2023 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
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-factory_boy
Version: 3.3.0
Version: 3.3.1
Release: 0
Summary: Python test fixtures
License: MIT