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

chore(deps-dev): bump the pytest group across 1 directory with 7 updates #549

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2024

Bumps the pytest group with 7 updates in the /backend directory:

Package From To
pytest 8.2.0 8.3.4
pytest-cov 5.0.0 6.0.0
pytest-django 4.8.0 4.9.0
pytest-env 1.1.3 1.1.5
pytest-factoryboy 2.1.0 2.7.0
pytest-randomly 3.15.0 3.16.0
pytest-freezer 0.4.8 0.4.9

Updates pytest from 8.2.0 to 8.3.4

Release notes

Sourced from pytest's releases.

8.3.4

pytest 8.3.4 (2024-12-01)

Bug fixes

  • #12592: Fixed KeyError{.interpreted-text role="class"} crash when using --import-mode=importlib in a directory layout where a directory contains a child directory with the same name.

  • #12818: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the AST, like executing.

  • #12849: ANSI escape codes for colored output now handled correctly in pytest.fail{.interpreted-text role="func"} with [pytrace=False]{.title-ref}.

  • #9353: pytest.approx{.interpreted-text role="func"} now uses strict equality when given booleans.

Improved documentation

  • #10558: Fix ambiguous docstring of pytest.Config.getoption{.interpreted-text role="func"}.

  • #10829: Improve documentation on the current handling of the --basetemp option and its lack of retention functionality (temporary directory location and retention{.interpreted-text role="ref"}).

  • #12866: Improved cross-references concerning the recwarn{.interpreted-text role="fixture"} fixture.

  • #12966: Clarify filterwarnings{.interpreted-text role="ref"} docs on filter precedence/order when using multiple @pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>{.interpreted-text role="ref"} marks.

Contributor-facing changes

  • #12497: Fixed two failing pdb-related tests on Python 3.13.

8.3.3

pytest 8.3.3 (2024-09-09)

Bug fixes

  • #12446: Avoid calling @property (and other instance descriptors) during fixture discovery -- by asottile{.interpreted-text role="user"}

  • #12659: Fixed the issue of not displaying assertion failure differences when using the parameter --import-mode=importlib in pytest>=8.1.

... (truncated)

Commits
  • 53f8b4e Update pypa/gh-action-pypi-publish to v1.12.2
  • 98dff36 Prepare release version 8.3.4
  • 1b474e2 approx: use exact comparison for bool (#13013)
  • b541721 docs: Fix wrong statement about sys.modules with importlib import mode (#1298...
  • 16cb87b pytest.fail: fix ANSI escape codes for colored output (#12959) (#12990)
  • be6bc81 Issue #12966 Clarify filterwarnings docs on precedence when using multiple ma...
  • 7aeb72b Improve docs on basetemp and retention (#12912) (#12928)
  • c875841 Merge pull request #12917 from pytest-dev/patchback/backports/8.3.x/ded1f44e5...
  • 6502816 Merge pull request #12913 from jakkdl/dontfailonbadpath
  • 52135b0 Merge pull request #12885 from The-Compiler/pdb-py311 (#12887)
  • Additional commits viewable in compare view

Updates pytest-cov from 5.0.0 to 6.0.0

Changelog

Sourced from pytest-cov's changelog.

6.0.0 (2024-10-29)

  • Updated various documentation inaccuracies, especially on subprocess handling.
  • Changed fail under checks to use the precision set in the coverage configuration. Now it will perform the check just like coverage report would.
  • Added a --cov-precision cli option that can override the value set in your coverage configuration.
  • Dropped support for now EOL Python 3.8.
Commits
  • 9540437 Bump version: 5.0.0 → 6.0.0
  • 9f81754 Further trim down envs and drop Python 3.8.
  • b12b5ec Update conf.
  • 23f4b27 Update changelog.
  • 291a04f Bump test deps and trim config.
  • 08f1101 Add --cov-precision option. Close #655.
  • 76fe2a7 Move the warnings/errors in a place that doesn't import anything.
  • a9ea7b7 Implement error/warning for the bad dynamic_context being set in config.
  • c299e01 Add explicit suffixing to make it easier to see the identify the sources/usag...
  • c87e546 Add reproducer for weird xdist dynamic_context interaction. Ref #604.
  • Additional commits viewable in compare view

Updates pytest-django from 4.8.0 to 4.9.0

Release notes

Sourced from pytest-django's releases.

v4.9.0

https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst#v490-2024-09-02

Changelog

Sourced from pytest-django's changelog.

v4.9.0 (2024-09-02)

Compatibility ^^^^^^^^^^^^^

  • Added official support for Django 5.1.
  • Dropped support for Django 3.2 and 4.1.

Improvements ^^^^^^^^^^^^

  • Respect the string_if_invalid template setting when --fail-on-template-vars is active and :func:@pytest.mark.ignore_template_errors <pytest.mark.ignore_template_errors> is used.

  • Avoid running database migrations for :class:~django.test.SimpleTestCase unittest tests.

  • Added docstrings to public fixtures.

Bugfixes ^^^^^^^^

  • Fix type hints for pytest_django.asserts.assertFormError() and pytest_django.asserts.assertForSetError().
Commits
  • 1157a7c Release 4.9.0
  • 089843c Add a few type annotations
  • d878d56 Add a missing type annotation
  • 19605d7 fail-on-template-vars: modernize stack inspection code (#1129)
  • c746a46 Avoid running database migrations for SimpleTestCase (#1120)
  • 8502a12 Replace psycopg2, psycopg2cffi -> psycopg in testing and docs
  • 52b2205 Drop support for EOL Django 3.2, 4.1, add support for 5.1
  • c66f9d3 ci: use trusted publishing for release
  • 30602a2 tox: update ruff, mypy
  • a39b910 Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.10.0
  • Additional commits viewable in compare view

Updates pytest-env from 1.1.3 to 1.1.5

Release notes

Sourced from pytest-env's releases.

1.1.5

What's Changed

Full Changelog: pytest-dev/pytest-env@1.1.4...1.1.5

1.1.4

Full Changelog: pytest-dev/pytest-env@1.1.3...1.1.4

Commits
  • fb88038 Update README.md
  • 438fc5a Improve the CI (#101)
  • 36ba135 [pre-commit.ci] pre-commit autoupdate (#100)
  • e9faa63 [pre-commit.ci] pre-commit autoupdate (#99)
  • 4d5015b Bump tools and dependencies and support 3.13
  • e95bd81 Bump tools and dependencies and support 3.13
  • 880f318 [pre-commit.ci] pre-commit autoupdate (#96)
  • da9b992 Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 (#98)
  • b398758 [pre-commit.ci] pre-commit autoupdate (#95)
  • edf092e [pre-commit.ci] pre-commit autoupdate (#94)
  • Additional commits viewable in compare view

Updates pytest-factoryboy from 2.1.0 to 2.7.0

Changelog

Sourced from pytest-factoryboy's changelog.

2.7.0

  • Declare required python version >= 3.8. (python 3.7 support was already removed in 2.6.0, the declared supported version tag was not updated though). [#215](https://github.com/pytest-dev/pytest-factoryboy/issues/215) <https://github.com/pytest-dev/pytest-factoryboy/pull/215>_

2.6.1

  • Address compatibility issue with pytest 8.1. [#213](https://github.com/pytest-dev/pytest-factoryboy/issues/213) <https://github.com/pytest-dev/pytest-bdd/pull/213>_

2.6.0

  • Drop python 3.7 support and add support for python 3.12. Supported versions are now: 3.8, 3.9, 3.10, 3.11, 3.12. [#197](https://github.com/pytest-dev/pytest-factoryboy/issues/197) <https://github.com/pytest-dev/pytest-factoryboy/pull/197>_
  • Drop support for pytest `_

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",

... (truncated)

Commits
  • 66c630c Bump version to 2.7.0
  • 8c1809a Merge pull request #215 from pytest-dev/remove-py37-compat-tag
  • e98d47f Add changelog entry
  • 61dd7d5 Declare compatibility only with python 3.8
  • 4ba72ab Bump poetry to version 1.8.2
  • 7544eca Bump version 2.6.1
  • 9790d91 Merge pull request #213 from bluetech/pytest81-fix
  • 450d857 Add changelog entry
  • e455532 Fix version comparison
  • d7edd31 Add getfixturedefs to compat.__all__
  • Additional commits viewable in compare view

Updates pytest-randomly from 3.15.0 to 3.16.0

Changelog

Sourced from pytest-randomly's changelog.

3.16.0 (2024-10-25)

  • Drop Python 3.8 support.

  • Support Python 3.13.

Commits

Updates pytest-freezer from 0.4.8 to 0.4.9

Release notes

Sourced from pytest-freezer's releases.

0.4.9

What's Changed

New Contributors

Full Changelog: pytest-dev/pytest-freezer@0.4.8...0.4.9

Commits

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.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot requested a review from a team as a code owner December 12, 2024 12:06
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 12, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-ab36ca58ad branch 2 times, most recently from f8560bf to 05880a6 Compare December 16, 2024 11:41
Bumps the pytest group with 7 updates in the /backend directory:

| Package | From | To |
| --- | --- | --- |
| [pytest](https://github.com/pytest-dev/pytest) | `8.2.0` | `8.3.4` |
| [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `5.0.0` | `6.0.0` |
| [pytest-django](https://github.com/pytest-dev/pytest-django) | `4.8.0` | `4.9.0` |
| [pytest-env](https://github.com/pytest-dev/pytest-env) | `1.1.3` | `1.1.5` |
| [pytest-factoryboy](https://github.com/pytest-dev/pytest-factoryboy) | `2.1.0` | `2.7.0` |
| [pytest-randomly](https://github.com/pytest-dev/pytest-randomly) | `3.15.0` | `3.16.0` |
| [pytest-freezer](https://github.com/pytest-dev/pytest-freezer) | `0.4.8` | `0.4.9` |



Updates `pytest` from 8.2.0 to 8.3.4
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.2.0...8.3.4)

Updates `pytest-cov` from 5.0.0 to 6.0.0
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v5.0.0...v6.0.0)

Updates `pytest-django` from 4.8.0 to 4.9.0
- [Release notes](https://github.com/pytest-dev/pytest-django/releases)
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst)
- [Commits](pytest-dev/pytest-django@v4.8.0...v4.9.0)

Updates `pytest-env` from 1.1.3 to 1.1.5
- [Release notes](https://github.com/pytest-dev/pytest-env/releases)
- [Commits](pytest-dev/pytest-env@1.1.3...1.1.5)

Updates `pytest-factoryboy` from 2.1.0 to 2.7.0
- [Changelog](https://github.com/pytest-dev/pytest-factoryboy/blob/master/CHANGES.rst)
- [Commits](pytest-dev/pytest-factoryboy@2.1.0...2.7.0)

Updates `pytest-randomly` from 3.15.0 to 3.16.0
- [Changelog](https://github.com/pytest-dev/pytest-randomly/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-randomly@3.15.0...3.16.0)

Updates `pytest-freezer` from 0.4.8 to 0.4.9
- [Release notes](https://github.com/pytest-dev/pytest-freezer/releases)
- [Commits](pytest-dev/pytest-freezer@0.4.8...0.4.9)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pytest
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pytest
- dependency-name: pytest-django
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pytest
- dependency-name: pytest-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pytest
- dependency-name: pytest-factoryboy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pytest
- dependency-name: pytest-randomly
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pytest
- dependency-name: pytest-freezer
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pytest
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-ab36ca58ad branch from 05880a6 to 0bac707 Compare December 17, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants