Skip to content

Commit 335b04e

Browse files
authored
Merge pull request #150 from WardDeb/np2
get np2 compatible
2 parents fb7c0cf + ad4aecc commit 335b04e

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

.environmentLinux.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
- gcc_linux-64
88
- curl
99
- zlib
10-
- python 3.8
10+
- python = 3.9
1111
- pip
1212
- numpy
13-
- nose
13+
- pytest

.github/workflows/build.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Test
2-
on: pull_request
2+
on:
3+
pull_request:
4+
push:
35

46
jobs:
57
testLinux:
@@ -14,11 +16,11 @@ jobs:
1416
with:
1517
activate-environment: foo
1618
environment-file: .environmentLinux.yaml
17-
python-version: 3.8
19+
python-version: 3.9
1820
auto-activate-base: false
1921
- run: |
2022
pip install .
21-
nosetests -sv
23+
pytest pyBigWigTest/test.py
2224
2325
test-builds:
2426
runs-on: ubuntu-latest
@@ -30,7 +32,7 @@ jobs:
3032
- name: Set up Python
3133
uses: actions/setup-python@v4
3234
with:
33-
python-version: '3.7'
35+
python-version: '3.9'
3436
- name: Install build prerequisites
3537
run: |
3638
python -m pip install --upgrade build numpy

.github/workflows/pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Set up Python
1212
uses: actions/setup-python@v4
1313
with:
14-
python-version: '3.7'
14+
python-version: '3.9'
1515
- name: Install build prerequisites
1616
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
1717
run: |

pyBigWig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <structmember.h>
33
#include "bigWig.h"
44

5-
#define pyBigWigVersion "0.3.22"
5+
#define pyBigWigVersion "0.3.23"
66

77
typedef struct {
88
PyObject_HEAD

pyproject.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
3-
requires = ["oldest-supported-numpy", "setuptools", "setuptools-scm"]
3+
requires = ["numpy >= 2.0.0", "setuptools", "setuptools-scm"]
44

55
[project]
66
authors = [{name = "Devon P. Ryan", email = "[email protected]"}]
@@ -11,7 +11,7 @@ classifiers = [
1111
"Programming Language :: C",
1212
"Programming Language :: Python",
1313
"Programming Language :: Python :: 3",
14-
"Programming Language :: Python :: 3.7",
14+
"Programming Language :: Python :: 3.9",
1515
"Programming Language :: Python :: Implementation :: CPython",
1616
"Operating System :: POSIX",
1717
"Operating System :: Unix",
@@ -20,9 +20,9 @@ classifiers = [
2020
description = "A package for accessing bigWig files using libBigWig"
2121
keywords = ["bioinformatics", "bigWig", "bigBed"]
2222
name = "pyBigWig"
23-
version = "0.3.22"
23+
version = "0.3.23"
2424
readme = "README.md"
25-
requires-python = ">=3.7"
25+
requires-python = ">=3.9"
2626

2727
[project.license]
2828
text = "MIT"
@@ -41,9 +41,9 @@ packages = ["pyBigWigTest"]
4141
# Enable version inference from scm
4242
[tool.setuptools_scm]
4343

44-
# Target only minimum CPython version 3.7 on linux for wheel build
44+
# Target only minimum CPython version 3.9 on linux for wheel build
4545
[tool.cibuildwheel]
46-
skip = "pp* cp36-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux_x86_64 *-musllinux_i686"
46+
skip = "pp* cp38-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux_x86_64 *-musllinux_i686"
4747

4848
[tool.cibuildwheel.linux]
4949
manylinux-x86_64-image = "manylinux2014"

0 commit comments

Comments
 (0)