[med-svn] [Git][med-team/pybigwig][upstream] New upstream version 0.3.25+dfsg
Diane Trout (@diane)
gitlab at salsa.debian.org
Thu Jan 15 05:10:56 GMT 2026
Diane Trout pushed to branch upstream at Debian Med / pybigwig
Commits:
94f5cdf5 by Diane Trout at 2026-01-14T20:31:43-08:00
New upstream version 0.3.25+dfsg
- - - - -
4 changed files:
- .github/workflows/build.yml
- pyBigWig.c
- pyBigWig.h
- pyproject.toml
Changes:
=====================================
.github/workflows/build.yml
=====================================
@@ -45,7 +45,7 @@ jobs:
- name: Build sdist
run: |
python -m build --sdist
- - uses: actions/upload-artifact at v3
+ - uses: actions/upload-artifact at v6
with:
name: pyBigWig-build
path: |
=====================================
pyBigWig.c
=====================================
@@ -612,7 +612,8 @@ static PyObject *pyBwGetValues(pyBigWigFile_t *self, PyObject *args) {
if(!hasEntries(self->bw)) {
#ifdef WITHNUMPY
if(outputNumpy == Py_True) {
- return PyArray_SimpleNew(0, NULL, NPY_FLOAT);
+ const npy_intp arr[1] = {0};
+ return PyArray_SimpleNew(1, arr, NPY_FLOAT);
} else {
#endif
return PyList_New(0);
@@ -894,7 +895,7 @@ PyObject *pyBwAddHeader(pyBigWigFile_t *self, PyObject *args, PyObject *kwds) {
}
//Create the chromosome list
- bw->cl = bwCreateChromList(chroms, lengths, n);
+ bw->cl = bwCreateChromList((const char* const*) chroms, lengths, n);
if(!bw->cl) {
PyErr_SetString(PyExc_RuntimeError, "Received an error in bwCreateChromList");
goto error;
@@ -1248,7 +1249,7 @@ int PyAddIntervals(pyBigWigFile_t *self, PyObject *chroms, PyObject *starts, PyO
if(PyErr_Occurred()) goto error;
}
- rv = bwAddIntervals(bw, cchroms, ustarts, uends, fvalues, n);
+ rv = bwAddIntervals(bw, (const char * const*) cchroms, ustarts, uends, fvalues, n);
if(!rv) {
self->lastTid = bwGetTid(bw, cchroms[n-1]);
self->lastStart = uends[n-1];
=====================================
pyBigWig.h
=====================================
@@ -2,7 +2,7 @@
#include <structmember.h>
#include "bigWig.h"
-#define pyBigWigVersion "0.3.23"
+#define pyBigWigVersion "0.3.25"
typedef struct {
PyObject_HEAD
=====================================
pyproject.toml
=====================================
@@ -20,7 +20,7 @@ classifiers = [
description = "A package for accessing bigWig files using libBigWig"
keywords = ["bioinformatics", "bigWig", "bigBed"]
name = "pyBigWig"
-version = "0.3.23"
+version = "0.3.25"
readme = "README.md"
requires-python = ">=3.9"
View it on GitLab: https://salsa.debian.org/med-team/pybigwig/-/commit/94f5cdf582e33b27b04ba5a7b6434521ae2d4b33
--
View it on GitLab: https://salsa.debian.org/med-team/pybigwig/-/commit/94f5cdf582e33b27b04ba5a7b6434521ae2d4b33
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/20260115/ba0a7b8f/attachment-0001.htm>
More information about the debian-med-commit
mailing list