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

Open
opened 2022-03-06 09:30:39 +00:00 by qtds35k · 3 comments
qtds35k commented 2022-03-06 09:30:39 +00:00 (Migrated from github.com)

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!

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 commented 2022-03-06 10:05:09 +00:00 (Migrated from github.com)

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
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 commented 2022-03-06 10:40:23 +00:00 (Migrated from github.com)

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

hey, I’ll investigate and get back to you. I don’t have any discord.py apps running on Discord at the moment.
qtds35k commented 2022-03-09 02:20:19 +00:00 (Migrated from github.com)

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.

Hey jfyi, this has been confirmed to be a bug in discord.py, and is [claimed to be fixed](https://github.com/Rapptz/discord.py/issues/7531#issuecomment-1061448565) by [this commit](https://github.com/Rapptz/discord.py/commit/0c690bc9497ed4b6125033cd140cd601ad18f288). 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.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xrisk/heroku-opus#3
No description provided.