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

Update pytest-django requirement from <4,>=3.5 to >=3.5,<5 #187

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2022

Updates the requirements on pytest-django to permit the latest version.

Release notes

Sourced from pytest-django's releases.

4.5.2

https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-5-2-2021-12-07

Changelog

Sourced from pytest-django's changelog.

v4.5.2 (2021-12-07)

Bugfixes ^^^^^^^^

  • Fix regression in v4.5.0 - pytest.mark.django_db(reset_sequence=True) now implies transaction=True again.

v4.5.1 (2021-12-02)

Bugfixes ^^^^^^^^

  • Fix regression in v4.5.0 - database tests inside (non-unittest) classes were not ordered correctly to run before non-database tests, same for transactional tests before non-transactional tests.

v4.5.0 (2021-12-01)

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

  • Add support for :ref:rollback emulation/serialized rollback <test-case-serialized-rollback>. The :func:pytest.mark.django_db marker has a new serialized_rollback option, and a :fixture:django_db_serialized_rollback fixture is added.

  • Official Python 3.10 support.

  • Official Django 4.0 support (tested against 4.0rc1 at the time of release).

  • Drop official Django 3.0 support. Django 2.2 is still supported, and 3.0 will likely keep working until 2.2 is dropped, but it's not tested.

  • Added pyproject.toml file.

  • Skip Django's setUpTestData mechanism in pytest-django tests. It is not used for those, and interferes with some planned features. Note that this does not affect setUpTestData in unittest tests (test classes which inherit from Django's TestCase).

Bugfixes ^^^^^^^^

  • Fix :fixture:live_server when using an in-memory SQLite database.

... (truncated)

Commits
  • 27d6560 Release 4.5.2
  • 3bc9065 Make pytest.mark.django_db(reset_sequences=True) imply transaction=True a...
  • b97a8b1 tox: test django 4.0 final
  • b3b679f ci: remove unused dep
  • 0661d34 ci: some tweaks
  • 19f277b ci: don't require tests before deploy
  • 8b78aca Release 4.5.1
  • c48b99e Fix string quote style
  • 54f4626 Fix transactional tests in classes not sorted correctly after regular tests
  • a920a7f Release 4.5.0
  • Additional commits viewable in compare view

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

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 29, 2022
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-django-gte-3.5-and-lt-5 branch 3 times, most recently from 010af0d to c06afaf Compare January 29, 2022 21:55
@ligi
Copy link
Member

ligi commented Jan 29, 2022

@dependabot rebase

Updates the requirements on [pytest-django](https://github.com/pytest-dev/pytest-django) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases)
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst)
- [Commits](pytest-dev/pytest-django@v3.5.0...v4.5.2)

---
updated-dependencies:
- dependency-name: pytest-django
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-django-gte-3.5-and-lt-5 branch from c06afaf to 6c8c600 Compare January 29, 2022 22:25
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 28, 2024

Superseded by #248.

@dependabot dependabot bot closed this Jun 28, 2024
@dependabot dependabot bot deleted the dependabot/pip/pytest-django-gte-3.5-and-lt-5 branch June 28, 2024 08:35
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant