Skip to content

Silx for python 3.15 #4702

Closed
Closed

Description

@kif

Currently in RC1, silx does build but does not run due to pydantic not available for python 3.15:

lintaillefer:~/workspace/silx % pip install pydantic
Collecting pydantic
  Using cached pydantic-2.13.4-py3-none-any.whl.metadata (109 kB)
Collecting annotated-types>=0.6.0 (from pydantic)
  Using cached annotated_types-0.8.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.46.4 (from pydantic)
  Using cached pydantic_core-2.46.4.tar.gz (471 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      error: failed to parse manifest at `/tmp/pip-install-2972_e2q/pydantic-core_2d1f798f0cf34846afe7b8abbce4601c/Cargo.toml`
      
      Caused by:
        feature `edition2024` is required
      
        The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.84.0-nightly (e75214ea4 2024-10-25)).
        Consider adding `cargo-features = ["edition2024"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
        See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.
      💥 maturin failed
        Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
        Caused by: `cargo metadata` exited with an error:
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-dq8mwfwv', '--interpreter', '/users/kieffer/.venv/py315/bin/python3']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-dq8mwfwv --interpreter /users/kieffer/.venv/py315/bin/python3`
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> pydantic-core

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Activity

  1. kif commented on Aug 21, 2026

    @kif
    MemberAuthor
  2. loichuder commented on Aug 25, 2026

    @loichuder
    Member

    Python 3.15 expected to land on 1st of October: https://peps.python.org/pep-0790/

  3. added this to the 3.2.0 milestone on Sep 1, 2026
  4. t20100 commented on Sep 23, 2026

    @t20100
    Member

    As of today, it's possible to install silx dependencies on python3.15:

    related PR: #4732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions