Pyarrow update - #57
Conversation
…pyarrow-version Bump pyarrow version and add build backend
- Added .cursor/ to .gitignore. - Updated pyproject.toml to include build-system, version, optional dependencies, and refined classifiers. - Removed requirements.txt and adjusted GitHub Actions workflow to install development dependencies directly from pyproject.toml.
…nto pyarrow_update
|
Thanks @nick-youngblut! A lot of this has since landed on The remaining unique value here is the type annotations and expanded docstrings. Unfortunately A focused type-annotations PR against current |
This pull request introduces several improvements to the
gtfparselibrary, including the addition of type annotations for better code clarity, enhancements to the build system, and updates to function documentation. It also simplifies dependency management and modernizes the project structure. Below are the most important changes grouped by theme.Code Enhancements and Type Annotations:
expand_attribute_stringsingtfparse/attribute_parsing.py,create_missing_featuresingtfparse/create_missing_features.py, and various parsing functions ingtfparse/read_gtf.py, improving code readability and type safety. [1] [2] [3] [4] [5]Build System and Dependency Management:
requirements.txtfile with apyproject.tomlconfiguration, aligning with modern Python packaging standards. Dependencies, including development dependencies, are now specified in the[project]and[project.optional-dependencies]sections..github/workflows/tests.ymlto usepip install ".[dev]"for installing development dependencies.Documentation and Functionality Improvements:
parse_with_polars_lazyandparse_gtf_and_expand_attributesingtfparse/read_gtf.py, explaining parameters, return types, and usage examples for better developer understanding. [1] [2]