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

Update factory-boy to 2.9.2 #1079

Merged
merged 2 commits into from
Sep 5, 2017
Merged

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Aug 3, 2017

There's a new version of factory-boy available.
You are currently using 2.8.1. I have updated it to 2.9.2

These links might come in handy: PyPI | Changelog | Repo

Changelog

2.9.2


Bugfix:

  • Fix declaration corruption bug when a factory defined foo__bar__baz=1 and a caller
    provided a foo__bar=x parameter at call time: this got merged into the factory's base
    declarations.

2.9.1


Bugfix:

2.9.0


This version brings massive changes to the core engine, thus reducing the number of
corner cases and weird behaviourrs.

New:

  • :issue:275: factory.fuzzy and factory.faker now use the same random seed.
  • Add :class:factory.Maybe, which chooses among two possible declarations based
    on another field's value (powers the :class:~factory.Trait feature).
  • :class:~factory.PostGenerationMethodCall only allows to pass one positional argument; use keyword arguments for
    extra parameters.

Deprecation:

  • factory.fuzzy.get_random_state is deprecated, factory.random.get_random_state should be used instead.
  • factory.fuzzy.set_random_state is deprecated, factory.random.set_random_state should be used instead.
  • factory.fuzzy.reseed_random is deprecated, factory.random.reseed_random should be used instead.

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@noirbizarre noirbizarre force-pushed the pyup-update-factory-boy-2.8.1-to-2.9.2 branch from 0f12a54 to 63f9d6a Compare September 5, 2017 17:54
@noirbizarre noirbizarre merged commit 82ebd32 into dev Sep 5, 2017
@noirbizarre noirbizarre deleted the pyup-update-factory-boy-2.8.1-to-2.9.2 branch September 5, 2017 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants