Package: python-bcbio-gff / 0.7.1-3
Metadata
| Package | Version | Patches format |
|---|---|---|
| python-bcbio-gff | 0.7.1-3 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| python syntax warning.patch | (download) |
BCBio/GFF/GFFParser.py |
2 1 + 1 - 0 ! |
fix syntaxwarning.
This change treats the regex passed to the compiler as a raw string.
This resolve the following warning:
.
/usr/lib/python3/dist-packages/BCBio/GFF/GFFParser.py:71:
SyntaxWarning: invalid escape sequence '\w'
gff3_kw_pat = re.compile("\w+=")
|
| distutils deprecation.patch | (download) |
distribute_setup.py |
79 39 + 40 - 0 ! |
migrate away from distutils. Following [PEP 632], the distutils module is deprecated. In bcbio.gff, this module is still in use for it's logging facility, so a contemporary approach would be to use the "logging" module instead of distutils. logging.warning behaves essentially the same way as distutils.log.warn; there was also a logging.warn function but it is deprecated in favor of warning, thus this patch does not attempt to do something smart with things allowed by the import semantics. . [PEP 632]: https://peps.python.org/pep-0632/ |
| remove six.patch | (download) |
BCBio/GFF/GFFOutput.py |
2 1 + 1 - 0 ! |
--- |
1
