diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06d65f9..736bcda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: "3.10" + python-version: "3.11" - name: Install Python packages run: | pip install --upgrade pip diff --git a/{{ cookiecutter.project_slug }}/.github/workflows/ci.yml b/{{ cookiecutter.project_slug }}/.github/workflows/ci.yml index 42b5777..965903e 100644 --- a/{{ cookiecutter.project_slug }}/.github/workflows/ci.yml +++ b/{{ cookiecutter.project_slug }}/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: "3.10" + python-version: "3.11" - name: Install tox run: | pip install --upgrade pip diff --git a/{{ cookiecutter.project_slug }}/README.md b/{{ cookiecutter.project_slug }}/README.md index f99e471..43eef7c 100644 --- a/{{ cookiecutter.project_slug }}/README.md +++ b/{{ cookiecutter.project_slug }}/README.md @@ -26,7 +26,7 @@ but allows developers to run Python code on their native system. ### Initial Setup 1. Run `docker-compose -f ./docker-compose.yml up -d` -2. Install Python 3.10 +2. Install Python 3.11 3. Install [`psycopg2` build prerequisites](https://www.psycopg.org/docs/install.html#build-prerequisites) 4. Create and activate a new Python virtualenv diff --git a/{{ cookiecutter.project_slug }}/dev/django.Dockerfile b/{{ cookiecutter.project_slug }}/dev/django.Dockerfile index 1fbe743..e4f1132 100644 --- a/{{ cookiecutter.project_slug }}/dev/django.Dockerfile +++ b/{{ cookiecutter.project_slug }}/dev/django.Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim +FROM python:3.11-slim # Install system libraries for Python packages: # * psycopg2 RUN apt-get update && \ diff --git a/{{ cookiecutter.project_slug }}/runtime.txt b/{{ cookiecutter.project_slug }}/runtime.txt index a5da7cc..546f3c8 100644 --- a/{{ cookiecutter.project_slug }}/runtime.txt +++ b/{{ cookiecutter.project_slug }}/runtime.txt @@ -1 +1 @@ -python-3.10.5 +python-3.11.9 diff --git a/{{ cookiecutter.project_slug }}/setup.py b/{{ cookiecutter.project_slug }}/setup.py index ec742fd..1f7300a 100644 --- a/{{ cookiecutter.project_slug }}/setup.py +++ b/{{ cookiecutter.project_slug }}/setup.py @@ -29,10 +29,10 @@ 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Programming Language :: Python', ], - python_requires='>=3.10', + python_requires='>=3.11', packages=find_packages(), include_package_data=True, install_requires=[