You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "greggdonovan (via GitHub)" <gi...@apache.org> on 2025/12/22 16:30:35 UTC
[PR] Add Python type annotations and adopt standard src layout [thrift]
greggdonovan opened a new pull request, #3277:
URL: https://github.com/apache/thrift/pull/3277
## Summary
- Adopt standard Python src layout for `lib/py` (moving files into `src/thrift/` directory structure)
- Add comprehensive type annotations throughout the Python library
- Add `py.typed` marker file for PEP 561 compliance
- Add `pyproject.toml` with modern Python packaging configuration
- Fix C extension build on macOS (endian.h compatibility)
## Test plan
- [ ] Run existing Python test suite
- [ ] Verify type checking with mypy
- [ ] Test C extension build on macOS and Linux
- [ ] Verify backward compatibility with existing code using the library
🤖 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: dev-unsubscribe@thrift.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Python type annotations and adopt standard src layout [thrift]
Posted by "greggdonovan (via GitHub)" <gi...@apache.org>.
greggdonovan closed pull request #3277: Add Python type annotations and adopt standard src layout
URL: https://github.com/apache/thrift/pull/3277
--
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: dev-unsubscribe@thrift.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org