From 71317559584b14e8668137581f46d206b6a76e0f Mon Sep 17 00:00:00 2001 From: Aron Atkins Date: Thu, 21 Mar 2024 11:08:18 -0400 Subject: [PATCH 1/2] remove support for Python 3.7; test 3.12 --- .github/workflows/main.yml | 2 +- Makefile | 2 +- README.md | 2 +- docs/docs/index.md | 2 +- selenium/README.md | 6 +++--- setup.cfg | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c513af07..92595640 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ['3.7', '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' diff --git a/Makefile b/Makefile index b8d2df0f..9cb2a21a 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ clean: rm -rf build/ dist/ docs/out/ rsconnect_jupyter.egg-info/ .PHONY: all-images -all-images: image3.7 image3.8 image3.9 image3.10 image3.11 +all-images: image3.8 image3.9 image3.10 image3.11 image3.12 image%: docker build \ diff --git a/README.md b/README.md index 685cfa35..dc5eee19 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Connect](https://www.posit.co/products/enterprise/connect/). # Requirements -- Python 3.7.0 and higher +- Python 3.8.0 and higher - Jupyter Notebook 5.x - [pip](https://pypi.org/project/pip/) - [wheel](https://pypi.org/project/wheel/) diff --git a/docs/docs/index.md b/docs/docs/index.md index 45c00e1e..8ce12ff0 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -4,7 +4,7 @@ The `rsconnect-jupyter` package is a _Jupyter Notebook_ extension (i.e., `nbexte ## Requirements -- [Python >=3.7](https://www.python.org/downloads/) +- [Python >=3.8](https://www.python.org/downloads/) - [Jupyter](https://pypi.org/project/jupyter) - [Notebook >=5,7](https://pypi.org/project/notebook/) - [Posit Connect](https://www.posit.co/download/posit-connect/) ([supported versions](https://posit.co/support/#supported-connect-versions)) diff --git a/selenium/README.md b/selenium/README.md index 0147b1a7..e316d69d 100644 --- a/selenium/README.md +++ b/selenium/README.md @@ -559,14 +559,14 @@ make test-env-up PROJECT=rscnet2 ##### PY_VERSION -Version of Python to use when launching the Jupyter server. Valid version include 2, 3.6, 3.7 +Version of Python to use when launching the Jupyter server. Valid version include 3.8, 3.9 Default Value: `2` Example usage: ``` -make jupyter-up PY_VERSION=2 -make test PY_VERSION=2 +make jupyter-up PY_VERSION=3.9 +make test PY_VERSION=3.9 ``` ##### PYTESTLOG diff --git a/setup.cfg b/setup.cfg index 399ef0ff..c6a0e646 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,11 +25,11 @@ install_requires = setup_requires = setuptools packages = rsconnect_jupyter -python_requires = >=3.7 +python_requires = >=3.8 include_package_data = true zip_safe = false [options.extras_require] test = black - pytest \ No newline at end of file + pytest From 24b22aa95fef2a3e3eb7d5fa46a450033d65cad6 Mon Sep 17 00:00:00 2001 From: Aron Atkins Date: Thu, 21 Mar 2024 11:21:29 -0400 Subject: [PATCH 2/2] remove 3.12 tests. notebook<7 constraint prevents dependency installation. the referenced version of pyzmq does not compile with python 3.12. --- .github/workflows/main.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 92595640..f557fb53 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11'] include: - os: macos-latest python-version: '3.9' diff --git a/Makefile b/Makefile index 9cb2a21a..1c4eca45 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ clean: rm -rf build/ dist/ docs/out/ rsconnect_jupyter.egg-info/ .PHONY: all-images -all-images: image3.8 image3.9 image3.10 image3.11 image3.12 +all-images: image3.8 image3.9 image3.10 image3.11 image%: docker build \