Skip to content

Failed to build `pymsalruntime==0.15.0a1 #48

@davrous

Description

@davrous

Can't manage to install the server using: https://insiders.vscode.dev/redirect/mcp/install?name=Azure%20Foundry%20MCP%20Server&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22--prerelease%3Dallow%22%2C%22--from%22%2C%22git%2Bhttps%3A%2F%2Fgithub.com%2Fazure-ai-foundry%2Fmcp-foundry.git%22%2C%22run-azure-ai-foundry-mcp%22%5D%7D from the blog post: https://devblogs.microsoft.com/foundry/azure-ai-foundry-mcp-server-may-2025/

With the following error:

2025-06-23 17:44:09.518 [warning] [server stderr] Building pymsalruntime==0.15.0a1
2025-06-23 17:44:14.043 [info] Waiting for server to respond to initialize request...
2025-06-23 17:44:14.355 [warning] [server stderr] × Failed to build pymsalruntime==0.15.0a1
2025-06-23 17:44:14.356 [warning] [server stderr] ├─▶ The build backend returned an error
2025-06-23 17:44:14.356 [warning] [server stderr] ╰─▶ Call to setuptools.build_meta.build_wheel failed

Having also similar issue while trying to build it locally:

Using Python 3.13.5 environment at: venv
Resolved 237 packages in 952ms
× Failed to build pymsalruntime==0.15.0a1
├─▶ The build backend returned an error
╰─▶ Call to setuptools.build_meta.build_wheel failed (exit code: 1)

  [stdout]
  running bdist_wheel
  running build
  running build_py
  copying pymsalruntime\__init__.py -> build\lib.win-amd64-cpython-313\pymsalruntime
  copying pymsalruntime\PyMsalRuntime.pyi -> build\lib.win-amd64-cpython-313\pymsalruntime
  copying pymsalruntime\msalruntime.dll -> build\lib.win-amd64-cpython-313\pymsalruntime
  running build_ext
  building 'pymsalruntime.pymsalruntime' extension

  [stderr]
  C:\Users\davrous\AppData\Local\uv\cache\builds-v0\.tmpbW2AQV\Lib\site-packages\setuptools\dist.py:332:
  InformationOnly: Normalizing '0.15.0-alpha1' to '0.15.0a1'
    self.metadata.version = self._normalize_version(self.metadata.version)
  C:\Users\davrous\AppData\Local\uv\cache\builds-v0\.tmpbW2AQV\Lib\site-packages\setuptools\dist.py:759:
  SetuptoolsDeprecationWarning: License classifiers are deprecated.
  !!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:

          License :: OSI Approved :: MIT License

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

  !!
    self._finalize_license_expression()
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools":
  https://visualstudio.microsoft.com/visual-cpp-build-tools/

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

help: pymsalruntime (v0.15.0a1) was included because azure-identity (v1.23.0) depends on msal[broker]
(v1.32.3) which depends on pymsalruntime

Note: I have the C++ Build Tools installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions