Skip to content

Conversation

@loganrosen
Copy link

uv sync currently fails in the mcp module with the following:

> uv sync --all-extras
  × No solution found when resolving dependencies for split (markers: python_full_version >= '3.14'):
  ╰─▶ Because there is no version of llvmlite{python_full_version >= '3.14'}==0.46.0b1 and shap==0.50.0 depends on llvmlite{python_full_version >= '3.14'}==0.46.0b1, we can conclude that shap==0.50.0 cannot
      be used.
      And because bugbug==0.0.616 depends on shap[plots]==0.50.0 and only bugbug==0.0.616 is available, we can conclude that all versions of bugbug cannot be used.
      And because your project depends on bugbug and your project requires bugbug-mcp[llms-txt], we can conclude that your project's requirements are unsatisfiable.

      hint: `llvmlite` was requested with a pre-release marker (e.g., llvmlite==0.46.0b1), but pre-releases weren't enabled (try: `--prerelease=allow`)

      hint: While the active Python version is 3.12, the resolution failed for other Python versions supported by your project. Consider limiting your project's supported Python versions using
      `requires-python`.

There are two options: (1) restrict the mcp module to Python versions less than 3.14, or (2) allow pre-release versions of dependencies. We need to do one of these until shap releases a new version containing this change. I chose (2) to allow use of the module with Python 3.14, but please let me know if you prefer (1).

I ran uv sync --prerelease=allow to generate this change. That triggered it to ignore the current lockfile and update the dependencies to the latest compatible versions.

@suhaibmujahid
Copy link
Member

Thanks, @loganrosen, for taking the time to fix this!

Since this was generated by uv sync-- prerelease=allow, running uv sync would change it back, and running uv sync-- locked would fail.

For now, you could run uv venv --python 3.12. The issue should resolve itself once the dependencies support Python 3.14.

NOTE: We should even consider whether we still need shape, since it causes issues from time to time.

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