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

fix: cgi.FieldStorage not available in Python 3.13 #1438

Merged
merged 19 commits into from
Sep 5, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore: Change actions to only test supported python versions
defnull committed Sep 5, 2024
commit f4cc5f935241e57521647820ae84ab36d219ce45
10 changes: 1 addition & 9 deletions .github/workflows/install-deps.sh
Original file line number Diff line number Diff line change
@@ -3,13 +3,5 @@ set -e
set -x

# Test utilities
pip install -U pip pytest coverage
pip install -U pytest pytest-cov mako jinja2

# Test dependencies (Server back-ends and template engines)
sudo apt-get install -y libev-dev
pip install mako jinja2

for name in waitress "cherrypy<9" cheroot paste tornado twisted diesel meinheld\
gunicorn eventlet flup bjoern gevent aiohttp-wsgi uvloop; do
pip install $name || echo "Failed to install $name with $(python -V 2>&1)" 1>&2
done
16 changes: 10 additions & 6 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -7,14 +7,18 @@ jobs:
strategy:
max-parallel: 5
matrix:
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version:
- "2.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
container:
image: "python:${{ matrix.python-version }}"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: .github/workflows/install-deps.sh
- name: Run tests
run: pytest
run: pytest . -ra -q --cov=bottle --cov-report=term