GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-136702: Clear codec caches for refleak tests; use test.support helpers by encukou · Pull Request #141345 · python/cpython

Conversation

@encukou

@encukou encukou commented Nov 10, 2025 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

This should fix refleak buildbots.

  • Issue: Improve encodings.normalize_encoding behaviour or docs #136702

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@encukou
pythongh-136702: Clear codec caches for refleak tests; use test.suppo…
0d17ca7
…rt helpers
@encukou
encukou requested review from StanFromIreland and malemburg November 10, 2025 12:26
@encukou
encukou requested a review from a team as a code owner November 10, 2025 12:26
@bedevere-app bedevere-app Bot added the awaiting core review label Nov 10, 2025
@encukou encukou added skip news and removed awaiting core review labels Nov 10, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Nov 10, 2025
Improve encodings.normalize_encoding behaviour or docs #136702
Open
malemburg
malemburg reviewed Nov 10, 2025
View reviewed changes
Comment thread Lib/test/test_codecs.py
"Support for non-ascii encoding names will be removed in 3.17"):
msg = "Support for non-ascii encoding names will be removed in 3.17"
with warnings_helper.check_warnings((msg, DeprecationWarning)):
self.assertEqual(normalize('utf\xE9\u20AC\U0010ffff-8'), 'utf_8')

@malemburg malemburg Nov 10, 2025

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I think we have to bump the 3.17 to 3.20 if we want to have a 5 year deprecation phase.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@encukou encukou Nov 10, 2025

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

That's up for discussion in the issue; here I'm only unbreaking the buildbots.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@encukou encukou added the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label Nov 10, 2025
@bedevere-bot

bedevere-bot commented Nov 10, 2025

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @encukou for commit 0d17ca7 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F141345%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label Nov 10, 2025
@encukou
encukou merged commit 9f51524 into python:main Nov 10, 2025
71 of 72 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@encukou
encukou deleted the clear-codec-caches-in-regrtest branch November 10, 2025 13:42
@hugovk hugovk mentioned this pull request Nov 10, 2025
gh-136702: Deprecate passing non-ascii *encoding* (str) to encodings.normalize_encoding #140030
Merged
@StanFromIreland

StanFromIreland commented Nov 10, 2025

Copy link
Copy Markdown
Member

Thanks Petr! I encountered this issue with the Android CI, and I though I had it fixed:-(

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
@encukou @StanFromIreland
pythongh-136702: Clear codec caches for refleak tests; use test.suppo…
1090bd8
…rt helpers (pythonGH-141345)

This should fix refleak buildbots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@malemburg malemburg malemburg left review comments
@StanFromIreland StanFromIreland Awaiting requested review from StanFromIreland

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@encukou @bedevere-bot @StanFromIreland @malemburg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.