Skip to content

Commit fab7fa9

Browse files
authored
chore(merge): 2.4.3 into main (#1040)
2 parents 8ee49ba + 6a95aab commit fab7fa9

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

craft_parts/utils/process.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def run(
151151

152152
with closing(BytesIO()) as combined_io:
153153
while True:
154+
finished = proc.poll() is not None
154155
try:
155156
# Time out if we don't have any event to handle
156157
for key, mask in selector.select(0.1):
@@ -164,7 +165,7 @@ def run(
164165
except BlockingIOError:
165166
pass
166167

167-
if proc.poll() is not None:
168+
if finished:
168169
combined = combined_io.getvalue()
169170
break
170171

docs/common/craft-parts/craft-parts.wordlist.txt

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ CMakeLists
3030
CMakePlugin
3131
CMakePluginProperties
3232
CPAN
33+
CVE
3334
CallbackHook
3435
CallbackRegistrationError
3536
CalledProcessError
@@ -386,6 +387,7 @@ iterable
386387
iojs
387388
jdeps
388389
jdk
390+
jinja
389391
jlink
390392
jre
391393
js

docs/reference/changelog.rst

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ Bug fixes:
1616
only finding JAR files in the top-level directory. It now searches all
1717
subdirectories too.
1818

19+
2.4.3 (2025-03-11)
20+
------------------
21+
22+
Bug fixes:
23+
24+
- Address race condition when collecting subprocess output.
25+
- Update jinja2 dependency to address CVE-2025-27516
26+
1927
2.4.2 (2025-03-04)
2028
------------------
2129

docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,4 +346,4 @@ websockets==14.1
346346
# -r requirements.txt
347347
# sphinx-autobuild
348348
wheel==0.45.1
349-
# via -r requirements.txt
349+
# via -r requirements.txt

0 commit comments

Comments
 (0)