fix: update youtube-transcript-api version constraint to >=1.2.3#1732
Open
changzuozhen wants to merge 1 commit intomicrosoft:mainfrom
Open
fix: update youtube-transcript-api version constraint to >=1.2.3#1732changzuozhen wants to merge 1 commit intomicrosoft:mainfrom
changzuozhen wants to merge 1 commit intomicrosoft:mainfrom
Conversation
The version constraint 'youtube-transcript-api~=1.0.0' (i.e. >=1.0.0,<1.1.0) could never be satisfied because no 1.0.x release exists on PyPI — the package jumped from 0.6.2 directly to 1.2.3. Additionally, all versions <=1.2.2 require Python <3.14, so the minimum compatible version is 1.2.3. Changes: - [all] optional dep: ~=1.0.0 → >=1.2.3 - [youtube-transcription] optional dep: added explicit >=1.2.3 constraint
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.
Problem
The version constraint
youtube-transcript-api~=1.0.0(i.e.>=1.0.0, <1.1.0) can never be satisfied because no 1.0.x release exists on PyPI. The package jumped from0.6.2directly to1.2.3.This causes
pip install -e "packages/markitdown[all]"to fail with:Additionally, all versions
<=1.2.2requirePython <3.14, so on Python 3.14+ even if a matching version existed, it would not be installable.Fix
[all]optional dep:youtube-transcript-api~=1.0.0→youtube-transcript-api>=1.2.3[youtube-transcription]optional dep:youtube-transcript-api→youtube-transcript-api>=1.2.3(added explicit minimum for consistency)Verification
pip install -e "packages/markitdown[all]"succeeds with the updated constraintMarkItDowninitializes correctlyIS_YOUTUBE_TRANSCRIPT_CAPABLE = True)YouTubeTranscriptApi(),.list(),.fetch(),.find_transcript(),.translate()all exist in v1.2.4