diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ea8697e4..be218d65 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -98,7 +98,7 @@ VERSION="$(uv version --bump stable --dry-run --short)" # use "--bump minor" if git checkout -b "release-$VERSION" main uv version "$VERSION" # perl, not sed: GNU sed (Linux) and BSD sed (macOS) take different -i arguments -perl -pi -e "s/^## Unreleased/## [$VERSION] - $(date +%Y-%m-%d)/" docs/CHANGELOG.md +perl -pi -e "s/^## \[Unreleased\]/## [$VERSION] - $(date +%Y-%m-%d)/" docs/CHANGELOG.md git commit -am "Release $VERSION" git push -u origin "release-$VERSION" gh pr create --title "Release $VERSION" --body "Release $VERSION" @@ -130,7 +130,7 @@ version ```bash VERSION="$(uv version --bump patch --bump dev --dry-run --short)" # e.g. 1.29.1 -> 1.29.2.dev1 git checkout -b "rearm-$VERSION" main -perl -0777 -pi -e 's/^## \[/## Unreleased\n\n$&/m' docs/CHANGELOG.md +perl -0777 -pi -e 's/^## \[/## [Unreleased]\n\n$&/m' docs/CHANGELOG.md uv version "$VERSION" git commit -am "Begin $VERSION development" git push -u origin "rearm-$VERSION" @@ -147,6 +147,8 @@ Updating the package requires a fork of the repository and a [push request](http - For new version/release, update the [meta.yaml](https://github.com/conda-forge/rsconnect-python-feedstock/blob/master/recipe/meta.yaml) file with the new version number, source url, and corresponding checksum. +- When `requires-python` or `[project].dependencies` in `pyproject.toml` change, update the recipe to match. The recipe doesn't read `pyproject.toml`: set `{% set python_min = "X.Y" %}` at the top of `meta.yaml` to the `requires-python` floor, and make `requirements.run` match the runtime dependencies. + - For a rebuild of the same version, increase "number" under "build" by one in the [meta.yaml](https://github.com/conda-forge/rsconnect-python-feedstock/blob/master/recipe/meta.yaml) file. Once the proposed change is pushed, follow the checklist. diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 4dbf8341..6b5f7b63 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -5,18 +5,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [1.34.0] - 2026-11-18 ### Added -- Reads deployment settings from `[tool.posit.connect]` in `pyproject.toml` and generates it in quickstart projects. The legacy `[tool.rsconnect]` name remains supported with a deprecation warning. +- Reads deployment settings from `[tool.posit.connect]` in `pyproject.toml` and generates it in quickstart projects. The legacy `[tool.rsconnect]` name remains supported with a deprecation warning. [#976](https://github.com/posit-dev/rsconnect-python/pull/976) ### Removed -- **Breaking:** Removes support for running the CLI on Python 3.8–3.10. Installing on those versions resolves to 1.33.2, the last compatible release. Content can still target those versions [#972](https://github.com/posit-dev/rsconnect-python/pull/972). +- **Breaking:** Removes support for running the CLI on Python 3.8–3.10. Installing on those versions resolves to 1.33.2, the last compatible release. Content can still target those versions: install the CLI in its own environment with `uv tool install rsconnect-python` ([Installation](index.md#installation)), and select the content Python with `--python` ([Choosing the content Python](deploying.md#choosing-the-content-python)) [#972](https://github.com/posit-dev/rsconnect-python/pull/972). ### Fixed +- `rsconnect quickstart` without `--python` targets the newest Python available on the configured Connect server, instead of the CLI Python. It falls back to the CLI Python with a warning when the server is unavailable. [#978](https://github.com/posit-dev/rsconnect-python/pull/978) - Follows symlinks when bundling content: linked files are archived with their target contents and linked directories are included, instead of archiving broken links or omitting the directories. [#955](https://github.com/posit-dev/rsconnect-python/pull/955) - Passes `--package-installer` through in `write-manifest ` and `deploy quarto`. The option was accepted but ignored, so the manifest always recorded `pip`. [#877](https://github.com/posit-dev/rsconnect-python/pull/877) - `system caches delete` exits with status 1 when the Connect task that deletes the cache fails. [#876](https://github.com/posit-dev/rsconnect-python/pull/876) diff --git a/pyproject.toml b/pyproject.toml index c7339bd7..09f29864 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [{ name = "Posit, PBC", email = "rsconnect@posit.co" }] license = { file = "LICENSE.md" } readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" -version = "1.34.0.dev1" +version = "1.34.0" dependencies = [ "pip>=20.3", diff --git a/uv.lock b/uv.lock index 366f284d..3ae4c511 100644 --- a/uv.lock +++ b/uv.lock @@ -2190,7 +2190,7 @@ wheels = [ [[package]] name = "rsconnect-python" -version = "1.34.0.dev1" +version = "1.34.0" source = { editable = "." } dependencies = [ { name = "click" },