Skip to content
This repository was archived by the owner on May 27, 2022. It is now read-only.

[PyUP] Update factory-boy to 2.12.0#213

Closed
pyup-bot wants to merge 1 commit intomasterfrom
pyup/update-factory-boy-2.10.0-to-2.12.0
Closed

[PyUP] Update factory-boy to 2.12.0#213
pyup-bot wants to merge 1 commit intomasterfrom
pyup/update-factory-boy-2.10.0-to-2.12.0

Conversation

@pyup-bot
Copy link
Copy Markdown
Collaborator

This PR updates factory-boy from 2.10.0 to 2.12.0.

Changelog

2.12.0

-------------------

*New:*

 - Add support for Python 3.7
 - Add support for Django 2.1
 - Add :attr:`~factory.fuzzy.FuzzyChoice.getter` to :class:`~factory.fuzzy.FuzzyChoice` that mimics
   the behavior of ``getter`` in :class:`~factory.Iterator`
 - Make the ``extra_kwargs`` parameter of :meth:`~factory.faker.Faker.generate` optional
 - Add :class:`~factory.RelatedFactoryList` class for one-to-many support, thanks `Sean Harrington <https://github.com/seanharr11>`_.
 - Make the `locale` argument for :class:`~factory.faker.Faker` keyword-only

*Bugfix:*

 - Allow renamed arguments to be optional, thanks to `Justin Crown <https://github.com/mrname>`_.
 - Fix `django_get_or_create` behavior when using multiple fields with `unique=True`, thanks to `YPCrumble <https://github.com/YPCrumble>`

2.11.1

-------------------

*Bugfix:*

 - Fix passing deep context to a :class:`~factory.SubFactory` (``Foo(x__y__z=factory.Faker('name')``)

2.11.0

-------------------

*Bugfix:*

 - Fix :class:`~factory.fuzzy.FuzzyFloat` to return a 15 decimal digits precision float by default
 - :issue:`451`: Restore :class:`~factory.django.FileField` to a
   :class:`~factory.declarations.ParameteredAttribute`, relying on composition to parse the provided parameters.
 - :issue:`389`: Fix random state management with ``faker``.
 - :issue:`466`: Restore mixing :class:`~factory.Trait` and :meth:`~factory.post_generation`.
Links

@pyup-bot
Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #333

@pyup-bot pyup-bot closed this Aug 12, 2020
@noirbizarre noirbizarre deleted the pyup/update-factory-boy-2.10.0-to-2.12.0 branch August 12, 2020 21:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant