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 6 updates #510

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 Oct 30, 2024

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

Package From To
pytest 8.2.0 8.3.3
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

Updates pytest from 8.2.0 to 8.3.3

Release notes

Sourced from pytest's releases.

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.

  • #12667: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.

  • #12744: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by Avasam{.interpreted-text role="user"}

  • #12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.

  • #6682: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in assert condition, msg).

  • #9422: Fix bug where disabling the terminal plugin via -p no:terminal would cause crashes related to missing the verbose option.

    -- by GTowers1{.interpreted-text role="user"}

Improved documentation

  • #12663: Clarify that the [pytest_deselected]{.title-ref} hook should be called from [pytest_collection_modifyitems]{.title-ref} hook implementations when items are deselected.
  • #12678: Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref} example in docs.

Miscellaneous internal changes

  • #12769: Fix typos discovered by codespell and add codespell to pre-commit hooks.

8.3.2

pytest 8.3.2 (2024-07-24)

Bug fixes

  • #12652: Resolve regression [conda]{.title-ref} environments where no longer being automatically detected.

    -- by RonnyPfannschmidt{.interpreted-text role="user"}

8.3.1

pytest 8.3.1 (2024-07-20)

The 8.3.0 release failed to include the change notes and docs for the release. This patch release remedies this. There are no other changes.

... (truncated)

Commits

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

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 October 30, 2024 12:01
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 30, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-103bea96ec branch 4 times, most recently from 98f23bb to 6bdc9d1 Compare November 5, 2024 11:58
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-103bea96ec branch 2 times, most recently from 4fb7f91 to c2cd2fb Compare November 12, 2024 12:17
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-103bea96ec branch 4 times, most recently from e8e09ce to f683d22 Compare November 25, 2024 12:33
Bumps the pytest group with 6 updates in the /backend directory:

| Package | From | To |
| --- | --- | --- |
| [pytest](https://github.com/pytest-dev/pytest) | `8.2.0` | `8.3.3` |
| [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` |



Updates `pytest` from 8.2.0 to 8.3.3
- [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.3)

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)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/backend/pytest-103bea96ec branch from f683d22 to a08b3a6 Compare November 25, 2024 12:40
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