Skip to content

Commit

Permalink
Require Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh committed May 13, 2024
1 parent b0c4d93 commit 769c1c5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_slug }}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_slug }}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_slug }}/dev/django.Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_slug }}/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.10.5
python-3.11.9
4 changes: 2 additions & 2 deletions {{ cookiecutter.project_slug }}/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down

0 comments on commit 769c1c5

Please sign in to comment.