Yicong-Huang opened a new pull request, #6103: URL: https://github.com/apache/texera/pull/6103
### What changes were proposed in this PR? Removes three Python packages that nothing uses and moves `ruff` to the dev-only requirements file: | Package | File | Why it can go | | --- | --- | --- | | `Deprecated==1.2.14` | requirements.txt | Last import removed in #2847; no installed package requires it | | `protobuf==7.34.1` | requirements.txt | No `google.protobuf` import anywhere; betterproto 2.0 runtime does not depend on it (only its optional extras do) | | `pybase64==1.3.2` | operator-requirements.txt | Zero references in the entire git history since it was added | | `ruff==0.14.7` | requirements.txt → dev-requirements.txt | Lint tool, not a runtime dependency; keeping it in requirements.txt wrongly puts it in LICENSE-binary-python | Follow-up changes required by the move/removals: - `.github/workflows/build.yml`: the "Lint with Ruff" step now runs after "Install dev dependencies", since ruff comes from dev-requirements.txt. - `amber/LICENSE-binary-python`: dropped the four matching entries. `wrapt` stays — it is still a hard dependency of `aiobotocore`, not just of `Deprecated`. - Added `# Not imported directly: ...` comments to the transitive pins (`setuptools`, `python-dateutil`, `s3fs`/`aiobotocore`, `SQLAlchemy`/`pg8000`, `scikit-image`) so they don't look unused in future audits. ### Any related issues, documentation, discussions? Closes #6101 ### How was this PR tested? Uninstalled the three packages from the local venv (`pip uninstall -y protobuf Deprecated pybase64`), then ran the existing test suite and the same lint commands CI runs: ``` cd amber && pytest -m "not integration" -q # 551 passed, 1 deselected in 64s cd amber && ruff check src/main/python src/test/python && ruff format --check src/main/python src/test/python # All checks passed! 190 files already formatted ``` No new tests: dependency-manifest-only change; CI's `check_binary_deps.py` license gate verifies the LICENSE-binary-python entries match the installed set. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-fable-5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
