From 46ee71310b46eda22fbbbb306fea34e1d435a240 Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Wed, 19 Jun 2024 07:46:42 -0700 Subject: [PATCH] Compatibility with NumPy 2.0 release (#100) * Update dependencies, especially `IRanges` * Update CHANGELOG for release notes --- CHANGELOG.md | 10 ++++++++++ setup.cfg | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c61595..5a3dde1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## Version 0.4.20 + +Updated dependencies (especially `IRanges`), to be compatible with NumPy's 2.0 release. + +## Version 0.4.19 + +- Fix an issue related to combining `GenomicRanges` or `GenomicRangesList` objects containing different metadata columns. This switches the operation from `combine_rows` to `relaxed_combine_rows`. +- Set NumPy to <2.0.0 before the migration to 2.0 release. +- Updated tests + ## Version 0.4.17 Initialize `GenomicRanges` from a polars `DataFrame`. Also coerce a GRanges object diff --git a/setup.cfg b/setup.cfg index 4ab37bd..572600d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -50,9 +50,9 @@ python_requires = >=3.8 install_requires = importlib-metadata; python_version<"3.8" biocframe>=0.5.11 - iranges[optional]>=0.2.6 + iranges[optional]>=0.2.7 biocutils>=0.1.3 - numpy<2.0.0 + numpy [options.packages.find] where = src