Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Update factory_boy to 2.9.0 #648

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

There's a new version of factory_boy available.
You are currently using 2.8.1. I have updated it to 2.9.0

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

Changelog

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

@robhudson
Copy link
Member

This can't be upgraded until the pytest_factoryboy issue is fixed: pytest-dev/pytest-factoryboy#47

@pyup-bot
Copy link
Contributor Author

pyup-bot commented Aug 2, 2017

Closing this in favor of #657

@pyup-bot pyup-bot closed this Aug 2, 2017
@jezdez jezdez deleted the pyup-update-factory_boy-2.8.1-to-2.9.0 branch August 2, 2017 17:03
jezdez pushed a commit that referenced this pull request Nov 15, 2018
Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.3.1 to 2.4.0.
<details>
<summary>Changelog</summary>

*Sourced from [pycodestyle's changelog](https://github.com/PyCQA/pycodestyle/blob/master/CHANGES.txt).*

> 2.4.0 (2018-04-10)
> ------------------
> 
> New checks:
> 
> * Add W504 warning for checking that a break doesn't happen after a binary
>   operator. This check is ignored by default. PR [#502](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/502).
> * Add W605 warning for invalid escape sequences in string literals. PR [#676](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/676).
> * Add W606 warning for 'async' and 'await' reserved keywords being introduced
>   in Python 3.7. PR [#684](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/684).
> * Add E252 error for missing whitespace around equal sign in type annotated
>   function arguments with defaults values. PR [#717](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/717).
> 
> Changes:
> 
> * An internal bisect search has replaced a linear search in order to improve
>   efficiency. PR [#648](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/648).
> * pycodestyle now uses PyPI trove classifiers in order to document supported
>   python versions on PyPI. PR [#654](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/654).
> * 'setup.cfg' '[wheel]' section has been renamed to '[bdist_wheel]', as
>   the former is legacy. PR [#653](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/653).
> * pycodestyle now handles very long lines much more efficiently for python
>   3.2+. Fixes [#643](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/643). PR [#644](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/644).
> * You can now write 'pycodestyle.StyleGuide(verbose=True)' instead of
>   'pycodestyle.StyleGuide(verbose=True, paths=['-v'])' in order to achieve
>   verbosity. PR [#663](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/663).
> * The distribution of pycodestyle now includes the license text in order to
>   comply with open source licenses which require this. PR [#694](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/694).
> * 'maximum_line_length' now ignores shebang ('#!') lines. PR [#736](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/736).
> * Add configuration option for the allowed number of blank lines. It is
>   implemented as a top level dictionary which can be easily overwritten. Fixes
>   [#732](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/732). PR [#733](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/733).
> 
> Bugs:
> 
> * Prevent a 'DeprecationWarning', and a 'SyntaxError' in future python, caused
>   by an invalid escape sequence. PR [#625](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/625).
> * Correctly report E501 when the first line of a docstring is too long.
>   Resolves [#622](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/622). PR [#630](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/630).
> * Support variable annotation when variable start by a keyword, such as class
>   variable type annotations in python 3.6. PR [#640](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/640).
> * pycodestyle internals have been changed in order to allow 'python3 -m
>   cProfile' to report correct metrics. PR [#647](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/647).
> * Fix a spelling mistake in the description of E722. PR [#697](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/697).
> * 'pycodestyle --diff' now does not break if your 'gitconfig' enables
>   'mnemonicprefix'. PR [#706](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/706).
</details>
<details>
<summary>Commits</summary>

- [`f73c4bb`](PyCQA/pycodestyle@f73c4bb) Release v2.4.0
- [`72b90c5`](PyCQA/pycodestyle@72b90c5) Merge pull request [#740](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/740) from JakobGM/docs/changes
- [`51cf479`](PyCQA/pycodestyle@51cf479) Add PR references from all changelog items
- [`6d10bc7`](PyCQA/pycodestyle@6d10bc7) Fixed typo
- [`41438bf`](PyCQA/pycodestyle@41438bf) Add changelog items for 2.3.1...master
- [`5d31e7e`](PyCQA/pycodestyle@5d31e7e) Add variables so blank lines may be configures
- [`9f225ac`](PyCQA/pycodestyle@9f225ac) Ignore length of shebang line ([#736](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/736))
- [`368e62c`](PyCQA/pycodestyle@368e62c) Finalize support for Python 3.7
- [`eb91b79`](PyCQA/pycodestyle@eb91b79) Merge pull request [#684](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/684) from jdufresne/async-await
- [`01ecae5`](PyCQA/pycodestyle@01ecae5) Updated License / copyright date
- Additional commits viewable in [compare view](PyCQA/pycodestyle@2.3.1...2.4.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=pycodestyle&package-manager=pip&previous-version=2.3.1&new-version=2.4.0)](https://dependabot.com/compatibility-score.html?dependency-name=pycodestyle&package-manager=pip&previous-version=2.3.1&new-version=2.4.0)

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

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<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 cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants