Ready for 0.8.7 release - #114
Merged
Merged
Conversation
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 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bionetgen/assets/VERSIONto0.8.7so a new release can be cut and published to PyPICHANGELOG.mdentry explaining the fix being releasedThe actual fix (
pkg_resources.packaging→from packaging import version as packaging_version, plus declaringpackagingexplicitly ininstall_requires) has been sitting onmainsince June 2026 but was never published — the last PyPI release (0.8.6) predates it. On newersetuptools(>=71),pkg_resourcesstopped re-exportingpackaging, so any install with a freshpip install bionetgenon Python 3.12+ hits:This PR just bumps the version and changelog so that fix can actually ship.
Test plan
python -m build && twine upload dist/*pip install bionetgen+bionetgen --versionworks cleanly on a fresh Python 3.12/3.14 venv🤖 Generated with Claude Code