Skip to content

fix: provide upper bound on jedi pin#9449

Merged
dmadisetti merged 2 commits into
mainfrom
dm/jedi-pin
May 4, 2026
Merged

fix: provide upper bound on jedi pin#9449
dmadisetti merged 2 commits into
mainfrom
dm/jedi-pin

Conversation

@dmadisetti
Copy link
Copy Markdown
Collaborator

📝 Summary

closes #9446
closes #9447

Currently jedi==0.20.0 is incompatible with python-lsp (jedi<0.20.0 is hardcoded). As such, limit jedi for now, until we can properly solve

Copilot AI review requested due to automatic review settings May 4, 2026 17:47
@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment May 4, 2026 5:55pm

Request Review

@dmadisetti dmadisetti requested a review from mscolnick May 4, 2026 17:47
@dmadisetti dmadisetti added the bug Something isn't working label May 4, 2026
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses sandbox/LSP dependency resolution failures by adding an upper bound to the jedi dependency to avoid incompatibilities with python-lsp-server’s current jedi<0.20.0 requirement.

Changes:

  • Constrain jedi to >=0.18.0,<0.20.0 in pyproject.toml to avoid resolver conflicts.
  • Update the inline comment to clarify the constraint is temporary and intended for dependency resolution.

Comment thread pyproject.toml
Comment on lines 12 to 17
dependencies = [
# For maintainable cli
"click>=8.0,<9",
# code completion
"jedi>=0.18.0",
# code completion (upper bound applied temporarily for resolution)
"jedi>=0.18.0,<0.20.0",
# compile markdown to html
Comment thread pyproject.toml
Comment on lines 13 to +16
# For maintainable cli
"click>=8.0,<9",
# code completion
"jedi>=0.18.0",
# code completion (upper bound applied temporarily for resolution)
"jedi>=0.18.0,<0.20.0",
@dmadisetti dmadisetti merged commit 4dedbaf into main May 4, 2026
49 checks passed
@dmadisetti dmadisetti deleted the dm/jedi-pin branch May 4, 2026 18:17
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.23.5-dev12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conflicting versions of jedi and python-lsp-server in sandbox mode Sandbox dependency problem breaks previously-working notebooks

3 participants