Skip to content

numpy dependency #1153

Open
Open

Description

@SackMaggie

As followed in Contributing guideline when I try uv sync --all-extras I got a problem about dependency

> uv sync --all-extras
Resolved 210 packages in 1ms
  × Failed to build `numpy==1.26.4`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `mesonpy.build_wheel` failed (exit code: 1)

      [stdout]
      + C:\Users\Sack\AppData\Local\uv\cache\builds-v0\.tmpgAD6zz\Scripts\python.exe
      C:\Users\Sack\AppData\Local\uv\cache\sdists-v9\pypi\numpy\1.26.4\cABxDEXg5Djfu84V\src\vendored-meson\meson\meson.py
      setup C:\Users\Sack\AppData\Local\uv\cache\sdists-v9\pypi\numpy\1.26.4\cABxDEXg5Djfu84V\src
      C:\Users\Sack\AppData\Local\uv\cache\sdists-v9\pypi\numpy\1.26.4\cABxDEXg5Djfu84V\src\.mesonpy-5j3smn4u
      -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md
      --native-file=C:\Users\Sack\AppData\Local\uv\cache\sdists-v9\pypi\numpy\1.26.4\cABxDEXg5Djfu84V\src\.mesonpy-5j3smn4u\meson-python-native-file.ini
      The Meson build system
      Version: 1.2.99
      Source dir: C:\Users\Sack\AppData\Local\uv\cache\sdists-v9\pypi\numpy\1.26.4\cABxDEXg5Djfu84V\src
      Build dir: C:\Users\Sack\AppData\Local\uv\cache\sdists-v9\pypi\numpy\1.26.4\cABxDEXg5Djfu84V\src\.mesonpy-5j3smn4u
      Build type: native build
      Project name: NumPy
      Project version: 1.26.4
      WARNING: Failed to activate VS environment: Could not parse vswhere.exe output

      ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'],
      ['pgcc']]
      The following exception(s) were encountered:
      Running `icl ""` gave "[WinError 2] The system cannot find the file specified"
      Running `cl /?` gave "[WinError 2] The system cannot find the file specified"
      Running `cc --version` gave "[WinError 2] The system cannot find the file specified"
      Running `gcc --version` gave "[WinError 2] The system cannot find the file specified"
      Running `clang --version` gave "[WinError 2] The system cannot find the file specified"
      Running `clang-cl /?` gave "[WinError 2] The system cannot find the file specified"
      Running `pgcc --version` gave "[WinError 2] The system cannot find the file specified"

      A full log can be found at
      C:\Users\XXXX\AppData\Local\uv\cache\sdists-v9\pypi\numpy\1.26.4\cABxDEXg5Djfu84V\src\.mesonpy-5j3smn4u\meson-logs\meson-log.txt


hint: `numpy` (v1.26.4) was included because `graphifyy[svg]` (v0.8.32) depends on `matplotlib` (v3.10.9) which depends on `numpy`
hint: Build failures usually indicate a problem with the package or the build environment

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