Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| fbd068049e | |||
| 8d86fc1928 | |||
| 017bb8b327 | |||
| d5ec4d4ec6 | |||
| a1e813878c | |||
| 150fb11fb2 | |||
| 76522daa97 | |||
| e494ca2887 | |||
| 1576e7b571 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bc76d97d1a65bbd9842a6d722882098eb549ec8ee1081f9fb2e8ff29f0c300f1
|
||||
size 163604
|
||||
BIN
factory_boy-3.3.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
factory_boy-3.3.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,9 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 2 03:45:16 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 22 12:08:31 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Update to 3.3.3
|
||||
* New:
|
||||
- Publish type annotations
|
||||
- Changes from 3.3.2
|
||||
* Bugfix:
|
||||
- Fix docs generation
|
||||
* New:
|
||||
- Add support for Python 3.13
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 26 10:37:04 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- skip testing with Django on SLFO
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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 +55,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 +70,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 +81,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 +181,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>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-factory_boy
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 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.3
|
||||
Release: 0
|
||||
Summary: Python test fixtures
|
||||
License: MIT
|
||||
@@ -26,12 +26,14 @@ URL: https://github.com/rbarrois/factory_boy
|
||||
Source: https://files.pythonhosted.org/packages/source/f/factory_boy/factory_boy-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Faker >= 0.7.0}
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 0.8}
|
||||
BuildRequires: %{python_module typing_extensions}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if 0%{suse_version} >= 1550
|
||||
%if 0%{suse_version} > 1600
|
||||
BuildRequires: %{python_module Django}
|
||||
%endif
|
||||
Requires: python-Faker >= 0.7.0
|
||||
@@ -53,10 +55,10 @@ sed -i -e '/test_alchemy/d' tests/__init__.py
|
||||
sed -i -e 's|"3.2.1.dev0"|"3.3.0"|g' tests/test_version.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -66,6 +68,6 @@ sed -i -e 's|"3.2.1.dev0"|"3.3.0"|g' tests/test_version.py
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/factory
|
||||
%{python_sitelib}/factory_boy-%{version}*-info
|
||||
%{python_sitelib}/factory_boy-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user