Skip to content
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 .github/actions/update-precommit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
python-version:
description: 'Python version to use'
required: false
default: '3.13'
default: '3.14'

runs:
using: composite
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Install Doxygen and Graphviz
run: |
sudo apt-get update
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Install dependencies
run: |
python3 -m pip install -r requirements.txt
Expand Down
10 changes: 1 addition & 9 deletions scoreboard/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@
from jinja2 import Environment, FileSystemLoader
import logging
import sys

# Try ZoneInfo from stdlib, then from backports, else fall back to naive time
try:
from zoneinfo import ZoneInfo # type: ignore
except Exception: # pragma: no cover - fallback for Python < 3.9
try:
from backports.zoneinfo import ZoneInfo # type: ignore
except Exception: # Last resort: define a stub
ZoneInfo = None # type: ignore
from zoneinfo import ZoneInfo # type: ignore

logging.basicConfig(level=logging.INFO, format="%(levelname)s: %(message)s")
logger = logging.getLogger(__name__)
Expand Down
1 change: 0 additions & 1 deletion scoreboard/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Jinja2>=3.0
PyYAML>=6.0
backports.zoneinfo; python_version < "3.9"
Loading