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 development-dependencies group in /backend with 4 updates #1017

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 Nov 1, 2024

Updates the requirements on flake8-bugbear, mypy, django-stubs and pytest-celery to permit the latest version.
Updates flake8-bugbear from 24.8.19 to 24.10.31

Release notes

Sourced from flake8-bugbear's releases.

24.10.31

  • B041: New dictionary same key AND value check (#496)
  • B037: Fix typo in error message
  • B024: No longer treats assigned class variables as abstract (#471)
  • Bump required attrs version to 22.2.0
Commits
  • 108bba4 Fix README format
  • 72f6116 Update CHANGES + move to version 24.10.31 to release
  • 07a5676 Add scentence really explaining B041
  • 95f8791 Add B041: Duplicate key-value pairs in dictionary literals (#496)
  • ea13615 Fix typo in B037 message (#495)
  • cf8749c b024 no longer treats assigned class vars as abstract (#494)
  • ba3a9bf [pre-commit.ci] pre-commit autoupdate (#493)
  • 43b8c54 Bump required attrs version (#490)
  • f5abeaf Add B910 before B950 in README.rst
  • See full diff in compare view

Updates mypy from 1.11.2 to 1.13.0

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Change to enum membership semantics

As per the updated typing specification for enums, enum members must be left unannotated.

class Pet(Enum):
    CAT = 1  # Member attribute
    DOG = 2  # Member attribute
    WOLF: int = 3  # New error: Enum members must be left unannotated
species: str  # Considered a non-member attribute

In particular, the specification change can result in issues in type stubs (.pyi files), since historically it was common to leave the value absent:

# In a type stub (.pyi file)
class Pet(Enum):
# Change in semantics: previously considered members, now non-member attributes
CAT: int
DOG: int
# Mypy will now issue a warning if it detects this situation in type stubs:
# > Detected enum "Pet" in a type stub with zero members.
# > There is a chance this is due to a recent change in the semantics of enum membership.
# > If so, use `member = value` to mark an enum member, instead of `member: type`

class Pet(Enum):
# As per the specification, you should now do one of the following:
DOG = 1  # Member attribute with value 1 and known type
WOLF = cast(int, ...)  # Member attribute with unknown value but known type
LION = ...  # Member attribute with unknown value and unknown type

Contributed by Terence Honles in PR 17207 and Shantanu Jain in PR 18068.

Mypy 1.13

We’ve just uploaded mypy 1.13 to the Python Package Index (PyPI). Mypy is a static type checker for Python. You can install it as follows:

python3 -m pip install -U mypy

... (truncated)

Commits

Updates django-stubs from 5.1.0 to 5.1.1

Commits

Updates pytest-celery to 1.1.3

Release notes

Sourced from pytest-celery's releases.

v1.1.3

What's Changed

Fixed issues when using Redis as a backend.

Full Changelog: celery/pytest-celery@v1.1.2...v1.1.3

Changelog

Sourced from pytest-celery's changelog.

1.1.3

:release-date: 20 September, 2024 :release-by: Tomer Nosrati

What's Changed

Fixed issues when using Redis as a backend.

  • Build(deps): Bump boto3 from 1.35.14 to 1.35.18 (#409)
  • Build(deps): Bump botocore from 1.35.18 to 1.35.19 (#408)
  • Build(deps): Bump setuptools from 74.1.2 to 75.0.0 (#407)
  • Fixed Redis error in the smoke tests: "Possible SECURITY ATTACK detected" (#413)
  • Fix Redis memory overcommit warning in the CI (#414)
  • Build(deps): Bump setuptools from 75.0.0 to 75.1.0 (#411)
  • Relaxed flaky tests mechanism (#415)
  • Bumping Dependencies (inc. pyproject.toml) (#416)
  • Fixed IndexError when accessing the container port info (#417)
  • Resolved race condition during Redis backend teardown (#418)
  • Prepare for release: v1.1.3 (#419)

.. _version-1.1.2:

1.1.2

:release-date: 14 September, 2024 :release-by: Tomer Nosrati

What's Changed

Key Highlights

Fixed Redis container instabilities in #405

Other Changes

  • Build(deps): Bump botocore from 1.34.158 to 1.34.161 (#382)
  • Build(deps): Bump boto3 from 1.34.158 to 1.34.161 (#383)
  • Build(deps): Bump botocore from 1.34.161 to 1.34.162 (#384)
  • Build(deps): Bump setuptools from 72.1.0 to 72.2.0 (#381)
  • Build(deps-dev): Bump types-redis from 4.6.0.20240806 to 4.6.0.20240819 (#385)
  • Build(deps): Bump boto3 from 1.34.161 to 1.34.162 (#386)
  • Build(deps): Bump setuptools from 72.2.0 to 73.0.0 (#387)
  • Build(deps): Bump setuptools from 73.0.0 to 73.0.1 (#388)
  • Build(deps-dev): Bump mypy from 1.11.1 to 1.11.2 (#389)
  • Build(deps): Bump setuptools from 73.0.1 to 74.0.0 (#390)
  • Build(deps): Bump urllib3 from 1.26.19 to 1.26.20 (#391)

... (truncated)

Commits
  • 68b9981 Prepare for release: v1.1.3 (#419)
  • a1b73b5 Resolved race condition during Redis backend teardown (#418)
  • cadcc9e Fixed IndexError when accessing the container port info (#417)
  • 00b9b5a Bumping Dependencies (inc. pyproject.toml) (#416)
  • c27bec5 Relaxed flaky tests mechanism (#415)
  • 30766c5 Build(deps): Bump setuptools from 75.0.0 to 75.1.0 (#411)
  • 8eea6ae Fix Redis memory overcommit warning in the CI (#414)
  • 06170dc Fixed Redis error in the smoke tests: "Possible SECURITY ATTACK detected" (#413)
  • ea7c842 Build(deps): Bump setuptools from 74.1.2 to 75.0.0 (#407)
  • 3197fd1 Build(deps): Bump botocore from 1.35.18 to 1.35.19 (#408)
  • 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 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

Updates the requirements on [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear), [mypy](https://github.com/python/mypy), [django-stubs](https://github.com/typeddjango/django-stubs) and [pytest-celery](https://github.com/celery/pytest-celery) to permit the latest version.

Updates `flake8-bugbear` from 24.8.19 to 24.10.31
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](PyCQA/flake8-bugbear@24.8.19...24.10.31)

Updates `mypy` from 1.11.2 to 1.13.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11.2...v1.13.0)

Updates `django-stubs` from 5.1.0 to 5.1.1
- [Release notes](https://github.com/typeddjango/django-stubs/releases)
- [Commits](typeddjango/django-stubs@5.1.0...5.1.1)

Updates `pytest-celery` to 1.1.3
- [Release notes](https://github.com/celery/pytest-celery/releases)
- [Changelog](https://github.com/celery/pytest-celery/blob/main/Changelog.rst)
- [Commits](celery/pytest-celery@v0.1.0...v1.1.3)

---
updated-dependencies:
- dependency-name: flake8-bugbear
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: django-stubs
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: pytest-celery
  dependency-type: direct:development
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner November 1, 2024 08:13
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 1, 2024
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