chore(deps-dev): bump factory-boy from 3.2.1 to 3.3.0
Bumps factory-boy from 3.2.1 to 3.3.0.
Changelog
Sourced from factory-boy's changelog.
3.3.0 (2023-07-19)
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.11Bugfix:
- Make :meth:`~factory.django.mute_signals` mute signals during post-generation.
- :issue:
775: Change the signature for :meth:~factory.alchemy.SQLAlchemyModelFactory._saveand :meth:~factory.alchemy.SQLAlchemyModelFactory._get_or_createto avoid argument names clashes with a field namedsession.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_postgenerationraises a :class:DeprecationWarningwhen calling :meth:~django.db.models.Model.save. Inspect your :class:~factory.django.DjangoModelFactorysubclasses:
If the :meth:
~django.db.models.Model.savecall is not needed after :class:~factory.PostGeneration, set :attr:factory.django.DjangoOptions.skip_postgeneration_savetoTruein the factory meta.Otherwise, the instance has been modified by :class:
~factory.PostGenerationhooks and needs to be :meth:~django.db.models.Model.save\ d. Either:
- call :meth:
django.db.models.Model.savein the :class:~factory.PostGenerationhook that modifies the instance, or- override :class:
~factory.django.DjangoModelFactory._after_postgenerationto :meth:~django.db.models.Model.savethe 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
Commits
38ecbaePreparing release 3.3.0f52d6cdIntroduce Transformer.Force5433048Handle declarations in Transformersd498bcdFactor "unwrapped evaluation" of declarations.53b34d5Remove zip_safe flag from setup.cfg2b0efa7Upgrade intersphinx mapping for Sphinx 83c59001Merge tag '3.2.1' into masterf12bf9bSkip post-generation save in test_class_decorator_related_model_with_post_hookde8d51eAdd changelog entry for #1004834afc1Reuse existing models- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
@dependabot rebase
@dependabot rebase
Looks like factory-boy is up-to-date now, so this is no longer needed.