From f531a45d04aa8696ca3c7e86e5f41d2b2d0c5f8c Mon Sep 17 00:00:00 2001 From: FriedrichFroebel Date: Wed, 24 Jul 2024 18:28:56 +0200 Subject: [PATCH] include cgi.py --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28ddb4c..eb43c00 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,11 @@ jobs: - name: install package run: | python -m pip install .[dev,mypy] + # Bottle still depends on the old `cgi` module removed in Python 3.13, + # thus provide it here. + - name: prepare cgi module (Python 3.13) + run: | + wget https://github.com/python/cpython/raw/3.12/Lib/cgi.py - name: run tests run: python -m unittest discover --verbose --start-directory tests