Skip to content

Commit cb29334

Browse files
authored
Merge pull request #573 from donny-wong/v2.6.0
V2.6.0
2 parents d1ed0a1 + cc88ced commit cb29334

File tree

13 files changed

+34
-40
lines changed

13 files changed

+34
-40
lines changed

.github/workflows/test_ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,23 @@ jobs:
99
strategy:
1010
matrix:
1111
python-version:
12-
- 3.7
13-
- 3.8
14-
- 3.9
15-
- '3.10'
1612
- 3.11
1713
- 3.12
14+
- 3.13
1815
test-dir:
1916
- client
2017
- server
2118
name: ${{ matrix.test-dir }} tests with python ${{ matrix.python-version }}
2219
env:
2320
AUTOTESTER_CONFIG: server/autotest_server/tests/fixtures/test_config.yml
2421
steps:
25-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2623
- name: Setup python
27-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v5
2825
with:
2926
python-version: ${{ matrix.python-version }}
3027
- name: Cache pip
31-
uses: actions/cache@v2
28+
uses: actions/cache@v4
3229
with:
3330
path: ~/.cache/pip
3431
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 24.8.0
3+
rev: 24.10.0
44
hooks:
55
- id: black
66
- repo: https://github.com/pycqa/flake8

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# CHANGELOG
22
All notable changes to this project will be documented here.
33

4+
## [v2.6.0]
5+
- Update python versions in docker file (#568)
6+
- Update Github Actions config to use Python 3.11-3.13 and update action versions (#569)
7+
48
## [v2.5.2]
59
- Haskell Tests - allow displaying of compilation errors (#554)
610
- Add status api for monitoring if Gunicorn is down (#555)

client/.dockerfiles/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG UBUNTU_VERSION
1+
ARG UBUNTU_VERSION=22.04
22

33
FROM ubuntu:$UBUNTU_VERSION
44

client/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ flask==2.2.5;python_version<"3.8"
22
flask==3.0.3;python_version>="3.8"
33
python-dotenv==0.21.1;python_version<"3.8"
44
python-dotenv==1.0.1;python_version>="3.8"
5-
rq==1.16.2
6-
redis==5.0.4
5+
rq==2.0.0
6+
redis==5.2.0
77
jsonschema==4.17.3;python_version<"3.8"
8-
jsonschema==4.22.0;python_version>="3.8"
8+
jsonschema==4.23.0;python_version>="3.8"
99
Werkzeug==2.2.3;python_version<"3.8"
10-
Werkzeug==3.0.3;python_version>="3.8"
10+
Werkzeug==3.1.3;python_version>="3.8"
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.7'
2-
31
services:
42
server:
53
build:
@@ -9,7 +7,7 @@ services:
97
UBUNTU_VERSION: '22.04'
108
LOGIN_USER: 'docker'
119
WORKSPACE: '/home/docker/.autotesting'
12-
image: markus-autotest-server-dev:1.1.0
10+
image: markus-autotest-server-dev:1.2.0
1311
volumes:
1412
- ./server:/app:cached
1513
- workspace:/home/docker/.autotesting:rw
@@ -29,7 +27,7 @@ services:
2927
dockerfile: ./.dockerfiles/Dockerfile
3028
args:
3129
UBUNTU_VERSION: '22.04'
32-
image: markus-autotest-client-dev:1.1.0
30+
image: markus-autotest-client-dev:1.2.0
3331
container_name: 'autotest-client'
3432
volumes:
3533
- ./client:/app:cached
@@ -46,7 +44,7 @@ services:
4644
- markus_dev
4745

4846
postgres:
49-
image: postgres:10
47+
image: postgres:14
5048
volumes:
5149
- postgres_autotest:/var/lib/postgresql/data
5250
environment:
@@ -56,7 +54,7 @@ services:
5654
- '45432:5432'
5755

5856
redis:
59-
image: redis:3.2-alpine
57+
image: redis:7
6058
volumes:
6159
- redis_autotest:/data
6260
ports:

server/.dockerfiles/Dockerfile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ARG UBUNTU_VERSION
1+
ARG UBUNTU_VERSION=22.04
22

3-
FROM ubuntu:$UBUNTU_VERSION as base
3+
FROM ubuntu:$UBUNTU_VERSION AS base
44

55

66
ARG LOGIN_USER
@@ -9,18 +9,12 @@ ARG WORKSPACE
99
RUN apt-get update -y && \
1010
DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common && \
1111
DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:deadsnakes/ppa && \
12-
DEBIAN_FRONTEND=noninteractive apt-get -y install python3.7 \
13-
python3.7-venv \
14-
python3.8 \
15-
python3.8-venv \
16-
python3.9 \
17-
python3.9-venv \
18-
python3.10 \
19-
python3.10-venv \
20-
python3.11 \
12+
DEBIAN_FRONTEND=noninteractive apt-get -y install python3.11 \
2113
python3.11-venv \
2214
python3.12 \
2315
python3.12-venv \
16+
python3.13 \
17+
python3.13-venv \
2418
redis-server \
2519
postgresql-client \
2620
libpq-dev \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pytest==7.1.2
2-
psycopg2-binary==2.9.3
2+
psycopg2-binary==2.9.10
33
git+https://github.com/MarkUsProject/autotest-helpers.git#subdirectory=notebook_helper

server/autotest_server/testers/jupyter/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def create_environment(settings_, env_dir, _default_env_dir):
1818
def settings():
1919
with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), "settings_schema.json")) as f:
2020
settings_ = json.load(f)
21-
py_versions = [f"3.{x}" for x in range(7, 13) if shutil.which(f"python3.{x}")]
21+
py_versions = [f"3.{x}" for x in range(11, 14) if shutil.which(f"python3.{x}")]
2222
python_versions = settings_["properties"]["env_data"]["properties"]["python_version"]
2323
python_versions["enum"] = py_versions
2424
python_versions["default"] = py_versions[-1]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pytest==7.1.2
2-
psycopg2-binary==2.9.3
2+
psycopg2-binary==2.9.10

0 commit comments

Comments
 (0)