Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump factory-boy from 2.12 to 3.0.1 #7207

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps factory-boy from 2.12 to 3.0.1.

Changelog

Sourced from factory-boy's changelog.

3.0.1 (2020-08-13)

Bugfix:

  • 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.
  • Drop support for Django 2.0 and 2.1. These versions are not maintained anymore.
  • Remove deprecated force_flush from SQLAlchemyModelFactory options. Use sqlalchemy_session_persistence = "flush" instead.
  • Drop deprecated attributes() from ~factory.Factory subclasses; use factory.make_factory(dict, FactoryClass._meta.pre_declarations) instead.
  • Drop deprecated declarations() from ~factory.Factory subclasses; use FactoryClass._meta.pre_declarations instead.
  • Drop factory.compat module.

New:

  • Add support for Python 3.8
  • Add support for Django 2.2 and 3.0
  • Report misconfiguration when a :py~factory.Factory is used as the :py~factory.Factory.model for another :py~factory.Factory.
  • Allow configuring the color palette of :py~factory.django.ImageField.
  • :pyget_random_state() now represents the state of Faker and factory_boy fuzzy attributes.
  • Add SQLAlchemy get_or_create support

Improvements:

  • 561: Display a developer-friendly error message when providing a model instead of a factory in a ~factory.declarations.SubFactory class.

Bugfix:

  • Fix issue with SubFactory not preserving signal muting behaviour of the used factory, thanks Patrick Stein.
  • Fix issue with overriding params in a Trait, thanks Grégoire Rocher.
  • 598: Limit get_or_create behavior to fields specified in django_get_or_create.
Commits
  • 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.
  • 05d9d44 Include documentation tools in dev installs.
  • a56a852 Better error when feeding SubFactory a non-factory
  • 85543a5 Make a breaking changes summary in change log
  • 43f557d Simplify Django imports
  • 5b9ad19 Fix incorrectly highlighted code section
  • 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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@codecov
Copy link

codecov bot commented Aug 14, 2020

Codecov Report

Merging #7207 into development will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           development    #7207   +/-   ##
============================================
  Coverage        62.98%   62.98%           
============================================
  Files              259      259           
  Lines            13042    13042           
============================================
  Hits              8214     8214           
  Misses            4828     4828           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa07f62...ac7df49. Read the comment docs.

@iamareebjamal iamareebjamal merged commit 260db91 into development Aug 14, 2020
@iamareebjamal iamareebjamal deleted the dependabot/pip/factory-boy-3.0.1 branch August 14, 2020 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant