File tree Expand file tree Collapse file tree 4 files changed +23
-13
lines changed Expand file tree Collapse file tree 4 files changed +23
-13
lines changed Original file line number Diff line number Diff line change 70
70
python-version : ' 3.8' # default python version in 20.04
71
71
- os : ' ubuntu-22.04'
72
72
python-version : ' 3.10' # default python version in 22.04
73
+ - os : ' ubuntu-24.04'
74
+ python-version : ' 3.12' # default python version in 22.04
73
75
74
76
steps :
75
77
- uses : actions/checkout@v4
@@ -124,13 +126,14 @@ jobs:
124
126
runs-on : ubuntu-latest
125
127
strategy :
126
128
matrix :
127
- os : ['focal', 'jammy']
129
+ os : ['focal', 'jammy', 'noble' ]
128
130
include :
129
131
- os : focal
130
132
version : ' 20.04'
131
133
- os : jammy
132
134
version : ' 22.04'
133
-
135
+ - os : noble
136
+ version : ' 24.04'
134
137
env :
135
138
DISTRO : ' ubuntu:${{ matrix.os }}'
136
139
CODE : ${{ matrix.version }}
@@ -207,7 +210,7 @@ jobs:
207
210
needs : [ build_deb ]
208
211
strategy :
209
212
matrix :
210
- version : ['20.04', '22.04']
213
+ version : ['20.04', '22.04', '24.04' ]
211
214
212
215
steps :
213
216
- uses : actions/download-artifact@v4
@@ -309,6 +312,11 @@ jobs:
309
312
with :
310
313
name : debian-22.04
311
314
315
+ - name : Download 24.04 debian artifact
316
+ uses : actions/download-artifact@v4
317
+ with :
318
+ name : debian-24.04
319
+
312
320
- name : Attach debian packages as release binaries
313
321
uses : skx/github-action-publish-binaries@master
314
322
env :
Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ 2.2.5+dev (XXXX-XX-XX)
5
+ -------------------------
6
+
7
+ * Add Ubuntu noble 24.04 support
8
+ * Change base docker image to Noble
9
+
10
+
4
11
2.2.5 (2024-10-07)
5
12
-------------------------
6
13
Original file line number Diff line number Diff line change 1
- ARG BASE_IMAGE=jammy
1
+ ARG BASE_IMAGE=noble
2
2
3
3
FROM ubuntu:${BASE_IMAGE} AS base
4
4
@@ -17,8 +17,8 @@ RUN mkdir -p /app/static /opt
17
17
RUN chown django:django /app /opt
18
18
19
19
RUN apt-get -qq update && apt-get install -qq -y \
20
- gconf-service \
21
- libasound2 \
20
+ libappindicator3-1 \
21
+ libasound2-dev \
22
22
libatk1.0-0 \
23
23
libatk-bridge2.0-0 \
24
24
libc6 \
@@ -28,7 +28,6 @@ RUN apt-get -qq update && apt-get install -qq -y \
28
28
libexpat1 \
29
29
libfontconfig1 \
30
30
libgcc1 \
31
- libgconf-2-4 \
32
31
libgdk-pixbuf2.0-0 \
33
32
libglib2.0-0 \
34
33
libgtk-3-0 \
@@ -51,7 +50,6 @@ RUN apt-get -qq update && apt-get install -qq -y \
51
50
libxtst6 \
52
51
ca-certificates \
53
52
fonts-liberation \
54
- libappindicator1 \
55
53
libnss3 \
56
54
lsb-release \
57
55
xdg-utils \
@@ -74,12 +72,9 @@ ARG NODE_ENV=production
74
72
75
73
RUN apt-get -qq update && apt-get install -qq -y \
76
74
build-essential \
77
- python3-dev python3-venv python3-distutils libmagic1 && \
75
+ python3-pip python3-dev python3-venv libmagic1 && \
78
76
apt-get clean all && rm -rf /var/apt/lists/* && rm -rf /var/cache/apt/*
79
77
80
- # install pip & requirements
81
- RUN wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py && rm get-pip.py
82
-
83
78
USER django
84
79
RUN python3 -m venv /opt/venv
85
80
RUN /opt/venv/bin/pip3 install --no-cache-dir pip setuptools wheel -U
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def test_bad_script_path(self):
63
63
def test_timeout_screenshot (self ):
64
64
# We show that we can change timeout value. It's so small, this takes more than 1ms to generate the screenshot.
65
65
# => It fails
66
- with self .assertRaisesRegexp (ScreenshotterException , 'TimeoutError: Navigation timeout of 1 ms exceeded' ):
66
+ with self .assertRaisesRegex (ScreenshotterException , 'TimeoutError: Navigation timeout of 1 ms exceeded' ):
67
67
take_screenshot ('https://www.google.fr' )
68
68
69
69
@override_settings (SCREENSHOTTER = {'BAD_SETTINGS' : 'none' })
You can’t perform that action at this time.
0 commit comments