Skip to content

Commit a5a1668

Browse files
authored
Merge pull request #561 from rstudio/aron-drop-3.7
remove support for Python 3.7; test 3.11, 3.12
2 parents f82d753 + 8172195 commit a5a1668

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

.github/workflows/nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest]
17-
python-version: ['3.8', '3.9', '3.10', '3.11']
17+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
1818
include:
1919
- os: macos-latest
2020
python-version: '3.9'

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## Pending Next Release
88

99
### Changed
10+
1011
- When deploying Shiny for Python applications on servers using a version of
1112
Connect prior to 2024.01.0, there is an incompatibility with
1213
`starlette>=0.35.0`. When deploying to these servers, the starlette version
1314
is now automatically set to `starlette<0.35.0`.
1415

16+
### Removed
17+
18+
- Python 3.7 support.
19+
1520
## [1.22.0] - 2024-01-23
1621

1722
### Added

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tooling](https://packaging.python.org/guides/tool-recommendations/).
55

66
To get started, you'll want to:
77
- clone the repo into a project directory
8-
- setup a virtual 3.7+ python environment in the project directory
8+
- setup a virtual 3.8+ python environment in the project directory
99
- activate that virtual environment
1010
- install the dependencies
1111
- validate your build environment with some sample commands

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ SOURCE_DATE_EPOCH := $(shell date +%s)
3333
export SOURCE_DATE_EPOCH
3434

3535
.PHONY: all-tests
36-
all-tests: all-images test-3.7 test-3.8 test-3.9 test-3.10
36+
all-tests: all-images test-3.8 test-3.9 test-3.10 test-3.11 test-3.12
3737

3838
.PHONY: all-images
39-
all-images: image-3.7 image-3.8 image-3.9 image-3.10
39+
all-images: image-3.8 image-3.9 image-3.10 image-3.11 image-3.12
4040

4141
image-%:
4242
docker build -t rsconnect-python:$* --build-arg BASE_IMAGE=python:$*-slim .

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ content to Posit Connect, there are some caveats to understand when replicating
2121
environment on the Posit Connect server:
2222

2323
Posit Connect insists on matching `<MAJOR.MINOR>` versions of Python. For example,
24-
a server with only Python 3.8 installed will fail to match content deployed with
25-
Python 3.7. Your administrator may also enable exact Python version matching which
24+
a server with only Python 3.9 installed will fail to match content deployed with
25+
Python 3.8. Your administrator may also enable exact Python version matching which
2626
will be stricter and require matching major, minor, and patch versions. For more
2727
information see the [Posit Connect Admin Guide chapter titled Python Version
2828
Matching](https://docs.posit.co/connect/admin/python/#python-version-matching).
@@ -1001,9 +1001,6 @@ Posit Connect supports the programmatic bootstrapping of an administrator API ke
10011001
for scripted provisioning tasks. This process is supported by the `rsconnect bootstrap` command,
10021002
which uses a JSON Web Token to request an initial API key from a fresh Connect instance.
10031003
1004-
> **Warning**
1005-
> This feature **requires Python version 3.6 or higher**.
1006-
10071004
```bash
10081005
rsconnect bootstrap \
10091006
--server https://connect.example.org:3939 \

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Python integration with Posit Connect"
55
authors = [{ name = "Michael Marchetti", email = "[email protected]" }]
66
license = { file = "LICENSE.md" }
77
readme = { file = "README.md", content-type = "text/markdown" }
8-
requires-python = ">=3.7"
8+
requires-python = ">=3.8"
99

1010
dependencies = [
1111
"six>=1.14.0",

0 commit comments

Comments
 (0)