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

locale.format removed in Python 3.12 #989

Closed
dreua opened this issue Oct 7, 2023 · 1 comment · Fixed by #990
Closed

locale.format removed in Python 3.12 #989

dreua opened this issue Oct 7, 2023 · 1 comment · Fixed by #990
Assignees

Comments

@dreua
Copy link
Member

dreua commented Oct 7, 2023

A Fedora user just reported an error that is probably due to a change in Python 3.12 (released just 5 days ago on 2nd October).

I think we'll need to change all calls to locale.format, see: https://docs.python.org/3.12/whatsnew/3.12.html#locale

Fedora bug: 2242536 – [abrt] pdfarranger: __output(): pageutils.py:67:__output:AttributeError: module 'locale' has no attribute 'format'. Did you mean: '_format'?

@dreua dreua changed the title Python 3.12 incompatibilites Python 3.12 incompatibility Oct 7, 2023
@dreua
Copy link
Member Author

dreua commented Oct 7, 2023

I wonder why we never saw any deprecation warnings though 🤔

@dreua dreua changed the title Python 3.12 incompatibility locale.format removed in Python 3.12 Oct 7, 2023
@dreua dreua self-assigned this Oct 7, 2023
@kbengs kbengs added this to the 1.11 milestone Mar 28, 2024
@kbengs kbengs removed this from the 1.11 milestone Jun 16, 2024
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 a pull request may close this issue.

2 participants