Missing support for python3_12 #197

Closed
opened 4 weeks ago by Erdie · 6 comments
Erdie commented 4 weeks ago

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.
josch commented 4 weeks ago
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?
Erdie commented 4 weeks ago
Poster

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
josch commented 4 weeks ago
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?
Erdie commented 4 weeks ago
Poster

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
josch commented 4 weeks ago
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!
Erdie commented 4 weeks ago
Poster

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 4 weeks ago
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
Loading…
There is no content yet.