Skip to content

Commit

Permalink
Merge pull request #389 from knatten/django-5
Browse files Browse the repository at this point in the history
Upgrade to Django 5
  • Loading branch information
knatten authored Feb 21, 2025
2 parents 1ba994b + e7ad929 commit a48c5ae
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.13
- name: Setup
run: ./ci/setup.sh
- name: Check formatting
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and is not available in this repository.)
![Build Status](https://github.com/knatten/cppquiz/actions/workflows/ci.yml/badge.svg)

# Requirements
- Python 3.9 or higher
- Python 3.10 or higher
- CppQuiz is only tested on Ubuntu and MacOS, but will probably work on many other OSes as well

# Contributing
Expand Down
2 changes: 1 addition & 1 deletion ci/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if [ "$1" == "--fix" ]; then
autopep8 --in-place --recursive --exclude $EXCLUDES . || exit $?
fi

autopep8 --diff --recursive --exit-code --exclude $EXCLUDES . || exit $?
autopep8 --verbose --diff --recursive --exit-code --exclude $EXCLUDES . || exit $?
2 changes: 1 addition & 1 deletion quiz/templatetags/quiz_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def compiler_explorer_link(question):
"clang": {
"compiler": "clang_trunk",
"options": f"-std={settings.CPP_STD.lower()} -stdlib=libc++ -Wall -Wextra -Wno-unused"
" -Wno-unused-parameter -Wunused-result -Wunused-value"
" -Wno-unused-parameter -Wunused-result -Wunused-value"
},
"msvc": {
"compiler": "vcpp_v19_latest_x64",
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django>=4.1,<5
Django>=5,<6
Markdown
pymdown-extensions
mock
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ click==8.1.8
# via pip-tools
cssselect==1.2.0
# via splinter
django==4.2.19
django==5.1.6
# via
# -r requirements.in
# splinter
Expand Down

0 comments on commit a48c5ae

Please sign in to comment.