File: ignore-pyxb.patch

package info (click to toggle)
python-pbcore 1.7.1%2Bgit20200430.a127b1e%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,404 kB
  • sloc: python: 23,243; xml: 2,504; makefile: 232; sh: 66
file content (90 lines) | stat: -rw-r--r-- 3,756 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Description: Ignore hard-coded pyxb version check
 Upstream does not really care to keep up with pyxb versions
 (see https://github.com/PacificBiosciences/pbcore/pull/105/commits/2b2782e68a0117e0844279a001a010376e18b644)
 Dataset is not an interesting part of pbcore either. Disabling the hardcoded
 version check, the test suite still passes.
Author: Afif Elghraoui <afif@debian.org>
Forwarded: not-needed
Last-Update: 2016-10-09
Bug-Debian: https://bugs.debian.org/950336

--- a/pbcore/io/dataset/pyxb/DataSetXsd.py
+++ b/pbcore/io/dataset/pyxb/DataSetXsd.py
@@ -18,10 +18,10 @@ import pyxb.utils.six as _six
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:a9ab3db6-517a-11e9-bbae-005056872f45')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes
--- a/pbcore/io/dataset/pyxb/_pbbase.py
+++ b/pbcore/io/dataset/pyxb/_pbbase.py
@@ -18,10 +18,10 @@ import pyxb.utils.six as _six
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:a9ab3db6-517a-11e9-bbae-005056872f45')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes
--- a/pbcore/io/dataset/pyxb/_pbmeta.py
+++ b/pbcore/io/dataset/pyxb/_pbmeta.py
@@ -18,10 +18,10 @@ import pyxb.utils.six as _six
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:a9ab3db6-517a-11e9-bbae-005056872f45')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes
--- a/pbcore/io/dataset/pyxb/_pbrk.py
+++ b/pbcore/io/dataset/pyxb/_pbrk.py
@@ -18,10 +18,10 @@ import pyxb.utils.six as _six
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:a9ab3db6-517a-11e9-bbae-005056872f45')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes
--- a/pbcore/io/dataset/pyxb/_pbsample.py
+++ b/pbcore/io/dataset/pyxb/_pbsample.py
@@ -18,10 +18,10 @@ import pyxb.utils.six as _six
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:a9ab3db6-517a-11e9-bbae-005056872f45')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes