Skip to content

Commit 6f385a6

Browse files
committed
New release 23.5.1-gos2204~1
1 parent 98a81bb commit 6f385a6

3 files changed

Lines changed: 33 additions & 0 deletions

File tree

debian/changelog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
python-gvm (23.5.1-gos2204~1) abomination; urgency=medium
2+
3+
* Removed patched setup.py and added necessary dependencies
4+
for build system update (Closes: GOS-1452).
5+
- Added patch to test, to replace unnecessary pontos import.
6+
7+
-- Carlos A. Parra F. <carlos.parra@greenbone.net> Wed, 24 May 2023 11:27:46 +0200
8+
19
python-gvm (23.4.2-gos2204~1) abomination; urgency=medium
210

311
* New upstream release and adjusted gbp.conf (Closes: PR-615).

debian/patches/replace_pontos

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
--- a/tests/xml/test_pretty_print.py
2+
+++ b/tests/xml/test_pretty_print.py
3+
@@ -22,7 +22,8 @@ from io import StringIO
4+
from unittest.mock import patch
5+
6+
import defusedxml.lxml as secET
7+
-from pontos.testing import temp_directory
8+
+from tempfile import TemporaryDirectory
9+
+from pathlib import Path
10+
11+
from gvm.errors import InvalidArgumentType
12+
from gvm.xml import pretty_print
13+
@@ -40,8 +41,9 @@ class PrettyPrintTestCase(unittest.TestC
14+
"</test>\n"
15+
)
16+
17+
- with temp_directory() as temp_dir:
18+
- test_file = temp_dir / "test.file"
19+
+ with TemporaryDirectory() as temp_dir:
20+
+ temp_dir_path = Path(temp_dir)
21+
+ test_file = temp_dir_path / "test.file"
22+
with test_file.open("w", encoding="utf-8") as f:
23+
pretty_print(elem, file=f)
24+

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
replace_pontos

0 commit comments

Comments
 (0)