Skip to content

add s2aff-rust to project dependencies, update s2aff version to 0.202#33

Open
atalyaalon wants to merge 11 commits intomainfrom
add-rust-upgrade-version-0.2.1
Open

add s2aff-rust to project dependencies, update s2aff version to 0.202#33
atalyaalon wants to merge 11 commits intomainfrom
add-rust-upgrade-version-0.2.1

Conversation

@atalyaalon
Copy link
Contributor

@atalyaalon atalyaalon commented Feb 23, 2026

This branch was used for deployment to s2pypi

@atalyaalon atalyaalon changed the title add s2aff-rust to project dependencies, upgrade to 0.2.1 2add s2aff-rust to project dependencies, upgrade to 0.2.2 Feb 23, 2026
@atalyaalon atalyaalon changed the title 2add s2aff-rust to project dependencies, upgrade to 0.2.2 add s2aff-rust to project dependencies, update s2aff version to 0.200 Feb 24, 2026
@atalyaalon atalyaalon force-pushed the add-rust-upgrade-version-0.2.1 branch 3 times, most recently from 480046a to 9abcb63 Compare February 24, 2026 23:21
atalyaalon and others added 2 commits February 24, 2026 20:21
When no stage2_candidates are found, the code was passing empty strings
instead of empty lists for main/child/address fields, causing a
"value is not a valid list" error. Also added missing display_name field
and bumped version to 0.201.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Fix edge case where parse_ner_prediction could return strings instead
of lists when NER produces no valid tags, causing Pydantic validation
errors in the TIMO interface. Added type guards before return statement.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@atalyaalon atalyaalon changed the title add s2aff-rust to project dependencies, update s2aff version to 0.200 add s2aff-rust to project dependencies, update s2aff version to 0.202 Feb 26, 2026
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@atalyaalon atalyaalon force-pushed the add-rust-upgrade-version-0.2.1 branch 3 times, most recently from 7098195 to ca7a917 Compare March 2, 2026 22:28
Production builds failed when running ROR Update in TeamCity with:
- "build backend is missing the 'build_editable' hook"
- "ModuleNotFoundError: No module named 'torch'" when running update_ror.py

Root cause: update_ror.py imported from s2aff package before dependencies installed

Minimal fix:
- Add minimal setup.py for backwards compatibility with editable installs
- Separate update_ror.py from s2aff by inlining S3 utilities
- Add bidirectional comments documenting the intentional duplication

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@atalyaalon atalyaalon force-pushed the add-rust-upgrade-version-0.2.1 branch 6 times, most recently from b020707 to 28809b9 Compare March 2, 2026 23:37
- Build s2aff_rust from source before installing dependencies
- Use .venv directly instead of uv run to avoid dependency re-resolution
- Add setuptools dependency (required by hyperopt)
- Handle Windows/Linux path differences for pytest

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@atalyaalon atalyaalon force-pushed the add-rust-upgrade-version-0.2.1 branch from 28809b9 to b68d1c4 Compare March 2, 2026 23:38
@atalyaalon atalyaalon force-pushed the add-rust-upgrade-version-0.2.1 branch from 7dd2962 to bbff94d Compare March 2, 2026 23:54
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.

1 participant