Skip to content

build(deps): lock ilt-panphon and bump g2p#770

Merged
joanise merged 2 commits intomainfrom
dev.ej/g2p-2.3.1
Jan 27, 2026
Merged

build(deps): lock ilt-panphon and bump g2p#770
joanise merged 2 commits intomainfrom
dev.ej/g2p-2.3.1

Conversation

@joanise
Copy link
Member

@joanise joanise commented Jan 21, 2026

PR Goal?

With g2p <2.3, we had locked panphon==0.20.0, which was fine, locking
the PFS input feature vectors coded in panphon.

With g2p 2.3.0, we have a problem, because g2p no longer uses panphon,
instead, it uses ilt-panphon, which installs in the same namespace. So
now, we're getting the latest ilt-panphon with different PFS input
vectors, by accident.

The complex requirements we need to specify is:

g2p>=2.0,<2.3 with panphon==0.20.0   OR   g2p>=2.3.1 with ilt-panphon==0.20.1

but such logic cannot be expressed in a pyproject.toml file, so isntead
we just require the latest g2p with the corresponding version of
ilt-panphon.

Fixes?

Broken CI, visible on #769 workflows, or if we run tests on main right now.

Feedback sought?

Priority?

high

Tests added?

How to test?

Confidence?

high

Version change?

no

Related PRs?

Depends on publishing g2p 2.3.1, forthcoming.

I manually reviewed the license and it is OK, so we can skip auto analysis.
With g2p <2.3, we had locked panphon==0.20.0, which was fine, locking
the PFS input feature vectors coded in panphon.

With g2p 2.3.0, we have a problem, because g2p no longer uses panphon,
instead, it uses ilt-panphon, which installs in the same namespace. So
now, we're getting the latest ilt-panphon with different PFS input
vectors, by accident.

The complex requirements we need to specify is:
 g2p>=2.0,<2.3 with panphon==0.20.0
or
 g2p>=2.3.1 with ilt-panphon==0.20.1
but such logic cannot be expressed in a pyproject.toml file, so isntead
we just require the latest g2p with the corresponding version of
ilt-panphon.
@semanticdiff-com
Copy link

semanticdiff-com bot commented Jan 21, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  .github/workflows/test.yml  0% smaller
  pyproject.toml Unsupported file format

@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.76%. Comparing base (855e2bc) to head (2c7e8ce).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #770   +/-   ##
=======================================
  Coverage   82.76%   82.76%           
=======================================
  Files          47       47           
  Lines        4119     4119           
  Branches      607      607           
=======================================
  Hits         3409     3409           
  Misses        579      579           
  Partials      131      131           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Contributor

CLI load time: 0:00.26
Pull Request HEAD: 2c7e8ce69da84d9b5b1c5d37e4be731bc7c12f9a
Imports that take more than 0.1 s:
import time: self [us] | cumulative | imported package
import time:      9660 |     140788 | everyvoice.cli

@joanise joanise requested a review from SamuelLarkin January 26, 2026 22:07
Copy link
Collaborator

@SamuelLarkin SamuelLarkin left a comment

Choose a reason for hiding this comment

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

LGTM

@joanise joanise merged commit 4d9652d into main Jan 27, 2026
13 of 17 checks passed
@joanise joanise deleted the dev.ej/g2p-2.3.1 branch January 27, 2026 15:09
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.

2 participants