From 26bed32c34ba1366d95cec225c1e664ce33178df Mon Sep 17 00:00:00 2001 From: jrfaeder Date: Fri, 4 Sep 2026 18:44:30 -0400 Subject: [PATCH] Ready for 0.8.7 release Publishes the packaging-import fix that's been on master since June 2026 but never made it to a PyPI release. pkg_resources stopped re-exporting packaging on newer setuptools (>=71), which broke bionetgen on Python 3.12+ with: ImportError: cannot import name 'packaging' from 'pkg_resources' Co-Authored-By: Claude Sonnet 5 --- CHANGELOG.md | 5 ++++- bionetgen/assets/VERSION | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68d0eb2e..094db3d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -233,4 +233,7 @@ Updated underlying BNG and NFsim versions, expanded documentation and preparing Updated underlying BNG and NFsim versions. ## 0.8.2 -Fixed bug in reading `DeleteMolecules` keyword when multiple molecules were deleted at once. Also, first installment of cleaning up constructor functions for model elements to allow programmatic model building (as opposed to just reading from BNGL file). \ No newline at end of file +Fixed bug in reading `DeleteMolecules` keyword when multiple molecules were deleted at once. Also, first installment of cleaning up constructor functions for model elements to allow programmatic model building (as opposed to just reading from BNGL file). + +## 0.8.7 +Released the fix (already on `master` since June 2026, but never published) for `ImportError: cannot import name 'packaging' from 'pkg_resources'` on newer `setuptools` (>=71), which broke every CLI invocation on Python 3.12+ once `setuptools` stopped re-exporting `packaging` through `pkg_resources`. `main.py` now imports `from packaging import version as packaging_version` directly, and `packaging` is declared explicitly in `install_requires` instead of being relied on transitively. \ No newline at end of file diff --git a/bionetgen/assets/VERSION b/bionetgen/assets/VERSION index fd8fef73..d3aaafa7 100644 --- a/bionetgen/assets/VERSION +++ b/bionetgen/assets/VERSION @@ -1 +1 @@ -0 8 6 alpha 0 \ No newline at end of file +0 8 7 alpha 0 \ No newline at end of file