Skip to content

Commit 030e493

Browse files
authored
Fix pip validation to support pre-release packages like markitdown-mcp (#3656)
1 parent 568c883 commit 030e493

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pkg/workflow/pip_validation.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ func (c *Compiler) validatePythonPackagesWithPip(packages []string, packageType
6060
pipValidationLog.Printf("Validating %s package: %s", packageType, pkgName)
6161

6262
// Use pip index to check if package exists on PyPI
63-
cmd := exec.Command(pipCmd, "index", "versions", pkgName)
63+
// Include --pre flag to check for pre-release versions (alpha, beta, rc)
64+
cmd := exec.Command(pipCmd, "index", "versions", pkgName, "--pre")
6465
output, err := cmd.CombinedOutput()
6566

6667
if err != nil {

0 commit comments

Comments
 (0)