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.