Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ implementation. Use `pip install openhcs-basicpy` for this fork. Do not install
both distributions into the same environment: they provide the same Python
package. Numerical and saved-model controls cover Python 3.12 and 3.14; this
does not establish biological validity for a new acquisition.
Use the `BaSiC` Python API shown below; the inherited, unimplemented CLI has
been removed rather than advertised as a working command.
A python package for background and shading correction of optical microscopy images

[![PyPI](https://img.shields.io/pypi/v/openhcs-basicpy.svg)](https://pypi.org/project/openhcs-basicpy)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0
1.3.1
22 changes: 21 additions & 1 deletion docs/openhcs-distribution-20260930.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ OpenHCS distribution checkpoint
==============================

``openhcs-basicpy`` 1.3.0 packages the existing OpenHCSDev JAX fork as an
ordinary registry dependency. The Python package and CLI remain ``basicpy``;
ordinary registry dependency. The Python package remains ``basicpy``;
no algorithm, dispatcher, compatibility alias or second implementation is
introduced. Do not install upstream ``basicpy`` beside this distribution: both
own that Python package. Scientific attribution and the MIT license are retained.
Expand Down Expand Up @@ -30,3 +30,23 @@ activation. Durable wheel/XML receipts are retained under
``/home/ts/wt/openhcs-issue-batch-20260929/basicpy-project-dependency-20260930``;
the disposable installed target belongs to the parent dependency task at
``/home/ts/.cache/agent-scratch/basicpy-package-20260930/installed``.

Corrective publication checkpoint
--------------------------------

The advertised console script failed its actual installed entrypoint check:
``basicpy --help`` imported a removed ``Device`` type. Source inspection also
found that its processing body was only TODO comments and a no-op return.
The queued 1.3.0 release was cancelled before any job steps ran; its original
tag and evidence are retained, not overwritten. No 1.3.0 publication is claimed.

Version 1.3.1 removes that dead module and console-script declaration in place.
The functioning BaSiC Python API remains unchanged. A standalone CLI is not
implemented as an unrelated expansion of the OpenHCS dependency request.

Actual corrective acceptance: build from a fresh sdist, install the new wheel
into a separate owned target, then seven tests pass on Python3.14 in12.58s.
The new installed-distribution test verifies no advertised console command and
no dead CLI module. All functioning Python module bytes match the earlier
wheel that passed numerical tests on both Python3.12 and3.14; the only removed
Python source is the unimplemented CLI. Thus no numerical owner was rewritten.
4 changes: 0 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ package_dir =
[options.packages.find]
where = src

[options.entry_points]
console_scripts =
basicpy = basicpy.__main__:main

[options.extras_require]
autotune =
hyperactive>=4.4.0,<5
Expand Down
135 changes: 0 additions & 135 deletions src/basicpy/__main__.py

This file was deleted.

10 changes: 10 additions & 0 deletions tests/test_installed_distribution.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""Acceptance checks against the installed fork wheel, not a source-path shim."""

from importlib.metadata import distribution
from importlib.util import find_spec


def test_distribution_does_not_advertise_an_unimplemented_cli():
package = distribution("openhcs-basicpy")
assert not package.entry_points.select(group="console_scripts")
assert find_spec("basicpy.__main__") is None
Loading