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

Bump pytest-factoryboy from 2.0.3 to 2.5.1 in /backend #3147

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2022

Bumps pytest-factoryboy from 2.0.3 to 2.5.1.

Changelog

Sourced from pytest-factoryboy's changelog.

2.5.1

  • Fix PytestDeprecationWarning. [#180](https://github.com/pytest-dev/pytest-factoryboy/issues/180) <https://github.com/pytest-dev/pytest-factoryboy/pull/180>_ [#179](https://github.com/pytest-dev/pytest-factoryboy/issues/179) <https://github.com/pytest-dev/pytest-factoryboy/issues/179>_

2.5.0

  • Using a generic class container like dict, list, set, etc. will raise a warning suggesting you to wrap your model using named_model(...). Doing this will make sure that the fixture name is correctly chosen, otherwise SubFactory and RelatedFactory aren't able to determine the name of the model. See Generic Container Classes as models <https://pytest-factoryboy.readthedocs.io/en/latest/#generic-container-classes-as-models>_ [#167](https://github.com/pytest-dev/pytest-factoryboy/issues/167) <https://github.com/pytest-dev/pytest-factoryboy/pull/167>_
  • Fix Factory._after_postgeneration being invoked twice. [#164](https://github.com/pytest-dev/pytest-factoryboy/issues/164) <https://github.com/pytest-dev/pytest-factoryboy/pull/164>_ [#156](https://github.com/pytest-dev/pytest-factoryboy/issues/156) <https://github.com/pytest-dev/pytest-factoryboy/issues/156>_
  • Stack traces caused by pytest-factoryboy are now slimmer. [#169](https://github.com/pytest-dev/pytest-factoryboy/issues/169) <https://github.com/pytest-dev/pytest-factoryboy/pull/169>_
  • Check for naming conflicts between factory and model fixture name, and raise a clear error immediately. [#86](https://github.com/pytest-dev/pytest-factoryboy/issues/86) <https://github.com/pytest-dev/pytest-factoryboy/pull/86>_

2.4.0

  • LazyFixture is now a Generic[T] type.
  • Simplify fixture generation (internal change).
  • Use poetry (internal change).

2.3.1

  • Fix AttributeError when using LazyFixture in register(...) [#159](https://github.com/pytest-dev/pytest-factoryboy/issues/159) <https://github.com/pytest-dev/pytest-factoryboy/issues/159>_ [#158](https://github.com/pytest-dev/pytest-factoryboy/issues/158) <https://github.com/pytest-dev/pytest-factoryboy/issues/158>_

2.3.0

  • Add support for factory.PostGenerationMethodCall [#103](https://github.com/pytest-dev/pytest-factoryboy/issues/103) <https://github.com/pytest-dev/pytest-factoryboy/pull/103>_ [#87](https://github.com/pytest-dev/pytest-factoryboy/issues/87) <https://github.com/pytest-dev/pytest-factoryboy/issues/87>_.

2.2.1

  • @register() decorator now refuses kwargs after the initial specialization. This behaviour was mistakenly introduced in version 2.2.0, and it complicates the usage of the register function unnecessarily. For example, the following is not allowed anymore:

.. code-block:: python

# INVALID
register(
    _name="second_author",
    name="C.S. Lewis",
)(
    AuthorFactory,
    register_user="cs_lewis",
    register_user__password="Aslan1",
)

VALID

register( AuthorFactory, _name="second_author", name="C.S. Lewis", register_user="cs_lewis", register_user__password="Aslan1",

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@vercel
Copy link

vercel bot commented Dec 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
pycon ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 29, 2023 at 3:58PM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
association-frontend ⬜️ Ignored (Inspect) Mar 29, 2023 at 3:58PM (UTC)

@codecov
Copy link

codecov bot commented Dec 2, 2022

Codecov Report

Merging #3147 (31932e4) into main (21166a1) will decrease coverage by 2.51%.
The diff coverage is 94.47%.

❗ Current head 31932e4 differs from pull request most recent head f616b13. Consider uploading reports for the commit f616b13 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3147      +/-   ##
==========================================
- Coverage   92.69%   90.19%   -2.51%     
==========================================
  Files         116      165      +49     
  Lines        2574     5038    +2464     
  Branches      247      522     +275     
==========================================
+ Hits         2386     4544    +2158     
- Misses        174      440     +266     
- Partials       14       54      +40     

@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from 732a843 to 071d8b5 Compare December 19, 2022 18:49
@vercel vercel bot temporarily deployed to Preview – pycon December 19, 2022 18:56 Inactive
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from 071d8b5 to b3ba0a8 Compare January 30, 2023 19:25
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from b3ba0a8 to 5adaf5e Compare January 31, 2023 19:04
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from 5adaf5e to 77a3b6a Compare February 1, 2023 11:36
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from 77a3b6a to 0938005 Compare February 5, 2023 12:25
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from 0938005 to 28c95fa Compare February 7, 2023 13:15
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from 28c95fa to d58fa7e Compare February 15, 2023 23:14
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from d58fa7e to badd977 Compare February 18, 2023 15:57
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from badd977 to 96df05b Compare February 18, 2023 19:18
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from 96df05b to 1ce7fcc Compare February 22, 2023 21:50
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from 1ce7fcc to c7bc90d Compare March 10, 2023 11:22
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch from c7bc90d to a9f7b23 Compare March 16, 2023 21:14
Bumps [pytest-factoryboy](https://github.com/pytest-dev/pytest-factoryboy) from 2.0.3 to 2.5.1.
- [Release notes](https://github.com/pytest-dev/pytest-factoryboy/releases)
- [Changelog](https://github.com/pytest-dev/pytest-factoryboy/blob/master/CHANGES.rst)
- [Commits](pytest-dev/pytest-factoryboy@2.0.3...2.5.1)

---
updated-dependencies:
- dependency-name: pytest-factoryboy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 26, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/backend/pytest-factoryboy-2.5.1 branch November 26, 2023 01:39
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