Skip to content

[WIP] Fix dependency installation issues for CrewAI sample#248

Draft
Copilot wants to merge 1 commit intomainfrom
copilot/fix-dependency-installation-issues
Draft

[WIP] Fix dependency installation issues for CrewAI sample#248
Copilot wants to merge 1 commit intomainfrom
copilot/fix-dependency-installation-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 20, 2026

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>Python/CrewAI sample encountering dependency installation issues</issue_title>
<issue_description>## Description
I attempted to set up and run the crewai Agent365 sample agent using Python (3.11 / 3.13)

While installing and configuring the environment, I encountered dependency conflicts during package installation. The issue appears to be related to incompatible package versions required by the dependencies used in the project.

The problem occurs during the dependency installation step and prevents the agent environment from being set up successfully.

This appears to be related to Python dependency compatibility, rather than deployment or Microsoft Teams configuration.


Expected behavior

Dependencies should install successfully and allow the agent to run without version conflicts.


Actual behavior

During installation of dependencies using pip, multiple dependency resolution conflicts occur between required packages. These conflicts prevent the environment from being created successfully and the agent cannot run.


SDK Version

v1.1.104-preview+80f983b74e


Language / Runtime

  • Python 3.11
  • Python 3.13

OS

  • Windows 11

Steps to Reproduce

  1. Clone the Agent365 samples repository.
  2. Set up a Python environment (tested with Python 3.11 and Python 3.13).
  3. Install the project dependencies.
  4. Dependency conflicts occur during installation.

Logs / Error Output

warning: `VIRTUAL_ENV=venv` does not match the project environment path `.venv` and will be ignored; use `--active` to target the active environment instead
Resolved 148 packages in 4ms

× Failed to build `pydantic-core==2.33.2`
├─▶ The build backend returned an error
╰─▶ Call to `maturin.build_wheel` failed (exit code: 1)

Python reports SOABI: cp314-win_amd64
Computed rustc target triple: x86_64-pc-windows-msvc

error: the configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.13)

help: please check if an updated version of PyO3 is available.
Current version: 0.24.1

help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI

hint: This usually indicates a problem with the package or the build environment.

help: `pydantic-core` (v2.33.2) was included because `crew-agent` (v0.1.0)
depends on `microsoft-agents-activity` (v0.9.0.dev1) which depends on
`pydantic` (v2.11.10) which depends on `pydantic-core`
Image

Result

Dependency installation fails due to incompatible package versions.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

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.

Python/CrewAI sample encountering dependency installation issues

2 participants