Skip to content

fix: resolve Windows dependency installation issues in CrewAI sample … - #249

Merged
Pujarini Mohapatra (biswapm) merged 4 commits into
mainfrom
fix/crewai-windows-dependency-issues
Mar 26, 2026
Merged

fix: resolve Windows dependency installation issues in CrewAI sample …#249
Pujarini Mohapatra (biswapm) merged 4 commits into
mainfrom
fix/crewai-windows-dependency-issues

Conversation

@biswapm

Copy link
Copy Markdown
Contributor

…(#241)

  • Cap requires-python at <3.14 to prevent pydantic-core build failure (PyO3 v0.24.1 does not support Python 3.14)
  • Add uv override to cap lancedb at <=0.30.0 on Windows; lancedb 0.30.1+ only ships Linux/macOS wheels and has no win_amd64 distribution

Fixes #241

…241)

- Cap `requires-python` at <3.14 to prevent pydantic-core build failure
  (PyO3 v0.24.1 does not support Python 3.14)
- Add uv override to cap lancedb at <=0.30.0 on Windows; lancedb 0.30.1+
  only ships Linux/macOS wheels and has no win_amd64 distribution

Fixes #241
@biswapm
Pujarini Mohapatra (biswapm) requested a review from a team as a code owner March 20, 2026 13:00
Copilot AI review requested due to automatic review settings March 20, 2026 13:00
@github-actions

github-actions Bot commented Mar 20, 2026

Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA e63612f.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

License Issues

python/crewai/sample_agent/pyproject.toml

PackageVersionLicenseIssue Type
lancedb<= 0.30.0NullUnknown License
Denied Licenses: GPL-3.0-only, AGPL-3.0-only

OpenSSF Scorecard

PackageVersionScoreDetails
pip/lancedb <= 0.30.0 UnknownUnknown

Scanned Files

  • python/crewai/sample_agent/pyproject.toml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the CrewAI Python sample’s packaging configuration to avoid known dependency installation failures on Windows (and to prevent Python 3.14 installs that currently break native builds).

Changes:

  • Cap Python support to >=3.11,<3.14 to avoid pydantic-core build failures on Python 3.14 (PyO3 compatibility).
  • Add a Windows-specific uv override to pin lancedb<=0.30.0 because newer versions don’t ship Windows wheels.

Comment thread python/crewai/sample_agent/pyproject.toml
Comment thread python/crewai/sample_agent/pyproject.toml
@biswapm Pujarini Mohapatra (biswapm) added the bug Something isn't working label Mar 20, 2026
ajmfehr
ajmfehr previously approved these changes Mar 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread python/crewai/sample_agent/pyproject.toml Outdated
@biswapm
Pujarini Mohapatra (biswapm) merged commit 611953d into main Mar 26, 2026
34 of 36 checks passed
@biswapm
Pujarini Mohapatra (biswapm) deleted the fix/crewai-windows-dependency-issues branch March 26, 2026 19:00
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.

Python/CrewAI sample encountering dependency installation issues

4 participants