Skip to content

Broken pip install #27

@schmidt-jo

Description

@schmidt-jo

Hi all, thanks for providing the package!

I am on windows using a virtual envrionment managed by uv and python 3.12.
I can install version 1.0.0 with uv using either uv add or uv pip install, without a problem.
However all higher versions run into the same issue, which i can only read (with my limited skill) as missing pre-compiled wheels for windows?
I guess the uv or pip is attempting to build from source as backup and cant find all necessary files.
The trace:

x Failed to build cajal==2.0
|-> The build backend returned an error
-> Call to setuptools.build_meta.build_wheel` failed (exit code: 1)

  [stderr]
  Traceback (most recent call last):
    File "<string>", line 14, in <module>
    File "C:\Users\...\AppData\Local\uv\cache\builds-v0\.tmpahjZpi\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=[])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\...\AppData\Local\uv\cache\builds-v0\.tmpahjZpi\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires
      self.run_setup()
    File "C:\Users\...\AppData\Local\uv\cache\builds-v0\.tmpahjZpi\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
      exec(code, locals())
    File "<string>", line 19, in <module>
    File "C:\Users\...\AppData\Local\uv\cache\builds-v0\.tmpahjZpi\Lib\site-packages\Cython\Build\Dependencies.py", line 981, in cythonize
      module_list, module_metadata = create_extension_list(
                                     ^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\...\AppData\Local\uv\cache\builds-v0\.tmpahjZpi\Lib\site-packages\Cython\Build\Dependencies.py", line 812, in create_extension_list
      for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\...\AppData\Local\uv\cache\builds-v0\.tmpahjZpi\Lib\site-packages\Cython\Build\Dependencies.py", line 80, in nonempty
      raise ValueError(error_msg)
  ValueError: 'src/cajal/*.pyx' doesn't match any files

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

Any help or remedy?
Best,
Jochen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions