Skip to content

fix(deps): raise the scitex-dev floor to a version whose store actually works (0.20.1) - #158

Merged
ywatanabe1989 merged 1 commit into
developfrom
fix/scitex-dev-floor-0.49.2
Aug 31, 2026
Merged

fix(deps): raise the scitex-dev floor to a version whose store actually works (0.20.1)#158
ywatanabe1989 merged 1 commit into
developfrom
fix/scitex-dev-floor-0.49.2

Conversation

@ywatanabe1989

Copy link
Copy Markdown
Collaborator

The bug

0.20.0 declared scitex-dev>=0.17.8 while every store resolves through scitex_dev.store.host_store(). A consumer holding an older scitex-dev therefore resolves cleanly and then fails at use — the exact silent-failure shape the ecosystem rules forbid.

Measured on scitex-python (PR scitex-ai/scitex-python#375), which pins scitex-dev==0.28.0: uv pip install succeeded, then

[scitex-dev linter] WARNING: failed to load plugin 'clew':
    ModuleNotFoundError: No module named 'scitex_dev.store'

and TestClewIntegration::test_status, ::test_hash_file and TestCrossModuleWorkflow::test_io_save_then_clew_hash failed on all three Python legs.

The floor is measured, and importing is NOT the test

scitex_dev.store and host_store first appear in scitex-dev 0.43.1, and that version imports every symbol clew imports — a symbol-presence check would have stopped there and been wrong. A real write-then-read raises:

TypeError: tuple indices must be integers or slices, not str
  in scitex_dev/store/_codec.py:108  row_from_db

So the probe is an actual record-and-read-back against PostgreSQL, using the published 0.20.0 wheel from PyPI in a fresh venv per version:

scitex-dev result
0.28.0 FAIL — no scitex_dev.store at all
0.43.1 FAIL — imports fine, rows() TypeErrors
0.46.0 FAIL — same
0.48.0 FAIL — same
0.49.0 FAIL — same
0.49.2 OK
0.49.3 OK
0.50.0 OK
0.57.0 OK

The change

scitex-dev>=0.49.2 in both the runtime dependency set and dev, so the bad combination is refused at resolve time instead of failing later. Version 0.20.1. No code change — this is 0.20.0 with honest metadata.

…ly works (0.20.1)

0.20.0 declared `scitex-dev>=0.17.8` while every store resolves through
`scitex_dev.store.host_store()`. A consumer on an older scitex-dev
resolved CLEANLY and then failed at use. Measured on scitex-python,
which pins `scitex-dev==0.28.0`: the install succeeded, then
`ModuleNotFoundError: No module named 'scitex_dev.store'` and three clew
integration tests failed on all three Python legs.

The floor is measured, and IMPORTING IS NOT THE TEST. 0.43.1 is the first
release carrying the module and `host_store`, and it imports every symbol
clew imports — yet a real write-then-read raises `TypeError: tuple indices
must be integers or slices, not str` inside `Store.rows()`. Running an
actual record-and-read-back against PostgreSQL with the published 0.20.0
wheel: 0.28.0 FAIL (no module), 0.43.1 FAIL, 0.46.0 FAIL, 0.48.0 FAIL,
0.49.0 FAIL, 0.49.2 OK, 0.49.3 OK, 0.50.0 OK, 0.57.0 OK.

Applied to both the runtime and `dev` sets, so the bad combination is
refused at resolve time. No code change.
@ywatanabe1989
ywatanabe1989 merged commit 1fdd1f4 into develop Aug 31, 2026
9 checks passed
@ywatanabe1989
ywatanabe1989 deleted the fix/scitex-dev-floor-0.49.2 branch August 31, 2026 16:26
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant