Skip to content

chore: remove nullain-search local-path workarounds - #79

Merged
netty-linux merged 1 commit into
masterfrom
chore/remove-search-rust-workarounds
Aug 12, 2026
Merged

chore: remove nullain-search local-path workarounds#79
netty-linux merged 1 commit into
masterfrom
chore/remove-search-rust-workarounds

Conversation

@netty-linux

Copy link
Copy Markdown
Owner

Summary

  • nullain-search 0.1.0 is published on PyPI — removes the two temporary workarounds tracked in Publicar nullain-search no PyPI e substituir tool.uv.sources por constraint de versão #77.
  • pyproject.toml: drops the tool.uv.sources override pointing at the sibling repo's local path; only the version constraint in nullain-sdk/pyproject.toml's search-rust extra remains.
  • ci.yml: removes the extra checkout-and-move steps (6 jobs) that cloned netty-linux/nullain-sdk-search for uv sync to find locally.
  • uv.lock: regenerated — nullain-search's entry now resolves from the PyPI registry with sdist/wheel hashes, no local path anywhere.

Closes #77

Test plan

  • Cloned this repo into an isolated directory with no sibling nullain-sdk-search anywhere nearby; uv sync --all-packages resolved cleanly
  • In that same isolated clone, uv pip install nullain-sdk[search-rust] pulled the real wheel from PyPI and import nullain_search / SearchIndex worked
  • make check (ruff + pyright strict + pytest) green with the search-rust extra installed — 14/14 search contract tests pass against both WebSearchProvider and RustSearchAdapter
  • make check green without the extra installed — rust_search contract cases skip cleanly, web_search unaffected
  • Manual check of uv.locknullain-search entry uses source = { registry = "https://pypi.org/simple" }, no path/editable reference anywhere in the file
  • nullain-sdk/src/nullain/__init__.py — zero lines changed

🤖 Generated with Claude Code

nullain-search 0.1.0 is now published on PyPI
(https://pypi.org/project/nullain-search/). Removes both temporary
workarounds this required:

- pyproject.toml: tool.uv.sources no longer overrides nullain-search to
  the sibling repo's local path — nullain-sdk/pyproject.toml's
  search-rust extra constraint (nullain-search>=0.1.0,<0.2.0) resolves
  it from PyPI like any other dependency.
- ci.yml: removes the extra checkout-and-move steps (6 jobs) that cloned
  netty-linux/nullain-sdk-search alongside this repo so `uv sync` could
  find the local path — no longer needed.
- uv.lock: regenerated; nullain-search's entry now points at the PyPI
  registry with sdist/wheel hashes, no local path anywhere in the file.

Verified in an isolated clone (no sibling repo present anywhere nearby):
`uv sync --all-packages` resolves cleanly, and `pip install
nullain-sdk[search-rust]` pulls the real wheel from PyPI and imports/runs
correctly. `make check` passes both with the extra installed (14/14
search contract tests, both adapters) and without it (rust_search cases
skip cleanly, web_search unaffected).

Closes #77

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@netty-linux
netty-linux merged commit 42b15a6 into master Aug 12, 2026
11 checks passed
@netty-linux
netty-linux deleted the chore/remove-search-rust-workarounds branch August 12, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publicar nullain-search no PyPI e substituir tool.uv.sources por constraint de versão

1 participant