Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Update factory-boy to 2.9.1 #343

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

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

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

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

Changelog

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! 🤖

@pyup-bot
Copy link
Contributor Author

pyup-bot commented Aug 3, 2017

Closing this in favor of #344

@pyup-bot pyup-bot closed this Aug 3, 2017
@yohanboniface yohanboniface deleted the pyup-update-factory-boy-2.8.1-to-2.9.1 branch August 3, 2017 21:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant