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.2 #663

Closed
wants to merge 2 commits into from

Conversation

pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Aug 4, 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! 🤖

@jezdez
Copy link
Contributor

jezdez commented Sep 21, 2017

Can't upgrade until #648 (comment) is fixed.

@jezdez
Copy link
Contributor

jezdez commented Feb 19, 2018

Fixed in #988.

@jezdez jezdez closed this Feb 19, 2018
@jezdez jezdez deleted the pyup-update-factory_boy-2.8.1-to-2.9.2 branch February 19, 2018 18:42
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>
jezdez pushed a commit that referenced this pull request Nov 15, 2018
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 3.3.3 to 3.4.4.
<details>
<summary>Release notes</summary>

*Sourced from [pytest-django's releases](https://github.com/pytest-dev/pytest-django/releases).*

> ## Minor bugfixes
> 3.4.4 (2018-11-13)
> ------------------
> 
> Bugfixes
> ^^^^^^^^
> 
> * Refine the django.conf module check to see if the settings really are
>   configured ([#668](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/668)).
> * Avoid crash after OSError during Django path detection ([#664](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/664)).
> 
> Features
> ^^^^^^^^
> 
> * Add parameter info to fixture assert_num_queries to display additional message on failure ([#663](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/663)).
> 
> Docs
> ^^^^
> 
> * Improve doc for django_assert_num_queries/django_assert_max_num_queries.
> * Add warning about sqlite specific snippet + fix typos ([#666](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/666)).
> 
> Misc
> ^^^^
> 
> * MANIFEST.in: include tests for downstream distros ([#653](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/653)).
> * Ensure that the LICENSE file is included in wheels ([#665](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/665)).
> * Run black on source.
> 
> ## Fixed OSError with arguments containing ``::`` on Windows ([#641](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/641))
> No release notes provided.
> 
> ## Pathlib fixes
> 3.4.2 (2018-08-20)
> ------------------
> 
> Bugfixes
> ^^^^^^^^
> 
> * Changed dependency for pathlib to pathlib2 ([#636](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/636)).
> * Fixed code for inserting the project to sys.path with pathlib to use an
>   absolute path, regression in 3.4.0 ([#637](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/637), [#638](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/638)).
> 
> ## Fix Travis release process
> No release notes provided.
> 
> 3.4.0 (2018-08-16)
> ------------------
> 
> Features
></table> ... (truncated)
</details>
<details>
<summary>Changelog</summary>

*Sourced from [pytest-django's changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst).*

> 3.4.4 (2018-11-13)
> ------------------
> 
> Bugfixes
> ^^^^^^^^
> 
> * Refine the django.conf module check to see if the settings really are
>   configured ([#668](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/668)).
> * Avoid crash after OSError during Django path detection ([#664](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/664)).
> 
> Features
> ^^^^^^^^
> 
> * Add parameter info to fixture assert_num_queries to display additional message on failure ([#663](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/663)).
> 
> Docs
> ^^^^
> 
> * Improve doc for django_assert_num_queries/django_assert_max_num_queries.
> * Add warning about sqlite specific snippet + fix typos ([#666](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/666)).
> 
> Misc
> ^^^^
> 
> * MANIFEST.in: include tests for downstream distros ([#653](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/653)).
> * Ensure that the LICENSE file is included in wheels ([#665](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/665)).
> * Run black on source.
> 
> 
> 3.4.3 (2018-09-16)
> ------------------
> 
> Bugfixes
> ^^^^^^^^
> 
> * Fix OSError with arguments containing ``::`` on Windows ([#641](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/641)).
> 
> 3.4.2 (2018-08-20)
> ------------------
> 
> Bugfixes
> ^^^^^^^^
> 
> * Changed dependency for pathlib to pathlib2 ([#636](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/636)).
> * Fixed code for inserting the project to sys.path with pathlib to use an
>   absolute path, regression in 3.4.0 ([#637](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/637), [#638](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/638)).
> 
> 3.4.0 (2018-08-16)
> ------------------
> 
></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`75e01bb`](pytest-dev/pytest-django@75e01bb) Version 3.4.4
- [`4a356c1`](pytest-dev/pytest-django@4a356c1) Merge pull request [#663](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/663) from MrtnBckr/master
- [`7ebe329`](pytest-dev/pytest-django@7ebe329) MANIFEST.in: include tests for downstream distros ([#653](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/653))
- [`3dbeb79`](pytest-dev/pytest-django@3dbeb79) Improve doc for django_assert_num_queries/django_assert_max_num_queries
- [`9f334a0`](pytest-dev/pytest-django@9f334a0) Add parameter info to fixture assert_num_queries to display additional messag...
- [`39d3e5c`](pytest-dev/pytest-django@39d3e5c) _assert_num_queries: keep num arg name
- [`accae0d`](pytest-dev/pytest-django@accae0d) Refine the django.conf module check to see if the settings really are configu...
- [`fd8ff0b`](pytest-dev/pytest-django@fd8ff0b) _assert_num_queries: make code clearer ([#667](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/667))
- [`9804e61`](pytest-dev/pytest-django@9804e61) Run black on source
- [`22ebd0a`](pytest-dev/pytest-django@22ebd0a) docs: add warning about sqlite specific snippet + fix typos [ci skip] ([#666](https://github-redirect.dependabot.com/pytest-dev/pytest-django/issues/666))
- Additional commits viewable in [compare view](pytest-dev/pytest-django@3.3.3...3.4.4)
</details>
<br />

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

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>

[//]: # (dependabot-start)

---
⚠️  **Dependabot is rebasing this PR** ⚠️ 

This PR will be updated for you in a moment. If you make any changes yourself then they will take precedence over the rebase (which will be abandoned).

[//]: # (dependabot-end)
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