pkgsrc/devel/py-factory_boy/PLIST
adam 40e01699b9 py-factory_boy: updated to 3.1.0
3.1.0 (2020-10-02)
------------------

*New:*

    - Allow all types of declarations in :class:`factory.Faker` calls - enables references to other faker-defined attributes.


3.0.1 (2020-08-13)
------------------

*Bugfix:*

    - :issue:`769`: Fix ``import factory; factory.django.DjangoModelFactory`` and similar calls.


3.0.0 (2020-08-12)
------------------

Breaking changes
""""""""""""""""

The following aliases were removed:

+------------------------------------------------+---------------------------------------------------+
| Broken alias                                   | New import                                        |
+================================================+===================================================+
| ``from factory import DjangoModelFactory``     | ``from factory.django import DjangoModelFactory`` |
+------------------------------------------------+---------------------------------------------------+
| ``from factory import MogoFactory``            | ``from factory.mogo import MogoFactory``          |
+------------------------------------------------+---------------------------------------------------+
| ``from factory.fuzzy import get_random_state`` | ``from factory.random import get_random_state``   |
+------------------------------------------------+---------------------------------------------------+
| ``from factory.fuzzy import set_random_state`` | ``from factory.random import set_random_state``   |
+------------------------------------------------+---------------------------------------------------+
| ``from factory.fuzzy import reseed_random``    | ``from factory.random import reseed_random``      |
+------------------------------------------------+---------------------------------------------------+

*Removed:*

    - Drop support for Python 2 and 3.4. These versions `are not maintained anymore <https://devguide.python.org/devcycle/#end-of-life-branches>`__.
    - Drop support for Django 2.0 and 2.1. These versions `are not maintained anymore <https://www.djangoproject.com/download/#supported-versions>`__.
    - Remove deprecated ``force_flush`` from ``SQLAlchemyModelFactory`` options. Use
      ``sqlalchemy_session_persistence = "flush"`` instead.
    - Drop deprecated ``attributes()`` from :class:`~factory.Factory` subclasses; use
      ``factory.make_factory(dict, FactoryClass._meta.pre_declarations)`` instead.
    - Drop deprecated ``declarations()`` from :class:`~factory.Factory` subclasses; use ``FactoryClass._meta.pre_declarations`` instead.
    - Drop ``factory.compat`` module.

*New:*

    - Add support for Python 3.8
    - Add support for Django 2.2 and 3.0
    - Report misconfiguration when a :py:class:`~factory.Factory` is used as the :py:attr:`~factory.Factory.model` for another :py:class:`~factory.Factory`.
    - Allow configuring the color palette of :py:class:`~factory.django.ImageField`.
    - :py:meth:`get_random_state()` now represents the state of Faker and ``factory_boy`` fuzzy attributes.
    - Add SQLAlchemy ``get_or_create`` support

*Improvements:*

    - :issue:`561`: Display a developer-friendly error message when providing a model instead of a factory in a :class:`~factory.declarations.SubFactory` class.

*Bugfix:*

    - Fix issue with SubFactory not preserving signal muting behaviour of the used factory, thanks `Patrick Stein <https://github.com/PFStein>`_.
    - Fix issue with overriding params in a Trait, thanks `Grégoire Rocher <https://github.com/cecedille1>`_.
    - :issue:`598`: Limit ``get_or_create`` behavior to fields specified in ``django_get_or_create``.
    - :issue:`606`: Re-raise :class:`~django.db.IntegrityError` when ``django_get_or_create`` with multiple fields fails to lookup model using user provided keyword arguments.
    - :issue:`630`: TypeError masked by __repr__ AttributeError when initializing ``Maybe`` with inconsistent phases.
2020-12-10 12:31:16 +00:00

52 lines
1.7 KiB
Text

@comment $NetBSD: PLIST,v 1.2 2020/12/10 12:31:16 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/factory/__init__.py
${PYSITELIB}/factory/__init__.pyc
${PYSITELIB}/factory/__init__.pyo
${PYSITELIB}/factory/alchemy.py
${PYSITELIB}/factory/alchemy.pyc
${PYSITELIB}/factory/alchemy.pyo
${PYSITELIB}/factory/base.py
${PYSITELIB}/factory/base.pyc
${PYSITELIB}/factory/base.pyo
${PYSITELIB}/factory/builder.py
${PYSITELIB}/factory/builder.pyc
${PYSITELIB}/factory/builder.pyo
${PYSITELIB}/factory/declarations.py
${PYSITELIB}/factory/declarations.pyc
${PYSITELIB}/factory/declarations.pyo
${PYSITELIB}/factory/django.py
${PYSITELIB}/factory/django.pyc
${PYSITELIB}/factory/django.pyo
${PYSITELIB}/factory/enums.py
${PYSITELIB}/factory/enums.pyc
${PYSITELIB}/factory/enums.pyo
${PYSITELIB}/factory/errors.py
${PYSITELIB}/factory/errors.pyc
${PYSITELIB}/factory/errors.pyo
${PYSITELIB}/factory/faker.py
${PYSITELIB}/factory/faker.pyc
${PYSITELIB}/factory/faker.pyo
${PYSITELIB}/factory/fuzzy.py
${PYSITELIB}/factory/fuzzy.pyc
${PYSITELIB}/factory/fuzzy.pyo
${PYSITELIB}/factory/helpers.py
${PYSITELIB}/factory/helpers.pyc
${PYSITELIB}/factory/helpers.pyo
${PYSITELIB}/factory/mogo.py
${PYSITELIB}/factory/mogo.pyc
${PYSITELIB}/factory/mogo.pyo
${PYSITELIB}/factory/mongoengine.py
${PYSITELIB}/factory/mongoengine.pyc
${PYSITELIB}/factory/mongoengine.pyo
${PYSITELIB}/factory/random.py
${PYSITELIB}/factory/random.pyc
${PYSITELIB}/factory/random.pyo
${PYSITELIB}/factory/utils.py
${PYSITELIB}/factory/utils.pyc
${PYSITELIB}/factory/utils.pyo