Skip to content
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

Add support for Linux clipboard reading #44

Merged
merged 6 commits into from
Aug 27, 2023

Conversation

Mar2ck
Copy link
Contributor

@Mar2ck Mar2ck commented Aug 23, 2023

Pillow 10.0.0 fixed the last outstanding issue with grabclipboard on Linux X11 so we can now use it for grabbing the clipboard on all OSs and session types.

Summary:

  • Remove code path that blocks Linux clipboard mode, now use Pillow for all OS types
  • Add suppression of unnecessary Pillow errors (--verbose to show them again)
  • Minimum python version changed to 3.8 due to Pillow upgrade, 3.6 and 3.7 are unsupported now anyway
  • Maximum python version changed to 3.11 since PyTorch 2 supports it and manga-ocr runs perfectly under it

@kha-white kha-white merged commit ea21bb7 into kha-white:master Aug 27, 2023
1 check passed
@kha-white
Copy link
Owner

Thanks

@Mar2ck Mar2ck deleted the fix-linux-clipboard branch October 31, 2023 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants