Skip to content

Bump factory-boy from 2.12.0 to 3.2.0

Studieverening via bot requested to merge dependabot/pip/factory-boy-3.2.0 into master

Bumps factory-boy from 2.12.0 to 3.2.0.

Changelog

Sourced from factory-boy's changelog.

3.2.0 (2020-12-28)

New:

- Add support for Django 3.1
- Add support for Python 3.9

Removed:

- Drop support for Django 1.11. This version `is not maintained anymore <https://www.djangoproject.com/download/#supported-versions>`__.
- Drop support for Python 3.5. This version `is not maintained anymore <https://devguide.python.org/devcycle/#end-of-life-branches>`__.

Deprecated:

- :func:`factory.use_strategy`. Use :attr:`factory.FactoryOptions.strategy` instead.
  The purpose of :func:`~factory.use_strategy` duplicates the factory option. Follow :pep:`20`: *There should be
  one-- and preferably only one --obvious way to do it.*

  :func:`~factory.use_strategy()` will be removed in the next major version.

Bug fix:

- :issue:`785` :issue:`786` :issue:`787` :issue:`788` :issue:`790` :issue:`796`: Calls to :class:`factory.Faker`
  and :class:`factory.django.FileField` within a :class:`~factory.Trait` or :class:`~factory.Maybe` no longer lead to
  a ``KeyError`` crash.

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)

Bug fix:

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

3.0.0 (2020-08-12)

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

... (truncated)

Commits
  • e58684d Preparing release 3.2.0
  • 2c4e53c Adjust ChangeLog formatting for zest releaser
  • 8a9b148 Show the actual line for DeprecationWarning
  • 178f816 Update ChangeLog
  • 0eb3b3b Add make TAGS to run ctags
  • 82d6144 Remove ParameteredDeclaration
  • 824c6e0 Switch away from ParameteredDeclaration
  • 372f3c2 Handle default extra context for all declarations
  • 74918ac Stop passing unnamed kwargs up in declarations
  • 5692f64 Add a new regression testing module
  • Additional commits viewable in compare view

Merge request reports