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 91 92 93 94 95 96 97 98
|
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
--- 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:e2ef7b8c-c340-11e8-a616-1803730e031b')
# 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:e2ef7b8c-c340-11e8-a616-1803730e031b')
# 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:e2ef7b8c-c340-11e8-a616-1803730e031b')
# 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 _pbrk as _ImportedBinding__pbrk
--- 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:e2ef7b8c-c340-11e8-a616-1803730e031b')
# 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:e2ef7b8c-c340-11e8-a616-1803730e031b')
# 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/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -1,6 +1,6 @@
coverage
nose==1.3.4
-pyxb==1.2.4
+pyxb >= 1.2.4
sphinx
h5py >= 2.0.1
pysam >= 0.13
|