Skip to content

fix(deps): pydantic <2.14 pin has no Python 3.15 wheels for pydantic-core #388

Backlog

Description

Description

pyoaev pins pydantic (>=2.13.3,<2.14.0) (pyproject.toml#L32). pydantic 2.13.x requires pydantic-core==2.46.5, and PyPI has no Python 3.15 wheel for that version: its wheels stop at cp314.

pyoaev declares requires-python = ">=3.11" and every injector and collector declares >=3.14,<4.0, so Python 3.15 is in range. But installing any of them on 3.15 builds pydantic-core from source, which needs a Rust toolchain. A python:3.15-alpine or UBI9 image without Rust cannot install them, and the build is slow where it does work.

pydantic 2.14 uses pydantic-core 2.50.5, which ships cp315 wheels for every platform the images use (musllinux and manylinux, x86_64 and aarch64). Renovate already lists the bump to pydantic >=2.14.4,<2.15.0 on the Dependency Dashboard (#1), but has not opened the PR yet.

Environment

  1. OS: macOS (Darwin 27.2), arm64; wheel availability checked on PyPI for musllinux / manylinux x86_64 and aarch64
  2. Version: pyoaev 3.261118.0 (same pin on main at 36e8aeb)
  3. Other environment details: Python 3.15.2

Reproducible steps

  1. Create a Python 3.15 environment.
  2. Run pip install --only-binary :all: pyoaev==3.261118.0.

Expected output

pyoaev installs from wheels on Python 3.15, as it does on 3.14.

Actual output

No wheel matches pydantic-core==2.46.5 on Python 3.15. Without --only-binary, pip or uv builds it from source, which fails when no Rust toolchain is available.

Additional information

  • With pydantic==2.14.4 (and pydantic-core 2.50.5) forced over the pin, the pyoaev test suite passes on Python 3.14 and 3.15: 372 passed, 234 subtests passed. Everything installs from wheels.
  • Some injectors also cap pydantic below 2.14 themselves, so they would keep pydantic-core 2.46.5 after this change and need the same bump: censys, email-smtp and shodan (pydantic (>=2.11.3,<2.14.0)), and prowler (pydantic>=2.13.3,<2.14.0).
  • Also on 3.15 and outside pyoaev, these pinned or resolved packages have no cp315 wheels yet: lxml==6.1.1 (nmap injector), pandas 2.3.3 and ijson 3.4.0.post0 (palo-alto-cortex-xsoar collector, through msticpy).

Activity

  1. added
    bug
    needs triage
    on Nov 23, 2026
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

    bugneeds triage

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions