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

Bump aio-pika from 6.8.2 to 7.1.1 #96

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 28, 2022

Bumps aio-pika from 6.8.2 to 7.1.1.

Changelog

Sourced from aio-pika's changelog.

7.0.0

This release brings support for a new version of aiormq, which is used as a low-level driver for working with AMQP.

The release contains a huge number of changes in the internal structure of the library, mainly related to type inheritance and abstract types, as well as typehints checking via mypy.

The biggest change to the user API is the violation of the inheritance order, due to the introduction of abstract types, so this release is a major one.

Changes

  • There are a lot of changes in the structure of the library, due to the widespread use of typing.
  • aio_pika.abc module now contains all types and abstract class prototypes.
  • Modern aiormq~=6.1.1 used.
  • Complete type checks coverage via mypy.
  • The interface of aio_pika's classes has undergone minimal changes, but you should double-check your code before migrating, at least because almost all types are now in aio_pika.abc. Module aio_pika.types still exists, but will produce a DeprecationWarning.
  • Default value for argument weak is changed to False in CallbackCollection.add(func, weak=False).

Known 6.x to 7.x migration issues

  • pamqp.specification module didn't exist in pamqp==3.0.1 so you have to change it:

    • pamqp.commands for AMPQ-RPC–relates classes
    • pamqp.base for Frame class
    • pamqp.body for ContentBody class
    • pamqp.commands for Basic, Channel, Confirm, Exchange, Queue, Tx classes.
    • pamqp.common for FieldArray, FieldTable, FieldValue classes
    • pamqp.constants for constants like REPLY_SUCCESS.
    • pamqp.header for ContentHeader class.
    • pamqp.heartbeat for Heartbeat class.
  • Type definitions related to imports from aio_pika might throw warnings like 'SomeType' is not declared in __all__ . This is a normal situation, since now it is necessary to import types from aio_pika.abc. In this release, these are just warnings, but in the next major release, this will stop working, so you should take care of changes in your code.

    Just use aio_pika.abc in your imports.

    The list of deprecated imports:

... (truncated)

Commits

Dependabot compatibility score

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)

Bumps [aio-pika](https://github.com/mosquito/aio-pika) from 6.8.2 to 7.1.1.
- [Release notes](https://github.com/mosquito/aio-pika/releases)
- [Changelog](https://github.com/mosquito/aio-pika/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mosquito/aio-pika/commits)

---
updated-dependencies:
- dependency-name: aio-pika
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 28, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 29, 2022

Superseded by #97.

@dependabot dependabot bot closed this Mar 29, 2022
@dependabot dependabot bot deleted the dependabot/pip/aio-pika-7.1.1 branch March 29, 2022 06:13
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.

0 participants