Skip to content

No wasmtime-30.0.0-py3-none-any.whl on PyPI. #271

@cr1901

Description

@cr1901

Today, I got an error when trying to add wasmtime to a PDM project in a MinGW environment:

William@DESKTOP-3H1DSBV MINGW64 /tmp/pdm-test
$ pdm add wasmtime
Adding packages to default dependencies: wasmtime
  0:00:01 � Lock successful.
Changes are written to pyproject.toml.
Synchronizing working set with resolved packages: 2 to add, 0 to update, 0 to remove

  ✖ Install wasmtime 30.0.0 failed
  ✔ Install importlib-resources 6.5.2 successful
  ✖ Install wasmtime 30.0.0 failed

ERRORS:
add wasmtime failed:
Traceback (most recent call last):
  File "C:/msys64/mingw64/lib/python3.12/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:/Users/William/pipx/venvs/pdm/lib/python3.12/site-packages/pdm/installers/synchronizers.py", line 29, in install_candidate
    self.manager.install(can)
  File "C:/Users/William/pipx/venvs/pdm/lib/python3.12/site-packages/pdm/installers/manager.py", line 33, in install
    prepared.build(),
    ^^^^^^^^^^^^^^^^
  File "C:/Users/William/pipx/venvs/pdm/lib/python3.12/site-packages/pdm/models/candidates.py", line 401, in build
    self._obtain(allow_all=False)
  File "C:/Users/William/pipx/venvs/pdm/lib/python3.12/site-packages/pdm/models/candidates.py", line 442, in _obtain
    raise CandidateNotFound(
pdm.exceptions.CandidateNotFound: No candidate is found for `wasmtime` that matches the environment or hashes

  0:00:00 ✖ Some package operations failed. 1/1
See C:/Users/William/AppData/Local/pdm/pdm/Logs/pdm-install-jogfamkt.log for detailed debug log.
[InstallationError]: Some package operations failed.
WARNING: Add '-v' to see the detailed traceback

I've never seen this before, but according to the log, PDM can't find a compatible version, which would be none-any. I noticed on PyPI that the none-any wheel is missing for 30.0.0, but is present for 29.0.0. And indeed, installing 29.0.0 works! Is this intentional?

See #10 for prior art.

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