Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python312-factory_boy | Distribution: openSUSE:Factory:zSystems |
Version: 3.3.1 | Vendor: openSUSE |
Release: 2.1 | Build date: Thu Sep 26 12:37:04 2024 |
Group: Unspecified | Build host: reproducible |
Size: 392708 | Source RPM: python-factory_boy-3.3.1-2.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/rbarrois/factory_boy | |
Summary: Python test fixtures |
A test fixtures replacement based on thoughtbot's factory_girl for Ruby.
MIT
* Thu Sep 26 2024 Markéta Machová <mmachova@suse.com> - skip testing with Django on SLFO * Sat Aug 31 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 09 2023 ecsos <ecsos@opensuse.org> - Update to 3.3.0 * New: - :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`. - Add support for Django 4.0 - Add support for Django 4.1 - Add support for Python 3.10 - Add support for Python 3.11 * Bugfix: - Make :meth:`~factory.django.mute_signals` mute signals during post-generation. - :issue:`775`: Change the signature for :meth:`~factory.alchemy.SQLAlchemyModelFactory._save` and :meth:`~factory.alchemy.SQLAlchemyModelFactory._get_or_create` to avoid argument names clashes with a field named session. * Deprecated: - :class:`~factory.django.DjangoModelFactory` will stop issuing a second call to :meth:`~django.db.models.Model.save` on the created instance when :ref:`post-generation-hooks` return a value. - 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 :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: - call :meth:`django.db.models.Model.save` in the :class:`~factory.PostGeneration` hook that modifies the instance, or - override :class:`~factory.django.DjangoModelFactory._after_postgeneration` to :meth:`~django.db.models.Model.save` the instance. * Removed: - Drop support for Django 2.2 - Drop support for Django 3.0 - Drop support for Django 3.1 - Drop support for Python 3.6 - Drop support for Python 3.7 - Drop tests-skip-django-py36.patch because new version need python >= 3.7. * Fri Apr 21 2023 Dirk Müller <dmueller@suse.com> - add sle15_python_module_pythons (jsc#PED-68) * Wed Feb 01 2023 Dirk Müller <dmueller@suse.com> - skip testing with Django on SLE15 * Sat Jan 15 2022 Dirk Müller <dmueller@suse.com> - update to 3.2.1: - Add support for Django 3.2 - Do not override signals receivers registered in a :meth:`~factory.django.mute_signals` context. * Tue Dec 28 2021 Matej Cepl <mcepl@suse.com> - Add missing BR typing_extensions * Mon Dec 27 2021 Ben Greiner <code@bnavigator.de> - Add tests-skip-django-py36.patch -- no Django 4 for python36 * Sun May 16 2021 Ben Greiner <code@bnavigator.de> - Update to v3.2.0 * Add support for Django 3.1 * Add support for Python 3.9 * Drop support for Django 1.11. This version is not maintained anymore. * Drop support for Python 3.5. This version is not maintained anymore. Deprecated: * factory.use_strategy(). Use factory.FactoryOptions.strategy instead. The purpose of use_strategy() duplicates the factory option. Follow PEP 20: There should be one– and preferably only one –obvious way to do it. * use_strategy() will be removed in the next major version. Bug fix: * Calls to factory.Faker and factory.django.FileField within a Trait or Maybe no longer lead to a KeyError crash. - Remove python2 build conditional: Not supported upstream * Mon Oct 05 2020 John Vandenberg <jayvdb@gmail.com> - Use PyPI tarball and revise test runner to python -m unittest - Update to v3.1.0 * Allow all types of declarations in :class:`factory.Faker` calls enables references to other faker-defined attributes. - from v3.0.1 * Fix `import factory; factory.django.DjangoModelFactory` and similar calls. - from v3.0.0 * Removed alias + `from factory import DjangoModelFactory` to `from factory.django import DjangoModelFactory` + `from factory import MogoFactory` to `from factory.mogo import MogoFactory` + `from factory.fuzzy import get_random_state` to `from factory.random import get_random_state` + `from factory.fuzzy import set_random_state` to `from factory.random import set_random_state` + `from factory.fuzzy import reseed_random` to `from factory.random import reseed_random` * Drop support for Python 2 and 3.4 * Drop support for Django 2.0 and 2.1 * Remove deprecated `force_flush` from `SQLAlchemyModelFactory` Use `sqlalchemy_session_persistence = "flush"` instead * Drop deprecated `attributes()` from `factory.Factory`; use `make_factory(dict, FactoryClass._meta.pre_declarations)` * Drop deprecated `declarations()` from `factory.Factory`; use `FactoryClass._meta.pre_declarations` instead * Drop `factory.compat` module * Add support for Python 3.8 * Add support for Django 2.2 and 3.0 * Report misconfiguration when `Factory` is used as the `Factory.model` for another `Factory` * Allow configuring the color palette of `factory.django.ImageField` * `get_random_state()` now represents the state of Faker and `factory_boy` fuzzy attributes * Add SQLAlchemy ``get_or_create`` support * Display a developer-friendly error message when providing a model instead of a factory in a `factory.declarations.SubFactory` class * Fix issue with SubFactory not preserving signal muting behaviour of the used factory * Fix issue with overriding params in a Trait * Limit ``get_or_create`` behavior to fields specified in `django_get_or_create` * Re-raise `~django.db.IntegrityError` when `django_get_or_create` with multiple fields fails to lookup model using user provided keyword arguments * TypeError masked by __repr__ AttributeError when initializing `Maybe` with inconsistent phases
/usr/lib/python3.12/site-packages/factory /usr/lib/python3.12/site-packages/factory/__init__.py /usr/lib/python3.12/site-packages/factory/__pycache__ /usr/lib/python3.12/site-packages/factory/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/alchemy.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/alchemy.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/base.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/base.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/builder.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/builder.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/declarations.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/declarations.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/django.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/django.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/enums.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/enums.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/errors.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/errors.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/faker.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/faker.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/fuzzy.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/fuzzy.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/helpers.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/helpers.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/mogo.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/mogo.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/mongoengine.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/mongoengine.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/random.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/random.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/utils.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/factory/__pycache__/utils.cpython-312.pyc /usr/lib/python3.12/site-packages/factory/alchemy.py /usr/lib/python3.12/site-packages/factory/base.py /usr/lib/python3.12/site-packages/factory/builder.py /usr/lib/python3.12/site-packages/factory/declarations.py /usr/lib/python3.12/site-packages/factory/django.py /usr/lib/python3.12/site-packages/factory/enums.py /usr/lib/python3.12/site-packages/factory/errors.py /usr/lib/python3.12/site-packages/factory/faker.py /usr/lib/python3.12/site-packages/factory/fuzzy.py /usr/lib/python3.12/site-packages/factory/helpers.py /usr/lib/python3.12/site-packages/factory/mogo.py /usr/lib/python3.12/site-packages/factory/mongoengine.py /usr/lib/python3.12/site-packages/factory/random.py /usr/lib/python3.12/site-packages/factory/utils.py /usr/lib/python3.12/site-packages/factory_boy-3.3.1-py3.12.egg-info /usr/lib/python3.12/site-packages/factory_boy-3.3.1-py3.12.egg-info/PKG-INFO /usr/lib/python3.12/site-packages/factory_boy-3.3.1-py3.12.egg-info/SOURCES.txt /usr/lib/python3.12/site-packages/factory_boy-3.3.1-py3.12.egg-info/dependency_links.txt /usr/lib/python3.12/site-packages/factory_boy-3.3.1-py3.12.egg-info/requires.txt /usr/lib/python3.12/site-packages/factory_boy-3.3.1-py3.12.egg-info/top_level.txt /usr/share/doc/packages/python312-factory_boy /usr/share/doc/packages/python312-factory_boy/README.rst /usr/share/licenses/python312-factory_boy /usr/share/licenses/python312-factory_boy/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Jan 4 23:43:41 2025