[PR #2055] [CLOSED] Update factory-boy requirement from <=2.12.0 to <3.2.0 #2428

Closed
opened 2026-02-27 12:10:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/modoboa/modoboa/pull/2055
Author: @dependabot[bot]
Created: 10/23/2020
Status: Closed

Base: masterHead: dependabot/pip/factory-boy-lt-3.2.0


📝 Commits (3)

  • a27c212 Update factory-boy requirement from <=2.12.0 to <3.2.0
  • ab42cce Merge branch 'master' into dependabot/pip/factory-boy-lt-3.2.0
  • 527c19c Merge branch 'master' into dependabot/pip/factory-boy-lt-3.2.0

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 test-requirements.txt (+1 -1)

📄 Description

Updates the requirements on factory-boy to permit the latest version.

Changelog

Sourced from factory-boy's changelog.

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 """"""""""""""""

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:

... (truncated)

Commits
  • 688820f Preparing release 3.1.0
  • eefd059 Restore wheel building.
  • 55460a5 Fix small README class inconsistency
  • f0a4ef0 Allow nesting declarations in Faker params.
  • 901a730 Back to development: 3.0.2
  • cea134a Preparing release 3.0.1
  • efb5019 Hotfix: Fix factory.django aliases.
  • 80854c9 Back to development: 3.0.1
  • 3b0b867 Preparing release 3.0.0
  • decd1f3 Fix README's RST syntax.
  • Additional commits viewable in compare view

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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/modoboa/modoboa/pull/2055 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 10/23/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/pip/factory-boy-lt-3.2.0` --- ### 📝 Commits (3) - [`a27c212`](https://github.com/modoboa/modoboa/commit/a27c212fafce1cb494ab31f351599203bfa87b90) Update factory-boy requirement from <=2.12.0 to <3.2.0 - [`ab42cce`](https://github.com/modoboa/modoboa/commit/ab42cce189362913d1773278f340e46fd0c7438e) Merge branch 'master' into dependabot/pip/factory-boy-lt-3.2.0 - [`527c19c`](https://github.com/modoboa/modoboa/commit/527c19c065c3553f425c5922f8fdd772744e00c9) Merge branch 'master' into dependabot/pip/factory-boy-lt-3.2.0 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `test-requirements.txt` (+1 -1) </details> ### 📄 Description Updates the requirements on [factory-boy](https://github.com/FactoryBoy/factory_boy) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/FactoryBoy/factory_boy/blob/master/docs/changelog.rst">factory-boy's changelog</a>.</em></p> <blockquote> <h2>3.1.0 (2020-10-02)</h2> <p><em>New:</em></p> <pre><code>- Allow all types of declarations in :class:`factory.Faker` calls - enables references to other faker-defined attributes. </code></pre> <h2>3.0.1 (2020-08-13)</h2> <p><em>Bug fix:</em></p> <pre><code>- :issue:`769`: Fix ``import factory; factory.django.DjangoModelFactory`` and similar calls. </code></pre> <h2>3.0.0 (2020-08-12)</h2> <p>Breaking changes &quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;</p> <p>The following aliases were removed:</p> <p>+------------------------------------------------+---------------------------------------------------+ | Broken alias | New import | +================================================+===================================================+ | <code>from factory import DjangoModelFactory</code> | <code>from factory.django import DjangoModelFactory</code> | +------------------------------------------------+---------------------------------------------------+ | <code>from factory import MogoFactory</code> | <code>from factory.mogo import MogoFactory</code> | +------------------------------------------------+---------------------------------------------------+ | <code>from factory.fuzzy import get_random_state</code> | <code>from factory.random import get_random_state</code> | +------------------------------------------------+---------------------------------------------------+ | <code>from factory.fuzzy import set_random_state</code> | <code>from factory.random import set_random_state</code> | +------------------------------------------------+---------------------------------------------------+ | <code>from factory.fuzzy import reseed_random</code> | <code>from factory.random import reseed_random</code> | +------------------------------------------------+---------------------------------------------------+</p> <p><em>Removed:</em></p> <pre><code>- Drop support for Python 2 and 3.4. These versions `are not maintained anymore &lt;https://devguide.python.org/devcycle/#end-of-life-branches&gt;`__. - Drop support for Django 2.0 and 2.1. These versions `are not maintained anymore &lt;https://www.djangoproject.com/download/#supported-versions&gt;`__. - Remove deprecated ``force_flush`` from ``SQLAlchemyModelFactory`` options. Use ``sqlalchemy_session_persistence = &quot;flush&quot;`` 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. </code></pre> <p><em>New:</em></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/688820f549de522f279ac0c72446a6b3f9bf1a1a"><code>688820f</code></a> Preparing release 3.1.0</li> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/eefd05917f5f129bcc8e5f00deb621f09a6151a7"><code>eefd059</code></a> Restore wheel building.</li> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/55460a5611fd7f31745291ca68ed388787980279"><code>55460a5</code></a> Fix small README class inconsistency</li> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/f0a4ef008f07f8d42221565d8c33b88083f0be6d"><code>f0a4ef0</code></a> Allow nesting declarations in Faker params.</li> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/901a7309f0e60abd4ba5d18b83d2e0ac5cba3ab8"><code>901a730</code></a> Back to development: 3.0.2</li> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/cea134a4d831abf3efb9af350700aa7ab0c64058"><code>cea134a</code></a> Preparing release 3.0.1</li> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/efb5019e424bc74dc030422e8900a3f92df45275"><code>efb5019</code></a> Hotfix: Fix <code>factory.django</code> aliases.</li> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/80854c99e9c9ba3648b6b5ee8aceec003ee68692"><code>80854c9</code></a> Back to development: 3.0.1</li> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/3b0b867548003dcfe00c6e93a8f20e96ba065112"><code>3b0b867</code></a> Preparing release 3.0.0</li> <li><a href="https://github.com/FactoryBoy/factory_boy/commit/decd1f3f6e8dba98ef153e3c6718e7ba65795b1e"><code>decd1f3</code></a> Fix README's RST syntax.</li> <li>Additional commits viewable in <a href="https://github.com/FactoryBoy/factory_boy/compare/v1.0.4...3.1.0">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 12:10:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#2428
No description provided.