From e48ce6c301fff7dcd315afab322c6f5365fa5e1b Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 24 Oct 2024 01:02:25 +0200 Subject: [PATCH 1/5] Chore: Update .gitignore to ignore all virtualenvs --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 5813b6e..6860b5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.venv* .vscode/ .cache .idea From 87e22481e8ea3bf04723acd300b24314538a3753 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 24 Oct 2024 01:02:49 +0200 Subject: [PATCH 2/5] Docs: Clean up docs/requirements.txt. It just needs Sphinx and friends. --- docs/requirements.txt | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index ec15709..7f900b9 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,48 +1,7 @@ alabaster==0.7.12 -appdirs==1.4.3 -atomicwrites==1.2.1 -attrs==18.2.0 -babel==2.6.0 -black==18.9b0 -bleach==3.1.4 -certifi==2018.8.24 -cffi==1.11.5 -chardet==3.0.4 -click==7.0 -cmarkgfm==0.4.2 -colorama==0.4.0 ; sys_platform == 'win32' docutils==0.14 -flake8==3.5.0 -flask==1.0.2 -future==0.16.0 -idna==2.7 -imagesize==1.1.0 -itsdangerous==0.24 jinja2==2.10 markupsafe==1.0 -mccabe==0.6.1 -more-itertools==4.3.0 -packaging==18.0 -pkginfo==1.4.2 -pluggy==0.7.1 -py==1.7.0 -pycodestyle==2.3.1 -pycparser==2.19 -pyflakes==1.6.0 -pygments==2.2.0 -pyparsing==2.2.2 -pytest==3.8.2 -pytz==2018.5 readme-renderer==22.0 -requests-toolbelt==0.8.0 -requests==2.19.1 -six==1.11.0 -snowballstemmer==1.2.1 sphinx==1.8.1 sphinxcontrib-websupport==1.1.0 -toml==0.10.0 -tqdm==4.26.0 -twine==1.12.1 -urllib3==1.23 -webencodings==0.5.1 -werkzeug==0.15.5 From 48d082e6a58816a3b327c00f110e6acb5eacc04c Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 24 Oct 2024 01:04:38 +0200 Subject: [PATCH 3/5] Docs: Use relaxed upper-bound dependency pinning for Sphinx dependencies --- docs/requirements.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 7f900b9..14600ff 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,7 @@ -alabaster==0.7.12 -docutils==0.14 -jinja2==2.10 -markupsafe==1.0 -readme-renderer==22.0 -sphinx==1.8.1 -sphinxcontrib-websupport==1.1.0 +alabaster<0.8 +docutils<0.15 +jinja2<2.11 +markupsafe<1.1 +readme-renderer<23 +sphinx<2 +sphinxcontrib-websupport<1.2 From 5d3e650901c15cfe495b0d0b44c72997175a26cc Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 24 Oct 2024 01:13:22 +0200 Subject: [PATCH 4/5] Docs: Update dependencies, fixing the build on Python 3.11 --- docs/requirements.txt | 5 ++--- docs/source/conf.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 14600ff..3c54ed4 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,6 @@ alabaster<0.8 -docutils<0.15 jinja2<2.11 -markupsafe<1.1 +markupsafe<2 readme-renderer<23 -sphinx<2 +sphinx>=5,<6 sphinxcontrib-websupport<1.2 diff --git a/docs/source/conf.py b/docs/source/conf.py index d1745d7..b0e35af 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -76,7 +76,7 @@ master_doc = "index" # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. From 1fd9a682dda9704ba9235769cb85cb4028879570 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 24 Oct 2024 01:17:54 +0200 Subject: [PATCH 5/5] Docs: Fix broken links --- docs/source/index.rst | 6 +++--- docs/source/tour.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index d6221c9..88683e4 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -8,8 +8,8 @@ A familiar HTTP Service Framework |Build Status| |image1| |image2| |image3| |image4| |image5| -.. |Build Status| image:: https://travis-ci.org/kennethreitz/responder.svg?branch=master - :target: https://travis-ci.org/kennethreitz/responder +.. |Build Status| image:: https://github.com/kennethreitz/responder/actions/workflows/test.yaml/badge.svg + :target: https://github.com/kennethreitz/responder/actions/workflows/test.yaml .. |image1| image:: https://img.shields.io/pypi/v/responder.svg :target: https://pypi.org/project/responder/ .. |image2| image:: https://img.shields.io/pypi/l/responder.svg @@ -83,7 +83,7 @@ Testimonials .. _Django REST Framework: https://www.django-rest-framework.org/ -.. _Two Scoops of Django: https://www.twoscoopspress.com/products/two-scoops-of-django-1-11 +.. _Two Scoops of Django: https://www.feldroy.com/two-scoops-press#two-scoops-of-django User Guides ----------- diff --git a/docs/source/tour.rst b/docs/source/tour.rst index 9c16ede..256e7bf 100644 --- a/docs/source/tour.rst +++ b/docs/source/tour.rst @@ -283,7 +283,7 @@ Supported directives: * ``secure`` - Defaults to ``False``. * ``httponly`` - Defaults to ``True``. -For more information see `directives `_ +For more information see `directives `_ Using Cookie-Based Sessions