Skip to content

Conversation

Disty0
Copy link

@Disty0 Disty0 commented Jun 11, 2025

Fixes Python 3.13 compatibility.

exec doesn't update locals with Python 3.13.
This PR parses the version file as a text instead of running exec.

GFPGAN cannot be installed with Python 3.13 without this PR.

Relevant issue from BasicSR repo is this: XPixelGroup/BasicSR#725
Issue thread is from BasicSR but the issue and the trace is the same in GFPGAN.

@mrr12345678
Copy link

mrr12345678 commented Jul 13, 2025

CamScanner ۲۰۲۵-۰۶-۱۸ ۱۳ ۵۵_2

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.

2 participants