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 !
1 file changed, 1 insertion(+), 1 deletion(-)

 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 !
1 file changed, 39 insertions(+), 40 deletions(-)

 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 !
BCBio/GFF/GFFParser.py | 5 2 + 3 - 0 !
setup.py | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 5 deletions(-)

---