Skip to content

Update bx-python to 0.15.1 - #68558

Merged
nsoranzo merged 3 commits into
masterfrom
bump/bx_python
Aug 27, 2026
Merged

Update bx-python to 0.15.1#68558
nsoranzo merged 3 commits into
masterfrom
bump/bx_python

Conversation

@BiocondaBot

@BiocondaBot BiocondaBot commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Update bx-python: 0.14.00.15.1

install with bioconda Conda

Info Link or Description
Recipe recipes/bx-python (click to view/edit other files)
Summary Tools for manipulating biological data, particularly multiple sequence alignments.
Home https://github.com/bxlab/bx-python
Releases https://pypi.org/pypi/bx_python/json
Recipe Maintainer(s) @nsoranzo

This pull request was automatically generated (see docs).

@BiocondaBot BiocondaBot added autobump Automatic Version Update new version labels Aug 26, 2026
nsoranzo added a commit to bxlab/bx-python that referenced this pull request Aug 27, 2026
`setup.py` shipped Cython-generated .c/.h files in the sdist, produced at
release time with whatever NumPy/Cython happened to be newest. Since the
old `Cython.Distutils.build_ext` only re-cythonized when the .pyx was newer
than the shipped .c, downstream builders (e.g. bioconda) compiled that
stale .c as-is against their own, often older, NumPy headers, causing
"implicit declaration" errors for `PyDataType_*` functions, see:

bioconda/bioconda-recipes#68558

Replace this with an explicit `cythonize(ext_modules, force=True)` call in
`setup.py`, so every real build always regenerates C sources fresh against
whatever NumPy/Cython is actually installed.
NumPy and Cython are both already hard build-time requirements
(`build-system.requires` in `pyproject.toml`), so drop the now-pointless
`ImportError` fallback and merge their imports.

With sources always regenerated, there's no need to ship the generated
.c/.h files in the sdist either: trim `MANIFEST.in` to just the .pyx/.pxd
sources plus the one genuinely hand-written .c/.h pair
(`lib/bx/align/sitemask/find_cpg.*`), and skip building ext_modules for the
"sdist" action so setuptools doesn't pull the freshly cythonized files
back in as extension sources.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@BiocondaBot BiocondaBot changed the title Update bx-python to 0.15.0 Update bx-python to 0.15.1 Aug 27, 2026
@mergify

mergify Bot commented Aug 27, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@nsoranzo
nsoranzo merged commit 6665f9c into master Aug 27, 2026
6 checks passed
@nsoranzo
nsoranzo deleted the bump/bx_python branch August 27, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autobump Automatic Version Update new version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants