[med-svn] [Git][med-team/python-pybedtools][master] 2 commits: Team upload.

Emmanuel Arias (@eamanu) gitlab at salsa.debian.org
Fri Nov 15 11:02:13 GMT 2024



Emmanuel Arias pushed to branch master at Debian Med / python-pybedtools


Commits:
33373078 by Emmanuel Arias at 2024-11-15T07:45:53-03:00
Team upload.

* Team upload.
* d/patches/416.patch: Apply patch from upstream to fix Python3.13 issues in
  build (Closes: #1081673).

- - - - -
a63b2126 by Emmanuel Arias at 2024-11-15T07:46:12-03:00
prepare for upload

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/416.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+python-pybedtools (0.10.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * d/patches/416.patch: Apply patch from upstream to fix Python3.13 issues in
+    build (Closes: #1081673).
+
+ -- Emmanuel Arias <eamanu at debian.org>  Thu, 14 Nov 2024 22:58:17 -0300
+
 python-pybedtools (0.10.0-1) unstable; urgency=medium
 
   * New upstream version. Closes: #1068960


=====================================
debian/patches/416.patch
=====================================
@@ -0,0 +1,30 @@
+From a03a75a68f62e2f4c99d870b16a3b8b5497ccc45 Mon Sep 17 00:00:00 2001
+From: Ryan Dale <ryan.dale at nih.gov>
+Date: Tue, 5 Nov 2024 18:43:19 -0500
+Subject: [PATCH] better detection of Path for Python 3.13 (address #413)
+
+---
+ pybedtools/bedtool.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/pybedtools/bedtool.py b/pybedtools/bedtool.py
+index 1b8b491d..a0e3d421 100644
+--- a/pybedtools/bedtool.py
++++ b/pybedtools/bedtool.py
+@@ -13,6 +13,7 @@
+ import gzip
+ import pysam
+ from warnings import warn
++import pathlib
+ from pathlib import Path
+ 
+ from .helpers import (
+@@ -495,7 +496,7 @@ def __init__(self, fn=None, from_string=False, remote=False):
+ 
+         else:
+             # if fn is a Path object, we have to use its string representation
+-            if "pathlib.PurePath" in str(type(fn).__mro__):
++            if isinstance(fn, pathlib.PurePath):
+                 fn = str(fn)
+ 
+             # our work is already done


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ define_filenotfounderror_python2.patch
 remove_badges_from_documentation.patch
 add_missing_shebang.patch
 yaml_safe_load.patch
+416.patch



View it on GitLab: https://salsa.debian.org/med-team/python-pybedtools/-/compare/871fc21f942fa33347a55dccfc17c35afbd9b465...a63b21265eb3609c14e213d8ef721bedfef6e2f7

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pybedtools/-/compare/871fc21f942fa33347a55dccfc17c35afbd9b465...a63b21265eb3609c14e213d8ef721bedfef6e2f7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20241115/c33f33ca/attachment-0001.htm>


More information about the debian-med-commit mailing list