File: Always-test-against-the-system-version-of-python3.patch

package info (click to toggle)
wsdd 2%3A0.8-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 408 kB
  • sloc: python: 1,560; sh: 259; makefile: 21; xml: 14
file content (42 lines) | stat: -rw-r--r-- 1,744 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From: Alessandro Astone <alessandro.astone@canonical.com>
Date: Fri, 21 Jun 2024 16:43:20 +0200
Subject: Always test against the system version of python3

The list is good for testing against multiple versions, but gets
out-of-date whenever a new version of python3 is released.

To enable testing in downstream packaging, make sure to always
test against the system installed version of python3 at least.

Forwarded: https://github.com/christgau/wsdd/pull/207
---
 test/regressions/01_asyncio_changes_python310/run_tcp.sh  | 2 +-
 test/regressions/01_asyncio_changes_python310/run_unix.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/regressions/01_asyncio_changes_python310/run_tcp.sh b/test/regressions/01_asyncio_changes_python310/run_tcp.sh
index 75ecd98..04e35bb 100755
--- a/test/regressions/01_asyncio_changes_python310/run_tcp.sh
+++ b/test/regressions/01_asyncio_changes_python310/run_tcp.sh
@@ -4,7 +4,7 @@
 # The API for ´start_server´ was schanged in 3.10.
 # @see related Github issue #162
 
-python_versions=('3.7' '3.8' '3.9.' '3.10' '3.11')
+python_versions=('3' '3.7' '3.8' '3.9.' '3.10' '3.11')
 
 socket_port="3333"
 
diff --git a/test/regressions/01_asyncio_changes_python310/run_unix.sh b/test/regressions/01_asyncio_changes_python310/run_unix.sh
index d2522fd..c613909 100755
--- a/test/regressions/01_asyncio_changes_python310/run_unix.sh
+++ b/test/regressions/01_asyncio_changes_python310/run_unix.sh
@@ -4,7 +4,7 @@
 # The API for ´start_unix_server´ was schanged in 3.10.
 # @see Github issue #162
 
-python_versions=('3.7' '3.8' '3.9.' '3.10' '3.11')
+python_versions=('3' '3.7' '3.8' '3.9.' '3.10' '3.11')
 
 socket_dir="$(mktemp -d)"
 socket_filename="${socket_dir}/wsdd.sock"