-
Notifications
You must be signed in to change notification settings - Fork 48
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
Dependency on older "future" module breaks python 3.12 compatibility #239
Comments
I'll admit I'm not super familiar with how the local OS version of Python interacts with what Kodi is expecting. I generally use Windows (where it's bundled) or a Kodi specialized build like LibreElec. Looking at Kodi's build files it seems that it's expecting Python 3.11 for Omega. |
Hey thanks for taking a look at this. Yeah I'm not entirely sure either... it seems(?) that kodi is using some bundled I have no clue who packages(?) that for kodi, it's not in the list of official addons. If you changed your import to bump the version, would kodi fetch a newer version? (I also don't know how dependency resolution stuff in kodi works...)
This also seems kinda strange since Omega advertised python 3.12 support 🙃 |
FYI I went ahead and reported this to Kodi. Even if the actual problem doesn't lie in Kodi, maybe they can clarify how the old future module is being pulled in so this can be reported to the appropriate place. |
Should be fixed by xbmc/repo-scripts#2615, IIUC. Does this addon need an update once that patch is merged to use the newer |
Took a look at the PRs involved. The way Kodi works is that it will pull in the most recent version of an addon, so if the futures addon is required (looks like TinyURL uses it) then when it's updated in the main repo it should get downloaded locally to your system. We can leave this open if you want to confirm once it's merged in the addon repo. |
@robweber this addon is now working as expected since the patch in repo-scripts landed 🎉 Thank you so much for the support, and the great addon :) |
Describe the problem
This addon fails to run on with Python 3.12 because
future
0.18.x usesimp
, which was removed in Python 3.12.future
1.0 fixes this, see: PythonCharmers/python-future@a6222d2Platform and Kodi version
Alpine Linux 3.20, Kodi 21.0
Link to Debug Log
The text was updated successfully, but these errors were encountered: