Skip to content

Handle OSError in getpass.getuser()#133

Merged
long2ice merged 1 commit intolong2ice:devfrom
Cycloctane:getpass-fix
Jan 15, 2026
Merged

Handle OSError in getpass.getuser()#133
long2ice merged 1 commit intolong2ice:devfrom
Cycloctane:getpass-fix

Conversation

@Cycloctane
Copy link
Contributor

@Cycloctane Cycloctane commented Jul 26, 2025

getpass.getuser() now raises OSError (in python3.13+). This pr ports the patch from PyMySQL to make asyncmy adapt this change too.

Fixes: #130

Origin:
PyMySQL/PyMySQL#1188
PyMySQL/PyMySQL#1190

elbaro added a commit to elbaro/asyncmy that referenced this pull request Aug 2, 2025
@pmiddend
Copy link

Would be fantastic if this could be merged and a new version released.

@long2ice Any ETA on that?

@long2ice long2ice merged commit 8c636a0 into long2ice:dev Jan 15, 2026
10 checks passed
@Cycloctane Cycloctane deleted the getpass-fix branch January 15, 2026 12:04
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.

getpass.getuser() raises OSError in Python 3.13

3 participants