fix: bump youtube-transcript-api to >=1.2.3 for Python 3.14 support - #2407
Merged
Merged
Conversation
Contributor
Author
|
@microsoft-github-policy-service agree |
Contributor
Author
|
afourney can you take a look at this patch |
Member
|
Taking a look. I'm trying to remember why I pinned that package originally (I believe there was some incompatibility). |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The dependency constraints use ~=1.2.3, which conflicts with the documented >=1.2.3 range.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 2
Open (2)
What changed in this PR
Updates MarkItDown for Python 3.14 compatibility and resolves the installation failure from issue #2287.
Changes:
- Updates YouTube transcript dependency constraints.
- Declares Python 3.10–3.14 support.
- Adds Python 3.14 CI coverage.
| File | Description |
|---|---|
| README.md | Documents supported Python versions. |
| packages/markitdown/pyproject.toml | Updates Python metadata and transcript dependencies. |
| .github/workflows/tests.yml | Adds Python 3.14 test jobs. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Fix: Bump youtube-transcript-api for Python 3.14 support
This PR resolves the installation error reported in Issue #2287.
Issue
On Python 3.14.6, installing with
pip install -e 'packages/markitdown[all]'fails with:Root Cause
The dependency
youtube-transcript-api~=1.0.0restricts to versions <1.1.0, all of which require Python <3.14. This blocks Python 3.14+ users from installing the[all]extra.Fix
youtube-transcript-api~=1.0.0toyoutube-transcript-api>=1.2.3Testing
Closes #2287