Skip to content

0.8.2

Choose a tag to compare

@scottrbailey scottrbailey released this 10 Mar 20:22
· 364 commits to main since this release
e4945d5
  • Python 3.6 compatibility — additional fixes discovered after 0.8.1:
    • Replace type[Record] annotation with typing.Type[Record] in FixedWidthReader
      (type[X] syntax requires Python 3.9+)
    • Replace add_subparsers(required=True) with a post-creation attribute assignment in
      cli.py (required= kwarg was added in Python 3.7)
    • Replace remaining tuple[...] / X | Y union syntax in docstrings for
      writers/base.py, writers/xml.py, and etl/table.py with typing equivalents
  • Import order — move readers and writers imports before etl in dbtk/__init__.py
    to prevent dbtk/readers/csv.py from shadowing the stdlib csv module during ETL init
  • Package discovery — add [tool.setuptools.packages.find] to pyproject.toml so
    setuptools < 61 (shipped with Python 3.6) correctly locates all dbtk sub-packages