Skip to content

Support for Python 3.14 #50

@Rogdham

Description

@Rogdham

Summary

Currently, the requires-python classifier prevents installation of backports.zstd on Python 3.14.

I am creating this issue to share my thoughts and gather feedback on whether backports.zstd should be installable on Python 3.14. Below are the main arguments I have so far (I will keep this message updated). Feel free to chime in!


Incentive for standard library usage

The goal is to encourage use of the standard library.

If backports.zstd is allowed on Python 3.14, some users may install it unconditionally (as they would with zstandard, pyzstd, etc.).

The original purpose of backports.zstd was never to be just another library for zstd support, but to facilitate the transition to the standard library.

Lifetime of the backport

The library is scheduled for deprecation with the end of official support for Python 3.13 (October 2029).

Extending support to Python 3.14 and beyond is not the same maintenance commitment.

Does Python 3.14 always come with zstd support?

The zstd dependency is technically optional, and support depends on the availability of libzstd at both build and runtime.

However, in practice, zstd support appears to be consistently available:

  • Windows: Supported in official installer.
  • macOS: Supported in official installer.
  • Linux: Most distributions include libzstd as a hard dependency for their package managers already. Moreover, libzstd is a dependency of their cpython 3.14 package. This has been confirmed for the following distributions already shipping CPython 3.14:
    • Debian unstable
    • Ubuntu 25.10
    • Fedora 42
    • openSUSE Tumbleweed
  • Android and iOS: Support is expected to be available
  • WASI/Emscripten: Probably not, but would they use the backport library anyways?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions