Skip to content

UV unable to sync on Windows #9018

@ScuttoZ

Description

@ScuttoZ

Running uv sync fails while building coincurve on Windows 11. Tested on e3963e4 (26.04).

Logs × Failed to build `coincurve==20.0.0`

├─▶ The build backend returned an error
╰─▶ Call to hatchling.build.build_wheel failed (exit code: 1)

  [stdout]
  *** scikit-build-core 0.12.2 using CMake 4.3.1 (wheel)
  *** Configuring CMake...
  loading initial cache file C:\Users\feder\AppData\Local\Temp\tmpsywa96jp\build\CMakeInit.txt
  -- Building for: NMake Makefiles
  -- Configuring incomplete, errors occurred!

  [stderr]
  WARNING: Use build.verbose instead of cmake.verbose for scikit-build-core >= 0.10
  CMake Error at CMakeLists.txt:3 (project):
    Running

     'nmake' '-?'

    failed with:

     no such file or directory


  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  Traceback (most recent call last):
    File "<string>", line 11, in <module>
      wheel_filename = backend.build_wheel("C:\\Users\\feder\\AppData\\Local\\uv\\cache\\builds-v0\\.tmpCkHfEb", {}, None)
    File "C:\Users\feder\AppData\Local\uv\cache\builds-v0\.tmp9X5pHI\Lib\site-packages\hatchling\build.py", line 58, in build_wheel
      return os.path.basename(next(builder.build(directory=wheel_directory, versions=["standard"])))
                              ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\feder\AppData\Local\uv\cache\builds-v0\.tmp9X5pHI\Lib\site-packages\hatchling\builders\plugin\interface.py", line 149, in build
      build_hook.initialize(version, build_data)
      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\feder\AppData\Local\uv\cache\builds-v0\.tmp9X5pHI\Lib\site-packages\scikit_build_core\hatch\plugin.py", line 125, in initialize
      self._initialize(build_data=build_data)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\feder\AppData\Local\uv\cache\builds-v0\.tmp9X5pHI\Lib\site-packages\scikit_build_core\hatch\plugin.py", line 228, in _initialize
      builder.configure(
      ~~~~~~~~~~~~~~~~~^
          defines=defines,
          ^^^^^^^^^^^^^^^^
      ...<2 lines>...
          version=Version(self.build_config.builder.metadata.version),
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "C:\Users\feder\AppData\Local\uv\cache\builds-v0\.tmp9X5pHI\Lib\site-packages\scikit_build_core\builder\builder.py", line 297, in configure
      self.config.configure(
      ~~~~~~~~~~~~~~~~~~~~~^
          defines=cmake_defines,
          ^^^^^^^^^^^^^^^^^^^^^^
          cmake_args=[*self.get_cmake_args(), *configure_args],
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          toolchain=self.settings.cmake.toolchain_file,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "C:\Users\feder\AppData\Local\uv\cache\builds-v0\.tmp9X5pHI\Lib\site-packages\scikit_build_core\cmake.py", line 282, in configure
      raise FailedLiveProcessError(msg) from None
  scikit_build_core.errors.FailedLiveProcessError: CMake configuration failed

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

help: coincurve (v20.0.0) was included because cln-meta-project (v0.1.0) depends on pyln-proto (v26.4rc1) which depends on coincurve

Metadata

Metadata

Assignees

No one assigned

    Labels

    QABlockstream QA team have reproduced, or a test has been created! Look for the linked PR/Issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions