Repository navigation
Conversation
The entire `imp` module has been removed from Python 3.12. This patch applies the recommended replacement using `importlib`.
…importlib & Python 3.12
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
Member
|
@theacodes welcome! We have been following your kicanvas project for a while :) Have you done any specific testing on this change with python 3.9, our lowest officially supported version? |
Contributor
Author
|
Nope, not any specific testing on 3.9.
…On Mon, Oct 23, 2023, 9:09 PM Oliver ***@***.***> wrote:
@theacodes <https://github.com/theacodes> welcome! We have been following
your kicanvas project for a while :)
Have you done any specific testing on this change with python 3.9, our
lowest officially supported version?
—
Reply to this email directly, view it on GitHub
<#5777 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB5I4YP2D55UHLGD2C5TZLYA4INPAVCNFSM6AAAAAA6M4VEA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWGMYDGOBQGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Fix order of imports
Member
Our CI has done the heavy lifting for you! |
Member
|
Works on my machine, I have approved the CI again - we should know more in a few minutes. |
Member
|
|
Closed
Member
|
From the django release notes: 3.12 support has only been introduced in django 4.2.8 anyway... |
Closed
Member
|
Closed by #6424 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

These two commit address issues encountered when running with Python 3.12.0. Notably, the changes remove the use of deprecated APIs related to import machinery.
(This is my first PR to this repo, my feelings won't be hurt if this doesn't get accepted or if you decide to make significant changes)