The Python version guard (omnicoreagent 0.3.10)
OmniCoreAgent 0.4 and later need Python 3.12. On Python 3.10 or 3.11, pip does
not fail: it picks the newest release it may install, which was 0.3.9, and 0.3.9
cannot build an agent. This package is published once, as a source
distribution only, with requires-python = ">=3.10,<3.12". pip on those Pythons
now picks it, and its build stops with a message saying to use Python 3.12.
Its version, 0.3.10, is above 0.3.9 and below every 0.4 release, so PyPI's latest version stays on the real release, and no later release needs to know about it.
Release it (once):
cd packaging/python-guard
OMNICOREAGENT_GUARD_RELEASE=1 uv build --sdist --out-dir dist
uv publish dist/omnicoreagent-0.3.10.tar.gz
Without OMNICOREAGENT_GUARD_RELEASE=1 every build stops, which is the point: an
install is a build of this source distribution.
tests/test_python_guard.py holds its Python range, its version and its message.
Metadata
Release files for omnicoreagent 0.3.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omnicoreagent-0.3.10.tar.gz | 2.0 kB | Details |
Release files / omnicoreagent-0.3.10.tar.gz
| Download URL | omnicoreagent-0.3.10.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d0cac1498a7043268f7020357d23873442876c9404fc5fdfeabfce7a35ece3d
|
|
BLAKE2b-256 checksum How to use checksums |
ddac2472a33dec27a349aaaadb5679ccbd32a58540367756974855d2feb44b46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|