Skip to content

Commit

Permalink
Upgrade Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Jun 13, 2024
1 parent ac0f818 commit 6e387e3
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 96 deletions.
2 changes: 1 addition & 1 deletion .cookiecutter/cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"package_name": "test_pyapp",
"slug": "test-pyapp",
"short_description": "A test app for our pyapp cookiecutter.",
"python_version": "3.10.6",
"python_version": "3.11.9",
"github_owner": "hypothesis",
"visibility": "public",
"copyright_holder": "Hypothesis",
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand All @@ -46,7 +46,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand All @@ -112,7 +112,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.6
3.11.9
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10.11-alpine3.16
FROM python:3.11.9-alpine3.20

RUN apk add --no-cache nginx supervisor

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<a href="https://github.com/hypothesis/test-pyapp/actions/workflows/ci.yml?query=branch%3Amain"><img src="https://img.shields.io/github/actions/workflow/status/hypothesis/test-pyapp/ci.yml?branch=main"></a>
<a><img src="https://img.shields.io/badge/python-3.10-success"></a>
<a><img src="https://img.shields.io/badge/python-3.11-success"></a>
<a href="https://github.com/hypothesis/test-pyapp/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-BSD--2--Clause-success"></a>
<a href="https://github.com/hypothesis/cookiecutters/tree/main/pyapp"><img src="https://img.shields.io/badge/cookiecutter-pyapp-success"></a>
<a href="https://black.readthedocs.io/en/stable/"><img src="https://img.shields.io/badge/code%20style-black-000000"></a>
Expand Down
2 changes: 1 addition & 1 deletion bin/make_python
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ -n "${CI+x}" ]; then exit; fi

pyenv_root=$(pyenv root)

for python_version in 3.10.6; do
for python_version in 3.11.9; do
bin_dir=$pyenv_root/versions/$python_version/bin
if [ ! -f "$bin_dir"/tox ]; then
pyenv install --skip-existing "$python_version"
Expand Down
10 changes: 1 addition & 9 deletions requirements/checkformatting.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/checkformatting.in
Expand Down Expand Up @@ -36,14 +36,6 @@ pyproject-hooks==1.0.0
# via
# build
# pip-tools
tomli==2.0.1
# via
# black
# build
# pip-tools
# pyproject-hooks
typing-extensions==4.8.0
# via black
wheel==0.38.4
# via pip-tools
zipp==3.15.0
Expand Down
8 changes: 1 addition & 7 deletions requirements/coverage.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/coverage.in
Expand All @@ -26,12 +26,6 @@ pyproject-hooks==1.0.0
# via
# build
# pip-tools
tomli==2.0.1
# via
# build
# coverage
# pip-tools
# pyproject-hooks
wheel==0.38.4
# via pip-tools
zipp==3.15.0
Expand Down
9 changes: 1 addition & 8 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/dev.in
Expand All @@ -12,8 +12,6 @@ click==8.1.3
# via pip-tools
decorator==5.1.1
# via ipython
exceptiongroup==1.1.3
# via ipython
executing==1.2.0
# via stack-data
factory-boy==3.3.0
Expand Down Expand Up @@ -64,11 +62,6 @@ stack-data==0.6.1
# via ipython
supervisor==4.2.5
# via -r requirements/dev.in
tomli==2.0.1
# via
# build
# pip-tools
# pyproject-hooks
traitlets==5.14.1
# via
# ipython
Expand Down
10 changes: 1 addition & 9 deletions requirements/format.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/format.in
Expand Down Expand Up @@ -36,14 +36,6 @@ pyproject-hooks==1.0.0
# via
# build
# pip-tools
tomli==2.0.1
# via
# black
# build
# pip-tools
# pyproject-hooks
typing-extensions==4.8.0
# via black
wheel==0.38.4
# via pip-tools
zipp==3.15.0
Expand Down
10 changes: 1 addition & 9 deletions requirements/functests.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/functests.in
Expand All @@ -8,8 +8,6 @@ build==1.2.1
# via pip-tools
click==8.1.3
# via pip-tools
exceptiongroup==1.0.2
# via pytest
factory-boy==3.3.0
# via
# -r requirements/functests.in
Expand Down Expand Up @@ -57,12 +55,6 @@ python-dateutil==2.8.2
# via faker
six==1.16.0
# via python-dateutil
tomli==2.0.1
# via
# build
# pip-tools
# pyproject-hooks
# pytest
typing-extensions==4.7.1
# via pytest-factoryboy
wheel==0.38.4
Expand Down
18 changes: 1 addition & 17 deletions requirements/lint.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/lint.in
Expand All @@ -22,11 +22,6 @@ coverage[toml]==7.3.1
# pytest-cov
dill==0.3.6
# via pylint
exceptiongroup==1.0.2
# via
# -r requirements/functests.txt
# -r requirements/tests.txt
# pytest
factory-boy==3.3.0
# via
# -r requirements/functests.txt
Expand Down Expand Up @@ -139,23 +134,12 @@ snowballstemmer==2.2.0
# via pydocstyle
toml==0.10.2
# via -r requirements/lint.in
tomli==2.0.1
# via
# -r requirements/functests.txt
# -r requirements/tests.txt
# build
# coverage
# pip-tools
# pylint
# pyproject-hooks
# pytest
tomlkit==0.11.6
# via pylint
typing-extensions==4.7.1
# via
# -r requirements/functests.txt
# -r requirements/tests.txt
# astroid
# pytest-factoryboy
wheel==0.38.4
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements/prod.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/prod.in
Expand Down
13 changes: 4 additions & 9 deletions requirements/template.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/template.in
Expand All @@ -21,7 +21,7 @@ click==8.1.3
# cookiecutter
# pip-tools
cookiecutter==2.6.0
# via -r template.in
# via -r requirements/template.in
idna==3.7
# via requests
importlib-metadata==6.6.0
Expand All @@ -37,10 +37,10 @@ mdurl==0.1.2
packaging==21.3
# via build
pip-sync-faster==0.0.3
# via -r template.in
# via -r requirements/template.in
pip-tools==7.4.1
# via
# -r template.in
# -r requirements/template.in
# pip-sync-faster
pygments==2.16.1
# via rich
Expand All @@ -64,11 +64,6 @@ six==1.16.0
# via python-dateutil
text-unidecode==1.3
# via python-slugify
tomli==2.0.1
# via
# build
# pip-tools
# pyproject-hooks
urllib3==1.26.18
# via requests
wheel==0.38.4
Expand Down
11 changes: 1 addition & 10 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/tests.in
Expand All @@ -10,8 +10,6 @@ click==8.1.3
# via pip-tools
coverage[toml]==7.3.1
# via pytest-cov
exceptiongroup==1.0.2
# via pytest
factory-boy==3.3.0
# via
# -r requirements/tests.in
Expand Down Expand Up @@ -66,13 +64,6 @@ python-dateutil==2.8.2
# freezegun
six==1.16.0
# via python-dateutil
tomli==2.0.1
# via
# build
# coverage
# pip-tools
# pyproject-hooks
# pytest
typing-extensions==4.7.1
# via pytest-factoryboy
wheel==0.38.4
Expand Down
7 changes: 1 addition & 6 deletions requirements/typecheck.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/typecheck.in
Expand All @@ -26,11 +26,6 @@ pyproject-hooks==1.1.0
# via
# build
# pip-tools
tomli==2.0.1
# via
# build
# mypy
# pip-tools
typing-extensions==4.9.0
# via mypy
wheel==0.43.0
Expand Down

0 comments on commit 6e387e3

Please sign in to comment.