inducer / relate

RELATE is an Environment for Learning And TEaching
http://documen.tician.de/relate
Other
384 stars 120 forks source link

Bump factory-boy from 2.12.0 to 3.3.1 #1119

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps factory-boy from 2.12.0 to 3.3.1.

Changelog

Sourced from factory-boy's changelog.

3.3.1 (2024-08-18)

New:

  • Add support for Django 4.2
  • Add support for Django 5.1
  • Add support for Python 3.12
  • :issue:903: Add basic typing annotations
  • Run the test suite against mongomock instead of an actual MongoDB server

Bugfix:

  • :issue:1031: Do not require :attr:~factory.alchemy.SQLAlchemyOptions.sqlalchemy_session when :attr:~factory.alchemy.SQLAlchemyOptions.sqlalchemy_session_factory is provided.

Removed:

  • Stop advertising and verifying support for Django 3.2, 4.0, 4.1

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.11

Bugfix:

- Make :meth:`~factory.django.mute_signals` mute signals during post-generation.
  • :issue:775: Change the signature for :class:~factory.alchemy.SQLAlchemyModelFactory's _save and
    _get_or_create methods 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's _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

... (truncated)

Commits
  • c38732f Preparing release 3.3.1
  • 0ee3c9d Enable "nitpicky" mode on Sphinx
  • a7d06b9 Target Django 5.x tests at version 5.1
  • ce39114 Stop testing for Django 3.2
  • c2188f7 Stop testing against PostgreSQL
  • 819acce Run the test suite against Mongomock
  • f8456f5 Remove various (obsolete) warning exemption flags
  • 8aaa29b Improve readability of alchemy checker
  • d6349de Call evaluate_pre() instead of evaluate() on Maybe decider
  • 01c0a73 test: add regression test for #965
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
inducer commented 1 month ago

@dependabot rebase