PHACDataHub / django-phac_aspc-helpers

Provides a series of helpers to provide a consistent experience accross PHAC-ASPC's Django based projects.
MIT License
0 stars 0 forks source link

chore(deps): bump pytest-django from 4.5.2 to 4.7.0 #76

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 11 months ago

Bumps pytest-django from 4.5.2 to 4.7.0.

Release notes

Sourced from pytest-django's releases.

4.7.0

https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-7-0-2023-11-08

4.6.0

https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-6-0-2023-10-30

Changelog

Sourced from pytest-django's changelog.

v4.7.0 (2023-11-08)

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

  • Official Django 5.0 support.

  • Official Python 3.12 support.

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

  • The Django test tags from the previous release now works on any :class:~django.test.SimpleTestCase (i.e. any Django test framework test class), not just :class:~django.test.TransactionTestCase classes.

  • Some improvements for those of us who like to type their tests:

    • Add pytest_django.DjangoAssertNumQueries for typing :fixture:django_assert_num_queries and :fixture:django_assert_max_num_queries.

    • Add pytest_django.DjangoCaptureOnCommitCallbacks for typing :fixture:django_capture_on_commit_callbacks.

    • Add pytest_django.DjangoDbBlocker for typing :fixture:django_db_blocker.

v4.6.0 (2023-10-30)

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

  • Official Django 4.1 & 4.2 support.

  • Official Python 3.11 support.

  • Drop support for Python version 3.5, 3.6 & 3.7.

  • Drop official support for Django 4.0.

  • Drop support for pytest < 7.

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

  • Add support for setting :py:attr:`available_apps

... (truncated)

Commits
  • baaafd8 Update changelog
  • 16ee779 Add pytest_django.DjangoAssertNumQueries for typing purposes
  • 28484f4 Add pytest_django.DjangoCaptureOnCommitCallbacks for typing purposes
  • 017bd77 tests: type django_db_blocker fixtures
  • d599fdb Move docs to use Sphinx's minimal Makefile
  • fa6bb34 Run non-test workflows with Python 3.12
  • 2414995 Avoid _blocking_manager mutable global
  • d93631f Export pytest_django.DjangoDbBlocker for typing purposes
  • 53eead4 Maybe fix readthedocs build failures
  • c5eeb37 Checks for tags on any SimpleTestCase not just TransactionTestCase
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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.

github-actions[bot] commented 5 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
phac_aspc
   rules.py29293%15, 54
phac_aspc/django
   comma_separated_field.py902374%23, 36, 58–70, 77, 86–87, 97, 102, 105, 121–124, 127–128, 138–139, 147–157
   excel.py2432988%18–19, 50, 82, 86, 120–122, 126–130, 133–134, 163, 171, 193, 203, 206, 316, 319, 321, 323, 326, 332, 357, 380, 398, 419–420, 439
   fields.py841681%47, 68–81, 103–106, 121–126, 129–133
phac_aspc/django/admin/decorators
   admin_decorators.py18289%37–38
phac_aspc/django/helpers
   jinja_dtl_interop_utils.py7186%21
phac_aspc/django/helpers/auth
   backend.py28280%2–36
   views.py442739%22, 27–30, 35–43, 48–100
phac_aspc/django/helpers/locale
   code.py8362%10, 13–14
phac_aspc/django/helpers/logging
   configure_logging.py31197%124
   json_post_handlers.py27389%8–9, 61
   utils.py11282%43, 48
phac_aspc/django/helpers/templatetags
   phac_aspc_auth.py7186%14
   phac_aspc_localization.py11464%11, 26–29
phac_aspc/django/helpers/views
   wet.py10640%12–19
phac_aspc/django/localization
   hooks.py660%2–16
phac_aspc/django/localization/decorators
   __init__.py220%4–6
   localization_decorators.py11110%4–46
phac_aspc/django/settings
   logging.py271544%29–37, 47–66
   security.py21957%34–45
phac_aspc/django/settings/utils
   configure_settings_for_tests.py3233%15–19
TOTAL94719380% 

Tests Skipped Failures Errors Time
51 0 :zzz: 0 :x: 0 :fire: 2.141s :stopwatch: