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
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
pull_request:
jobs:
main:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.7"
python-version: "3.13"
- name: sync symlinks
run: |
# Ensure symlinks are synced
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
outputs:
gocd: ${{ steps.changes.outputs.gocd }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check for relevant file changes
uses: getsentry/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
Expand All @@ -38,7 +38,7 @@ jobs:
id-token: "write"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: 'auth'
uses: google-github-actions/auth@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3.7-slim
FROM python:3.13-slim

RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential gosu \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

ENV PIP_NO_CACHE_DIR off
ENV PIP_DISABLE_PIP_VERSION_CHECK on
ENV PIP_NO_CACHE_DIR=off
ENV PIP_DISABLE_PIP_VERSION_CHECK=on

ENV \
FLASK_APP=./apiserver.py \
Expand Down
2 changes: 1 addition & 1 deletion api-server/apiserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def cache_response(response):
def set_cache_enabled(app, enable: bool):
app.config["CACHE_ENABLED"] = enable

assert type(enable) == bool
assert type(enable) is bool
if enable:
app.before_request(return_cached)
app.after_request(cache_response)
Expand Down
2 changes: 1 addition & 1 deletion api-server/requirements-base.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
flask==1.1.4
semver==2.8.1
sentry-sdk[flask]==0.9.5
uwsgi==2.0.18
uwsgi==2.0.28
mywsgi==1.0.3
Werkzeug==0.16.0
datadog==0.37.1
Expand Down
4 changes: 2 additions & 2 deletions api-server/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==4.6.4
flake8==3.7.7
pytest==8.3.4
flake8==7.1.1
Loading