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

Update python to 3.11 #710

Merged
merged 5 commits into from
Jan 18, 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
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

# Install system build and runtime dependencies.
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ filterwarnings = [
"ignore:^pkg_resources is deprecated as an API:DeprecationWarning:pkg_resources",
"ignore:^Deprecated call to .pkg_resources\\.declare_namespace\\('.*'\\).\\.:DeprecationWarning:pkg_resources",
"ignore:^pkg_resources is deprecated as an API.:DeprecationWarning:pyramid",
# https://github.com/webpy/webpy/issues/732
"ignore:^\\'cgi\\' is deprecated and slated for removal in Python 3\\.13:DeprecationWarning:webob",

]

[tool.hdev]
Expand Down
40 changes: 19 additions & 21 deletions requirements/checkformatting.txt
Original file line number Diff line number Diff line change
@@ -1,48 +1,46 @@
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/checkformatting.in
#
black==23.12.1
# via -r requirements/checkformatting.in
build==0.8.0
build==1.0.3
# via pip-tools
click==8.1.3
click==8.1.7
# via
# black
# pip-tools
importlib-metadata==4.12.0
importlib-metadata==7.0.1
# via pip-sync-faster
isort==5.13.2
# via -r requirements/checkformatting.in
mypy-extensions==0.4.3
mypy-extensions==1.0.0
# via black
packaging==23.0
packaging==23.2
# via
# black
# build
pathspec==0.9.0
pathspec==0.12.1
# via black
pep517==0.13.0
# via build
pip-sync-faster==0.0.3
# via -r requirements/checkformatting.in
pip-tools==7.3.0
# via
# -r requirements/checkformatting.in
# pip-sync-faster
platformdirs==2.5.2
platformdirs==4.1.0
# via black
tomli==2.0.1
# via
# black
# build
# pep517
# pip-tools
typing-extensions==4.3.0
# via black
wheel==0.38.1
pyproject-hooks==1.0.0
# via build
wheel==0.42.0
# via pip-tools
zipp==3.8.1
zipp==3.17.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
pip==23.3.2
# via pip-tools
setuptools==69.0.3
# via pip-tools
33 changes: 16 additions & 17 deletions requirements/coverage.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe requirements/coverage.in
#
build==0.8.0
build==1.0.3
# via pip-tools
click==8.1.3
click==8.1.7
# via pip-tools
coverage==7.4.0
# via -r requirements/coverage.in
importlib-metadata==4.12.0
importlib-metadata==7.0.1
# via pip-sync-faster
packaging==21.3
# via build
pep517==0.13.0
packaging==23.2
# via build
pip-sync-faster==0.0.3
# via -r requirements/coverage.in
pip-tools==7.3.0
# via
# -r requirements/coverage.in
# pip-sync-faster
pyparsing==3.0.9
# via packaging
tomli==2.0.1
# via
# build
# pep517
# pip-tools
wheel==0.38.1
pyproject-hooks==1.0.0
# via build
wheel==0.42.0
# via pip-tools
zipp==3.8.1
zipp==3.17.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
pip==23.3.2
# via pip-tools
setuptools==69.0.3
# via pip-tools
146 changes: 66 additions & 80 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,183 +1,169 @@
#
# 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
#
asttokens==2.0.5
asttokens==2.4.1
# via stack-data
backcall==0.2.0
# via ipython
build==0.8.0
build==1.0.3
# via pip-tools
certifi==2023.11.17
# via
# -r requirements.txt
# -r requirements/requirements.txt
# requests
# sentry-sdk
charset-normalizer==2.0.1
charset-normalizer==3.3.2
# via
# -r requirements.txt
# -r requirements/requirements.txt
# requests
click==8.1.3
click==8.1.7
# via pip-tools
decorator==5.0.7
decorator==5.1.1
# via
# ipdb
# ipython
elasticsearch==6.3.1
# via -r requirements.txt
executing==0.8.2
# via -r requirements/requirements.txt
executing==2.0.1
# via stack-data
gunicorn==21.2.0
# via -r requirements.txt
# via -r requirements/requirements.txt
h-pyramid-sentry==1.2.4
# via -r requirements.txt
hupper==1.10.2
# via -r requirements/requirements.txt
hupper==1.12
# via
# -r requirements.txt
# -r requirements/requirements.txt
# pyramid
idna==2.10
idna==3.6
# via
# -r requirements.txt
# -r requirements/requirements.txt
# requests
importlib-metadata==4.12.0
importlib-metadata==7.0.1
# via pip-sync-faster
ipdb==0.13.13
# via -r dev.in
ipython==8.12.3
# via -r requirements/dev.in
ipython==8.20.0
# via
# -r dev.in
# -r requirements/dev.in
# ipdb
ipython-genutils==0.2.0
# via traitlets
jedi==0.18.0
jedi==0.19.1
# via ipython
jinja2==3.1.3
# via
# -r requirements.txt
# -r requirements/requirements.txt
# pyramid-jinja2
markupsafe==2.1.3
# via
# -r requirements.txt
# -r requirements/requirements.txt
# jinja2
# pyramid-jinja2
matplotlib-inline==0.1.2
matplotlib-inline==0.1.6
# via ipython
newrelic==9.4.0
# via -r requirements.txt
packaging==23.1
newrelic==9.5.0
# via -r requirements/requirements.txt
packaging==23.2
# via
# -r requirements.txt
# -r requirements/requirements.txt
# build
# gunicorn
parso==0.8.2
parso==0.8.3
# via jedi
pastedeploy==2.1.0
pastedeploy==3.1.0
# via
# -r requirements.txt
# -r requirements/requirements.txt
# plaster-pastedeploy
pep517==0.13.0
# via build
pexpect==4.8.0
# via ipython
pickleshare==0.7.5
pexpect==4.9.0
# via ipython
pip-sync-faster==0.0.3
# via -r dev.in
# via -r requirements/dev.in
pip-tools==7.3.0
# via
# -r dev.in
# -r requirements/dev.in
# pip-sync-faster
plaster==1.0
plaster==1.1.2
# via
# -r requirements.txt
# -r requirements/requirements.txt
# plaster-pastedeploy
# pyramid
plaster-pastedeploy==0.7
plaster-pastedeploy==1.0.1
# via
# -r requirements.txt
# -r requirements/requirements.txt
# pyramid
prompt-toolkit==3.0.36
prompt-toolkit==3.0.43
# via ipython
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.1
pure-eval==0.2.2
# via stack-data
pygments==2.15.0
pygments==2.17.2
# via ipython
pyproject-hooks==1.0.0
# via build
pyramid==2.0.2
# via
# -r requirements.txt
# -r requirements/requirements.txt
# h-pyramid-sentry
# pyramid-jinja2
pyramid-jinja2==2.10
# via -r requirements.txt
# via -r requirements/requirements.txt
requests==2.31.0
# via -r requirements.txt
sentry-sdk==1.14.0
# via -r requirements/requirements.txt
sentry-sdk==1.39.2
# via
# -r requirements.txt
# -r requirements/requirements.txt
# h-pyramid-sentry
six==1.16.0
# via asttokens
stack-data==0.1.3
stack-data==0.6.3
# via ipython
supervisor==4.2.5
# via -r dev.in
tomli==2.0.1
# via
# build
# ipdb
# pep517
# pip-tools
traitlets==5.0.5
# via -r requirements/dev.in
traitlets==5.14.1
# via
# ipython
# matplotlib-inline
translationstring==1.4
# via
# -r requirements.txt
# -r requirements/requirements.txt
# pyramid
typing-extensions==4.5.0
# via ipython
urllib3==1.26.18
urllib3==2.1.0
# via
# -r requirements.txt
# -r requirements/requirements.txt
# elasticsearch
# requests
# sentry-sdk
venusian==3.0.0
venusian==3.1.0
# via
# -r requirements.txt
# -r requirements/requirements.txt
# pyramid
wcwidth==0.2.5
wcwidth==0.2.13
# via prompt-toolkit
webob==1.8.6
webob==1.8.7
# via
# -r requirements.txt
# -r requirements/requirements.txt
# pyramid
wheel==0.38.1
wheel==0.42.0
# via pip-tools
zipp==3.8.1
zipp==3.17.0
# via importlib-metadata
zope-deprecation==4.4.0
zope-deprecation==5.0
# via
# -r requirements.txt
# -r requirements/requirements.txt
# pyramid
# pyramid-jinja2
zope-interface==4.7.2
zope-interface==6.1
# via
# -r requirements.txt
# -r requirements/requirements.txt
# pyramid

# The following packages are considered to be unsafe in a requirements file:
pip==23.3.2
# via pip-tools
setuptools==69.0.3
# via
# -r requirements/requirements.txt
# pip-tools
# plaster
# pyramid
# supervisor
# zope-deprecation
Expand Down
Loading