Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade python to 3.11 #405

Merged
merged 2 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cookiecutter/cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"package_name": "h_periodic",
"slug": "h-periodic",
"short_description": "Celery beat processes for Hypothesis apps.",
"python_version": "3.8.12",
"python_version": "3.11.7",
"github_owner": "hypothesis",
"visibility": "public",
"copyright_holder": "Hypothesis",
Expand All @@ -34,4 +34,4 @@
},
"__copyright_year": "2022"
}
}
}
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand All @@ -89,7 +89,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'
- name: Cache the .tox dir
uses: actions/cache@v3
with:
Expand All @@ -110,7 +110,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
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.8.12
3.11.7
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8.12-alpine3.13
FROM python:3.11.7-alpine3.19
MAINTAINER Hypothes.is Project and contributors

# Create the h-periodic user, group, home directory and package directory.
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/h-periodic/actions/workflows/ci.yml?query=branch%3Amain"><img src="https://img.shields.io/github/actions/workflow/status/hypothesis/h-periodic/ci.yml?branch=main"></a>
<a><img src="https://img.shields.io/badge/python-3.8-success"></a>
<a><img src="https://img.shields.io/badge/python-3.11-success"></a>
<a href="https://github.com/hypothesis/h-periodic/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.8.12; do
for python_version in 3.11.7; do
bin_dir=$pyenv_root/versions/$python_version/bin
if [ ! -f "$bin_dir"/tox ]; then
pyenv install --skip-existing "$python_version"
Expand Down
14 changes: 2 additions & 12 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.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/checkformatting.in
Expand All @@ -13,9 +13,7 @@ click==8.1.7
# black
# pip-tools
importlib-metadata==7.0.1
# via
# build
# pip-sync-faster
# via pip-sync-faster
isort==5.13.2
# via -r requirements/checkformatting.in
mypy-extensions==1.0.0
Expand All @@ -36,14 +34,6 @@ platformdirs==4.1.0
# via black
pyproject-hooks==1.0.0
# via build
tomli==2.0.1
# via
# black
# build
# pip-tools
# pyproject-hooks
typing-extensions==4.9.0
# via black
wheel==0.42.0
# via pip-tools
zipp==3.17.0
Expand Down
12 changes: 2 additions & 10 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.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/coverage.in
Expand All @@ -11,9 +11,7 @@ click==8.1.7
coverage[toml]==7.4.0
# via -r requirements/coverage.in
importlib-metadata==7.0.1
# via
# build
# pip-sync-faster
# via pip-sync-faster
packaging==23.2
# via build
pip-sync-faster==0.0.3
Expand All @@ -24,12 +22,6 @@ pip-tools==7.3.0
# pip-sync-faster
pyproject-hooks==1.0.0
# via build
tomli==2.0.1
# via
# build
# coverage
# pip-tools
# pyproject-hooks
wheel==0.42.0
# via pip-tools
zipp==3.17.0
Expand Down
30 changes: 3 additions & 27 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.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/dev.in
Expand All @@ -10,14 +10,6 @@ amqp==5.2.0
# kombu
asttokens==2.4.1
# via stack-data
backcall==0.2.0
# via ipython
backports-zoneinfo[tzdata]==0.2.1
# via
# -r requirements/prod.txt
# backports-zoneinfo
# celery
# kombu
billiard==4.2.0
# via
# -r requirements/prod.txt
Expand Down Expand Up @@ -59,10 +51,8 @@ factory-boy==3.3.0
faker==22.0.0
# via factory-boy
importlib-metadata==7.0.1
# via
# build
# pip-sync-faster
ipython==8.12.3
# via pip-sync-faster
ipython==8.20.0
# via -r requirements/dev.in
jedi==0.19.1
# via ipython
Expand All @@ -78,8 +68,6 @@ parso==0.8.3
# via jedi
pexpect==4.9.0
# via ipython
pickleshare==0.7.5
# via ipython
pip-sync-faster==0.0.3
# via -r requirements/dev.in
pip-tools==7.3.0
Expand Down Expand Up @@ -117,25 +105,13 @@ supervisor==4.2.5
# via
# -r requirements/dev.in
# -r requirements/prod.txt
tomli==2.0.1
# via
# build
# pip-tools
# pyproject-hooks
traitlets==5.14.1
# via
# ipython
# matplotlib-inline
typing-extensions==4.9.0
# via
# -r requirements/prod.txt
# faker
# ipython
# kombu
tzdata==2023.4
# via
# -r requirements/prod.txt
# backports-zoneinfo
# celery
urllib3==2.1.0
# via
Expand Down
14 changes: 2 additions & 12 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.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/format.in
Expand All @@ -13,9 +13,7 @@ click==8.1.7
# black
# pip-tools
importlib-metadata==7.0.1
# via
# build
# pip-sync-faster
# via pip-sync-faster
isort==5.13.2
# via -r requirements/format.in
mypy-extensions==1.0.0
Expand All @@ -36,14 +34,6 @@ platformdirs==4.1.0
# via black
pyproject-hooks==1.0.0
# via build
tomli==2.0.1
# via
# black
# build
# pip-tools
# pyproject-hooks
typing-extensions==4.9.0
# via black
wheel==0.42.0
# via pip-tools
zipp==3.17.0
Expand Down
27 changes: 3 additions & 24 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.8
# 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,12 +8,6 @@ amqp==5.2.0
# via
# -r requirements/prod.txt
# kombu
backports-zoneinfo[tzdata]==0.2.1
# via
# -r requirements/prod.txt
# backports-zoneinfo
# celery
# kombu
billiard==4.2.0
# via
# -r requirements/prod.txt
Expand Down Expand Up @@ -46,8 +40,6 @@ click-repl==0.3.0
# via
# -r requirements/prod.txt
# celery
exceptiongroup==1.2.0
# via pytest
factory-boy==3.3.0
# via
# -r requirements/functests.in
Expand All @@ -59,9 +51,7 @@ h-matchers==1.2.15
httpretty==1.1.4
# via -r requirements/functests.in
importlib-metadata==7.0.1
# via
# build
# pip-sync-faster
# via pip-sync-faster
inflection==0.5.1
# via pytest-factoryboy
iniconfig==2.0.0
Expand Down Expand Up @@ -107,22 +97,11 @@ six==1.16.0
# python-dateutil
supervisor==4.2.5
# via -r requirements/prod.txt
tomli==2.0.1
# via
# build
# pip-tools
# pyproject-hooks
# pytest
typing-extensions==4.9.0
# via
# -r requirements/prod.txt
# faker
# kombu
# pytest-factoryboy
# via pytest-factoryboy
tzdata==2023.4
# via
# -r requirements/prod.txt
# backports-zoneinfo
# celery
urllib3==2.1.0
# via
Expand Down
30 changes: 1 addition & 29 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.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/lint.in
Expand All @@ -11,13 +11,6 @@ amqp==5.2.0
# kombu
astroid==3.0.2
# via pylint
backports-zoneinfo[tzdata]==0.2.1
# via
# -r requirements/functests.txt
# -r requirements/tests.txt
# backports-zoneinfo
# celery
# kombu
billiard==4.2.0
# via
# -r requirements/functests.txt
Expand Down Expand Up @@ -68,11 +61,6 @@ coverage[toml]==7.4.0
# pytest-cov
dill==0.3.7
# via pylint
exceptiongroup==1.2.0
# via
# -r requirements/functests.txt
# -r requirements/tests.txt
# pytest
factory-boy==3.3.0
# via
# -r requirements/functests.txt
Expand All @@ -97,7 +85,6 @@ importlib-metadata==7.0.1
# via
# -r requirements/functests.txt
# -r requirements/tests.txt
# build
# pip-sync-faster
inflection==0.5.1
# via
Expand Down Expand Up @@ -194,32 +181,17 @@ supervisor==4.2.5
# -r requirements/tests.txt
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.12.3
# via pylint
typing-extensions==4.9.0
# via
# -r requirements/functests.txt
# -r requirements/tests.txt
# astroid
# faker
# kombu
# pylint
# pytest-factoryboy
tzdata==2023.4
# via
# -r requirements/functests.txt
# -r requirements/tests.txt
# backports-zoneinfo
# celery
urllib3==2.1.0
# via
Expand Down
Loading