From 77799ee5bffe128fd420cf754c9a3bfa9451e26e Mon Sep 17 00:00:00 2001 From: Taylor Steinberg Date: Tue, 10 Nov 2026 11:40:37 -0500 Subject: [PATCH] docs: add Python support policy ADR and glossary Record ADR-0001 (the CLI supports only non-EOL Python; content Python is independent) and define CLI Python and content Python in GLOSSARY.md. Refs #942, #944. Co-Authored-By: Claude Opus 5.5 --- GLOSSARY.md | 15 +++++++++++++++ docs/adr/0001-support-only-non-eol-python.md | 8 ++++++++ 2 files changed, 23 insertions(+) create mode 100644 GLOSSARY.md create mode 100644 docs/adr/0001-support-only-non-eol-python.md diff --git a/GLOSSARY.md b/GLOSSARY.md new file mode 100644 index 00000000..8c3de25f --- /dev/null +++ b/GLOSSARY.md @@ -0,0 +1,15 @@ +# rsconnect-python + +The command-line interface for deploying Python content to Posit Connect and related deployment targets. + +## Language + +### Python interpreters + +**CLI Python**: +The interpreter that runs rsconnect-python itself, including environment inspection. +_Avoid_: host Python, rsconnect's Python + +**Content Python**: +The interpreter the deployed content targets, whose version and packages are recorded in the manifest. +_Avoid_: app Python, project Python, target Python diff --git a/docs/adr/0001-support-only-non-eol-python.md b/docs/adr/0001-support-only-non-eol-python.md new file mode 100644 index 00000000..6cb0e339 --- /dev/null +++ b/docs/adr/0001-support-only-non-eol-python.md @@ -0,0 +1,8 @@ +# Support only non-EOL Python versions for the CLI + +Since #920, the **CLI Python** is independent of the **content Python**: the CLI can be installed with `uv tool install` and only shells out to the content Python for its version and installed packages. So the CLI supports only Python versions that have not reached end-of-life. Each version is dropped in the next minor release after its EOL date, with a "Removed" CHANGELOG entry. Content can still target any Python version Connect supports. Support for old content Python versions is best-effort: we test the versions our tooling can readily provide and don't build special infrastructure for very old ones. + +## Consequences + +- Users on an EOL interpreter keep resolving to the last compatible release through `requires-python`. The upgrade check must therefore never tell them to install a release that excludes their interpreter. +- Packages that import rsconnect-python as a library (such as posit-cli and vetiver) silently stay on older releases until they raise their own floor.