-
Notifications
You must be signed in to change notification settings - Fork 171
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
Packaging rework #531
Packaging rework #531
Conversation
b2c963c
to
23120d6
Compare
Looking good already @K900. We are actually trying a fix for some regressions by downgrading python to 3.10.6. I'll let you know if we go forward with this change (more than likely). |
What kind of regressions? I'd be very surprised if there are actual regressions related to Python versions and not the packaging. |
Plugins not working, and Decky itself misbehaving on users devices. We're trying to rule out each potential change and starting with the python backend. |
f7326aa
to
3a11e57
Compare
Also this includes the changes from #528 because this undoes one of those changes. |
I'd rather get #528 merged first as those changes are tiny and this will need a bunch of tweaking and testing before we're confident in it. |
Also ping here: is the general approach something you're interested in? I don't really want to keep rebasing this if it's not going to land. |
Definitely interested, I'm waiting for @AAGaming00 to approve #528 before I go forward with this PR. Please let us know when you're ready to remove the draft status of this PR. |
I think if I rebase this, it'll be mergeable as-is, and we can then redo the CI bits to make versioning work correctly in a follow-up. Though I haven't really tested the on-device deployment scripts carefully enough, as those don't really work on NixOS anyway. |
I'm also very much interested in this, will likely merge it once it works in CI |
Rebased on top of master, and realized this isn't actually mergeable as-is, as the tags will be versioned wrong, but I can revert that logic. |
OK, so this should be mergeable now. This is just packaging changes, there's a few tiny behavior changes to make it work with the new packaging, but this should be good to go. |
Note that this doesn't actually embed the version metadata into the archive, that will require reorganizing the CI scripts, but that can be done in a separate change. |
Added another very small fix to make it so the CI artifacts are usable directly, without prior setup on the system. |
Um, anyone? |
e53b751
to
1ee277b
Compare
I like it. Refactoring the backend folder so it follows the structure of a python project more is definitely the right call. A few notes, Good work at any rate! |
|
This avoids the If-Modified-Since logic in aiohttp and ensures Steam doesn't cache old JS, even if the timestamps are normalized.
Rebased, had to pick up the changes from master, otherwise there's a merge conflict between yours and cc08412 |
Uh you probably need to change
which is consistent to how it failed when we refactored to src. before |
Oh, uh, yes, that is very cursed. |
We're gonna refactor what modules plugins can access eventually, to a common stable API that's independent to decky internals, but for now we should keep it compatible with existing plugins. |
There's no need to special case it anymore, just treat it like any other Python module.
Applied. |
fails like this now. Not sure if anything else changed structure-wise |
I think this one should work. |
Yep this works great. |
Oh you set my async request branch as base. I think I can go ahead and merge it then |
5a633fd
into
SteamDeckHomebrew:marios8543/async-plugin-method-requests
Please tick as appropriate:
If you're wanting to update a translation or add a new one, please use the weblate page: https://weblate.werwolv.net/projects/decky/
Description
As promised in #528.
This reworks Decky's packaging to look more like a normal Python package, allowing us to use the package metadata for updates and such. The only part missing right now is actually setting the correct version in CI, which is the most interesting one, but I'm posting this as a draft to hopefully get some feedback.