Skip to content

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Sep 15, 2025

The Python file mode 'U' was deprecated in Python 3.3 and completely removed in Python 3.11.

Python 2 died 2,084 days ago on 1/1/2020 so perhaps it is time to drop code that supports it.

@cclauss cclauss changed the title The Python file mode 'U' was removed in Python 3.11 The file mode 'U' was removed in Python 3.11 Sep 15, 2025
@cclauss cclauss changed the title The file mode 'U' was removed in Python 3.11 file mode 'U' was removed in Python 3.11 Sep 15, 2025
@cclauss cclauss changed the title file mode 'U' was removed in Python 3.11 file mode 'U' was deprecated in Python 3.3 and removed in Python 3.11 Sep 15, 2025
@auvipy
Copy link
Member

auvipy commented Sep 15, 2025

tests are not enabled in the CI yet

@cclauss
Copy link
Contributor Author

cclauss commented Sep 15, 2025

The failures are visable at: https://github.com/cclauss/librabbitmq/actions

The Python file mode 'U' was deprecated in Python 3.3 and completely removed in Python 3.11.
Copy link
Member

@Nusnus Nusnus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nusnus Nusnus merged commit 7e33aba into celery:master Sep 16, 2025
4 checks passed
@cclauss cclauss deleted the patch-3 branch September 16, 2025 05:19
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.

3 participants