Skip to content

Update Rust crate unicode_names2 to v3 - #26077

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/unicode_names2-3.x
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/unicode_names2-3.x

Conversation

@renovate

@renovate renovate Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change Pending
unicode_names2 workspace.dependencies major 1.2.2 → 3.0.0 4.0.0

Release Notes

progval/unicode_names2 (unicode_names2)

v3.1.0

Compare Source

2026-06-04

Data:

  • Update data to Unicode 17 (#​57)

v3.0.0

Compare Source

2026-06-04

Breaking:

  • Bump MSRV to 1.65

Performance improvements:

  • Use binary search in iter_str.rs

Internal:

  • Fix Clippy warnings

v2.0.0

Compare Source

2025-06-19

Breaking:

  • In order to implement UAX#44
    (see below) we had to change code generated by unicode_names2_generator in a way that
    was not compatible with unicode_names2 v1.3.0 (and vice-versa), forcing us to bump
    unicode_names2_generator to v2.0.0. In order to keep them in sync, unicode_names2
    is bumped accordingly.
    Additionally, implementing UAX#44 might break code if it relies on this crate for some
    sort of validation.

Feature:

  • Implement UAX#44
    to make name matching less strict. (#​46)

Internal:

  • Remove unused dependencies (#​42)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 4am on Wednesday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the internal An internal refactor or improvement (not for changelogs) label Jun 17, 2026
@astral-sh-bot

astral-sh-bot Bot commented Jun 17, 2026 •

Copy link
Copy Markdown

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 98.15%. The percentage of expected errors that received a diagnostic held steady at 98.07%. The number of fully passing files held steady at 133/146.

@astral-sh-bot

astral-sh-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown

Memory usage report

Memory usage unchanged ✅

@astral-sh-bot

astral-sh-bot Bot commented Jun 17, 2026 •

Copy link
Copy Markdown

ecosystem-analyzer results

Lint rule Added Removed Changed
invalid-syntax 4 0 0
Total 4 0 0

Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.

Raw diff:

websockets (https://github.com/aaugustin/websockets)
+ src/websockets/cli.py:47:13 error[invalid-syntax] Got unexpected unicode
+ src/websockets/cli.py:53:22 error[invalid-syntax] Got unexpected unicode
+ src/websockets/cli.py:65:13 error[invalid-syntax] Got unexpected unicode
+ src/websockets/cli.py:69:22 error[invalid-syntax] Got unexpected unicode

Full report with detailed diff (timing results)

@astral-sh-bot

astral-sh-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@MichaReiser MichaReiser added this to the v0.16 milestone Jun 17, 2026
@MichaReiser

Copy link
Copy Markdown
Member

We probably need to bump to unicode 2 first. We should align it with the most recent supported Python version and whatever unicode standard that version uses

@ntBre ntBre modified the milestones: v0.16, v0.17 Jul 13, 2026
@renovate
renovate Bot force-pushed the renovate/unicode_names2-3.x branch from e51d88a to caf0192 Compare July 20, 2026 14:10
@renovate
renovate Bot force-pushed the renovate/unicode_names2-3.x branch from caf0192 to c38b9df Compare August 11, 2026 14:05
@renovate
renovate Bot force-pushed the renovate/unicode_names2-3.x branch from c38b9df to 7d33875 Compare August 26, 2026 10:13
@ntBre ntBre mentioned this pull request Aug 31, 2026
27 of 32 tasks
@renovate
renovate Bot force-pushed the renovate/unicode_names2-3.x branch from 7d33875 to 26753c3 Compare September 2, 2026 14:16
@ntBre ntBre added the upstream An upstream dependency is involved label Sep 4, 2026
@renovate
renovate Bot force-pushed the renovate/unicode_names2-3.x branch from 26753c3 to d31a110 Compare September 7, 2026 15:49
@ntBre

ntBre commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

v4 is now out with the fix for the alias issue, and I confirmed locally that it allows our tests to pass!

However, we still need a fix for progval/unicode_names2#59 to match CPython (#19172 (comment)). We just don't have an existing test that reveals this discrepancy.

(I think it could even potentially be okay not to worry about strict parity on loose matching, if it comes down to that. At worst we'd be a bit more permissive than CPython in some niche edge cases rather than flagging code that CPython allows.)

@renovate
renovate Bot force-pushed the renovate/unicode_names2-3.x branch 3 times, most recently from 0ec2aab to f9df1d2 Compare September 17, 2026 17:58
This was referenced Sep 22, 2026
@renovate
renovate Bot force-pushed the renovate/unicode_names2-3.x branch from f9df1d2 to 29bd707 Compare September 24, 2026 10:13
@ntBre

ntBre commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Closing in favor of #28784.

@ntBre ntBre closed this Sep 24, 2026
@renovate

renovate Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate
renovate Bot deleted the renovate/unicode_names2-3.x branch September 24, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement (not for changelogs) upstream An upstream dependency is involved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants