When creating an executable with PyInstaller, aio_pika starting with version 9.5.0 is not included in the output directory, even if the project depends on aio_pika.
I think 001dcce#diff-64b7cf25f8a1c81c96f634498359cfe50235e8826c98fe739dabdae5aca5ac4aL16 this is the commit that introduced this behaviour since reverting it makes things work again