Skip to main content

Compatibility

This page documents which Python versions are supported by each slackblocks release line, so you can choose the right line for your runtime.

Each row in the table maps a major slackblocks release line to the oldest Python interpreter that can run it. Minimum Python means that version or any newer supported Python version—not that the release only works on that one version. The status in parentheses tells you whether the line receives current feature development or maintenance fixes only.

Start with the Python version used by your application or deployment environment, then choose the newest slackblocks line whose minimum requirement it meets. For example, Python 3.9 requires slackblocks 1.x, while Python 3.10 and newer can use 4.x.

Support matrix​

slackblocks versionMinimum PythonNotes
1.x (maintenance)3.8.1The last release line to support Python 3.8 and 3.9.
2.x3.10Modern typing (X | Y, list[X]), dataclasses with slots, match statements, and other Python 3.10+ features used internally.
3.x3.10Corrected number-input bound APIs; the interpreter minimum is unchanged from 2.x.
4.x (current)3.10Numeric table cells, sparse settings and stricter validation; the interpreter minimum is unchanged.

Choose exactly one release line. The copyable files below select current 4.x on Python 3.10+. For a Python 3.8/3.9 application, replace that single constraint with slackblocks>=1,<2 (Poetry: ^1) and set the project’s Python constraint to its actual runtime; do not install both lines together:

slackblocks>=4,<5

Runtime support and upstream maintenance​

The current package continues to support Python 3.10+, including after upstream Python 3.10 end-of-life. Upstream maintenance dates help applications choose a supported interpreter; they do not automatically change slackblocks’ minimum. A future floor change requires an explicit compatibility decision and release notes.

Choosing a version​

  • You're on Python 3.8 or 3.9: install the latest 1.x.
  • You're on Python 3.10 or newer: install the current 4.x release line.
  • You're starting a new project on a modern Python: prefer 4.x to take advantage of the improved typing surface.

For an upgrade walkthrough from 1.x to 2.x, see the Migration Guide.