From 3fb72abb3cfb9244dae51e02f72083ca3a3e7af5 Mon Sep 17 00:00:00 2001 From: tschilling Date: Thu, 21 Mar 2024 19:05:21 -0500 Subject: [PATCH] Upgrade to Python 3.11 --- .../workflows/develop_djangonaut_space.yml | 2 +- .github/workflows/main_djangonaut-space.yml | 2 +- .github/workflows/tests.yml | 2 +- README.md | 2 +- requirements/requirements-dev.txt | 30 ++----------------- requirements/requirements-test.txt | 20 +------------ requirements/requirements.txt | 10 +------ 7 files changed, 9 insertions(+), 59 deletions(-) diff --git a/.github/workflows/develop_djangonaut_space.yml b/.github/workflows/develop_djangonaut_space.yml index 5f88601e..fb8513f9 100644 --- a/.github/workflows/develop_djangonaut_space.yml +++ b/.github/workflows/develop_djangonaut_space.yml @@ -22,7 +22,7 @@ name: Staging build and deploy Python app to Azure Web App - djangonaut-space env: AZURE_WEBAPP_NAME: staging-djangonaut-space # set this to the name of your Azure Web App AZURE_WEBAPP_PACKAGE_PATH: '.' - PYTHON_VERSION: '3.9' # set this to the Python version to use + PYTHON_VERSION: '3.11' # set this to the Python version to use NODE_VERSION: '17.6.0' on: diff --git a/.github/workflows/main_djangonaut-space.yml b/.github/workflows/main_djangonaut-space.yml index 8d9c4078..e75d0156 100644 --- a/.github/workflows/main_djangonaut-space.yml +++ b/.github/workflows/main_djangonaut-space.yml @@ -47,7 +47,7 @@ jobs: - name: Set up Python version uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.11' - name: Install dependencies run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 78d42055..dd3e4110 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,7 +36,7 @@ jobs: - name: Set up Python version uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.11' - name: Install dependencies run: | diff --git a/README.md b/README.md index de7abd63..384768a3 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ This section should list any major frameworks/libraries used to bootstrap your p ### Prerequisites This is an example of how to list things you need to use the software and how to install them. -* Python version 3.10.5 +* Python version 3.11 ### Installation diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index a028de2a..41ccd16d 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --output-file=requirements/requirements-dev.txt --strip-extras requirements/requirements-dev.in @@ -187,12 +187,6 @@ et-xmlfile==1.1.0 # -r requirements/requirements-test.txt # -r requirements/requirements.txt # openpyxl -exceptiongroup==1.2.0 - # via - # -r requirements/requirements-test.txt - # -r requirements/requirements.txt - # anyio - # pytest factory-boy==3.3.0 # via -r requirements/requirements-test.txt faker==23.2.1 @@ -225,12 +219,6 @@ idna==3.6 # -r requirements/requirements.txt # anyio # requests -importlib-metadata==7.0.1 - # via - # -r requirements/requirements-test.txt - # -r requirements/requirements.txt - # build - # markdown iniconfig==2.0.0 # via # -r requirements/requirements-test.txt @@ -392,23 +380,16 @@ text-unidecode==1.3 # via # -r requirements/requirements-test.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/requirements-test.txt - # build - # pip-tools - # pyproject-hooks - # pytest typing-extensions==4.6.3 # via # -r requirements/requirements-test.txt # -r requirements/requirements.txt - # anyio - # asgiref # azure-core # azure-storage-blob # dj-database-url # pyee +unittest-parametrize==1.4.0 + # via -r requirements/requirements-test.txt urllib3==1.26.18 # via # -r requirements/requirements-test.txt @@ -445,11 +426,6 @@ willow==1.6.3 # -r requirements/requirements-test.txt # -r requirements/requirements.txt # wagtail -zipp==3.17.0 - # via - # -r requirements/requirements-test.txt - # -r requirements/requirements.txt - # importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/requirements-test.txt b/requirements/requirements-test.txt index c62f2bf2..919bd389 100644 --- a/requirements/requirements-test.txt +++ b/requirements/requirements-test.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --output-file=requirements/requirements-test.txt --strip-extras requirements/requirements-test.in @@ -132,11 +132,6 @@ et-xmlfile==1.1.0 # via # -r requirements/requirements.txt # openpyxl -exceptiongroup==1.2.0 - # via - # -r requirements/requirements.txt - # anyio - # pytest factory-boy==3.3.0 # via -r requirements/requirements-test.in faker==23.2.1 @@ -158,10 +153,6 @@ idna==3.6 # -r requirements/requirements.txt # anyio # requests -importlib-metadata==7.0.1 - # via - # -r requirements/requirements.txt - # markdown iniconfig==2.0.0 # via pytest isodate==0.6.1 @@ -273,18 +264,13 @@ telepath==0.3.1 # wagtail text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via pytest typing-extensions==4.6.3 # via # -r requirements/requirements.txt - # anyio - # asgiref # azure-core # azure-storage-blob # dj-database-url # pyee - # unittest-parametrize unittest-parametrize==1.4.0 # via -r requirements/requirements-test.in urllib3==1.26.18 @@ -312,10 +298,6 @@ willow==1.6.3 # via # -r requirements/requirements.txt # wagtail -zipp==3.17.0 - # via - # -r requirements/requirements.txt - # importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/requirements.txt b/requirements/requirements.txt index f172c0aa..f67dd0b9 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --output-file=requirements/requirements.txt --strip-extras requirements/requirements.in @@ -91,8 +91,6 @@ draftjs-exporter==2.1.7 # via wagtail et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.2.0 - # via anyio filetype==1.2.0 # via willow html5lib==1.1 @@ -101,8 +99,6 @@ idna==3.6 # via # anyio # requests -importlib-metadata==7.0.1 - # via markdown isodate==0.6.1 # via azure-storage-blob l18n==2021.3 @@ -158,8 +154,6 @@ telepath==0.3.1 typing-extensions==4.6.3 # via # -r requirements/requirements.in - # anyio - # asgiref # azure-core # azure-storage-blob # dj-database-url @@ -183,8 +177,6 @@ whitenoise==6.3.0 # via -r requirements/requirements.in willow==1.6.3 # via wagtail -zipp==3.17.0 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools