Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
include:
- os: macos-latest
python-version: '3.9'
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Pending Next Release

### Changed

- When deploying Shiny for Python applications on servers using a version of
Connect prior to 2024.01.0, there is an incompatibility with
`starlette>=0.35.0`. When deploying to these servers, the starlette version
is now automatically set to `starlette<0.35.0`.

### Removed

- Python 3.7 support.

## [1.22.0] - 2024-01-23

### Added
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tooling](https://packaging.python.org/guides/tool-recommendations/).

To get started, you'll want to:
- clone the repo into a project directory
- setup a virtual 3.7+ python environment in the project directory
- setup a virtual 3.8+ python environment in the project directory
- activate that virtual environment
- install the dependencies
- validate your build environment with some sample commands
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ SOURCE_DATE_EPOCH := $(shell date +%s)
export SOURCE_DATE_EPOCH

.PHONY: all-tests
all-tests: all-images test-3.7 test-3.8 test-3.9 test-3.10
all-tests: all-images test-3.8 test-3.9 test-3.10 test-3.11 test-3.12

.PHONY: all-images
all-images: image-3.7 image-3.8 image-3.9 image-3.10
all-images: image-3.8 image-3.9 image-3.10 image-3.11 image-3.12

image-%:
docker build -t rsconnect-python:$* --build-arg BASE_IMAGE=python:$*-slim .
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ content to Posit Connect, there are some caveats to understand when replicating
environment on the Posit Connect server:

Posit Connect insists on matching `<MAJOR.MINOR>` versions of Python. For example,
a server with only Python 3.8 installed will fail to match content deployed with
Python 3.7. Your administrator may also enable exact Python version matching which
a server with only Python 3.9 installed will fail to match content deployed with
Python 3.8. Your administrator may also enable exact Python version matching which
will be stricter and require matching major, minor, and patch versions. For more
information see the [Posit Connect Admin Guide chapter titled Python Version
Matching](https://docs.posit.co/connect/admin/python/#python-version-matching).
Expand Down Expand Up @@ -1001,9 +1001,6 @@ Posit Connect supports the programmatic bootstrapping of an administrator API ke
for scripted provisioning tasks. This process is supported by the `rsconnect bootstrap` command,
which uses a JSON Web Token to request an initial API key from a fresh Connect instance.

> **Warning**
> This feature **requires Python version 3.6 or higher**.

```bash
rsconnect bootstrap \
--server https://connect.example.org:3939 \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Python integration with Posit Connect"
authors = [{ name = "Michael Marchetti", email = "[email protected]" }]
license = { file = "LICENSE.md" }
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.7"
requires-python = ">=3.8"

dependencies = [
"six>=1.14.0",
Expand Down