Missing support for python3_12 #197

Closed
opened 2024-06-02 15:26:31 +00:00 by Erdie · 6 comments

Gentoo recently moves to python3_12 as default. img2pdf is the only reason to keep python3_11 installed. It would be really nice if python3_12 could be supported.

Gentoo recently moves to python3_12 as default. img2pdf is the only reason to keep python3_11 installed. It would be really nice if python3_12 could be supported.
Owner

Thank you for opening an issue! Could you provide some error output showing what happens when one runs img2pdf with python 3.12?

Thank you for opening an issue! Could you provide some error output showing what happens when one runs img2pdf with python 3.12?
Author

I tried to run the latest img2pdf with python3_12. It fails when loading the modules jp2. That was the only error I could see. I do not know if there are further errors when this has beed fixed.

Thank you very much for your very fast reply!

-Martin

I tried to run the latest img2pdf with python3_12. It fails when loading the modules jp2. That was the only error I could see. I do not know if there are further errors when this has beed fixed. Thank you very much for your very fast reply! -Martin
Owner

Okay, but why did the jp2 module fail to load? What was the error message?

Okay, but why did the jp2 module fail to load? What was the error message?
Author

I am sorry, I was wrong. I just works with python3.12. I made a test conversion of 2 jpg to pdf without issues. My previous attempt was stupid, I did not clone the whole repo.
I even tried your testfiles and they all provide a reasonable output.

-Martin

I am sorry, I was wrong. I just works with python3.12. I made a test conversion of 2 jpg to pdf without issues. My previous attempt was stupid, I did not clone the whole repo. I even tried your testfiles and they all provide a reasonable output. -Martin
Owner

Cool! If there is nothing to be done from my side, please close this issue. Thanks!

Cool! If there is nothing to be done from my side, please close this issue. Thanks!
Author

Yes, I will do it, thanak and have a nice day!

Yes, I will do it, thanak and have a nice day!
Erdie closed this issue 2024-06-03 06:33:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
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: josch/img2pdf#197
No description provided.