Skip to content

jaxlib version in PDM lockfile does not build on python 3.13 #12

@Lance-Drane

Description

@Lance-Drane

Getting this error on the Python 3.13 test while trying to install jaxlib (it's showing up on the MacOS job but will probably happen on all OSes):

ERRORS:
add jaxlib failed:
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/concurrent/fu
tures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/runner/Library/Application 
Support/pdm/venv/lib/python3.13/site-packages/pdm/installers/synchronizers.py", 
line 29, in install_candidate
    self.manager.install(can)
    ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/Users/runner/Library/Application 
Support/pdm/venv/lib/python3.13/site-packages/pdm/installers/manager.py", line 
33, in install
    prepared.build(),
    ~~~~~~~~~~~~~~^^
  File "/Users/runner/Library/Application 
Support/pdm/venv/lib/python3.13/site-packages/pdm/models/candidates.py", line 
403, in build
    self._obtain(allow_all=False)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/Users/runner/Library/Application 
Support/pdm/venv/lib/python3.13/site-packages/pdm/models/candidates.py", line 
444, in _obtain
    raise CandidateNotFound(
        f"No candidate is found for `{self.req.project_name}` that matches the 
environment or hashes"
    )
pdm.exceptions.CandidateNotFound: No candidate is found for `jaxlib` that 
matches the environment or hashes

This is probably related to the jaxlib version specified in pdm.lock not being compatible with Python 3.13, but will need to investigate further.

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