-
Notifications
You must be signed in to change notification settings - Fork 124
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
Fix dependencies versions of ProtonUp-Qt #280
base: master
Are you sure you want to change the base?
Conversation
c07be22
to
0b91b9a
Compare
FYI: Download target changes were done due to feedback in this MR (gentoo/gentoo#40115) by Nowa. I guess it's good practice to use the same rules here for GURU. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all, thank you for taking the time to look into this.
You may have already noticed, but the current dev-python/steam is completely broken, and this bump does not resolve those issues.
If you're familiar with this project, could you also take a look at fixing those issues?
For example, distutils_enable_tests pytest
does not pass any tests, and even python3.12 -c 'import steam.client'
fails.
|
||
SRC_URI=" | ||
https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz | ||
-> ${P}.gh.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renaming wouldn't hurt, but the .gh
suffix is used to differentiate cases where distfiles are available from multiple sources, like GitHub and PyPI. Since ProtonUp-Qt only distributes its source on GitHub, there's no real need to rename it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I've dropped the .gh
, but I'm leaving the line break. Is this OK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh, it looks like you dropped the .gh from dev-python/steam instead of games-util/ProtonUp-Qt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh dear, I hope it's fixed now.
0b91b9a
to
f41bf19
Compare
@pastalian I'm currently analysing the import situation in the project. You're completely right, stuff doesn't work at the moment. And it looks like the |
Well, this is going to be complicated... So first of all, I have identified two dependencies that are not tracked through
Also I can't find any trace of the project using urllib3, so I have removed it. That was the easy part. Now for the problems:
What saves us here with ProtonUp-Qt is that it just uses a small function from I'm not really sure on how to proceed here. I think maybe it's best to strip out anything else than |
Yeah, we should output a warning in pkg_postinst. Stripping is probably unnecessary. |
Signed-off-by: Tobias Jakobi <[email protected]>
Use the version information from the project's requirement.txt This in particular means using an up-to-date version of both the steam and the vdf library. Without these latest libs the application is not able to access any of the .vdf files of current stable Steam clients any more. While at it, at the missing gh part of the download suffix and break the overly long line. Signed-off-by: Tobias Jakobi <[email protected]>
f3aa722
to
7e838f3
Compare
OK, warning message it is then! I've added a short message. Does this suffice, or should we be more verbose here? At least ProtonUp-Qt seems to be the only ebuild in GURU that uses dev-python/steam. |
Use the version information from the project's requirement.txt This in particular means using an up-to-date version of both the steam and the vdf library. Without these latest libs the application is not able to access any of the .vdf files of current stable Steam clients any more. While at it, at the missing gh part of the download suffix and break the overly long line. Signed-off-by: Tobias Jakobi <[email protected]> Closes: #280 Signed-off-by: Takuya Wakazono <[email protected]>
Merged to the dev branch. Thank you! If you’re planning to contribute more to GURU, please check out our wiki and consider joining us: |
@pastalian Thanks, but I think I'm good for now. Now going to back to debugging a nasty GPU crash. |
Commit 164df40 introduced the latest version v2.11.1 of ProtonQt-Up, but the ebuild does no version checking of its dependencies.
Add the missing version information, which comes straight from the project's
requirement.txt
. This also means we need a ebuild bump fordev-python/steam
. The also required VDF lib in version v4.0 was recently added to the Gentoo repo by me: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8878b6fa90a28a6d67cca957b5478ab9f3d0f7b9