Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

heroku-opus not working with new discord.py build? #3

Open
qtds35k opened this issue Mar 6, 2022 · 3 comments
Open

heroku-opus not working with new discord.py build? #3

qtds35k opened this issue Mar 6, 2022 · 3 comments

Comments

@qtds35k
Copy link

qtds35k commented Mar 6, 2022

Hi xrisk,

Thanks for the amazing heroku buildpack.
I'm wondering if you're also experiencing some malfunction, if you've recently deployed new versions of apps that are using heroku-opus?

When I pushed a minimal modification the app (a voice bot) started failing.
I noticed there's an update of discord.py build version at the beginning of deployment:

Successfully uninstalled discord.py-2.0.0a3738+g8360e4a
Successfully installed discord.py-2.0.0a3740+g9d3fa3d

I strongly suspect this is the cause, since the app works fine if I host it on my local machine.
Unfortunately heroku logs doesn't show any exception for this failure (or I don't know how to surface this info) so that's all I got for now.
By the way, is it possible to specify the old build version in requitement.txt?

Please let me know if you need anymore info, if you're interested in helping.
Thanks for reading!

@qtds35k
Copy link
Author

qtds35k commented Mar 6, 2022

Quick update: although I still cannot root cause the issue, I'm able to fix the functionality by specifying an Aug 27, 2021 commit of discord.py in requirement.txt as below:

git+https://github.com/Rapptz/discord.py@45d498c1b76deaf3b394d17ccf56112fa691d160#egg=discord.py

@xrisk
Copy link
Owner

xrisk commented Mar 6, 2022

hey, I’ll investigate and get back to you. I don’t have any discord.py apps running on Discord at the moment.

@qtds35k
Copy link
Author

qtds35k commented Mar 9, 2022

Hey jfyi, this has been confirmed to be a bug in discord.py, and is claimed to be fixed by this commit.
I will test this later today and close the issue after confirmation.

Update: Bug's not fixed at least for my application; changing it back to git+https://github.com/Rapptz/discord.py requirement.txt still produces the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants