Skip to content

Releases: kurtmckee/sqliteimport

v0.4.0

06 Feb 15:24
v0.4.0
3c69e0b
Compare
Choose a tag to compare

Added

  • Auto-load files on the Python path that end with .sqlite3.

Fixed

  • Pin the build system requirement to poetry-core v2.

Documentation

  • Document compatible flake8 and isort configurations.

v0.3.0

29 Jan 15:49
v0.3.0
bf12e2e
Compare
Choose a tag to compare

Python support

  • Test against Python 3.14 pre-releases.
  • Drop Python 3.8 support.
  • Drop PyPy 3.9 support.

Added

  • Add a database index to improve import performance.
  • Support calls to importlib.metadata.version().
  • Partially support accessing resources in packages.
  • Support binary files (like non-UTF-8 Python modules) and resources.

Fixed

  • Fix a bug in the bundling code that allowed non-Python files to be importable.

    Previously, a package containing a PEP 561 py.typed file
    would have an importable submodule named {package}.py.

  • Fix a bug that prevented databases bundled on Windows from finding package metadata.

Changed

  • Introduce a data access object to manage database interactions.
  • Create a sqliteimport table to store metadata about the database.
  • Bundle .dist-info/ metadata directories into databases.

Documentation

  • Use an absolute URL to the banner in the README.

    This helps ensure that PyPI releases will render the README consistently.

Development

  • Test that Unicode filenames can be imported.
  • Add a script to generate a large Python package for performance testing.
  • Resolve a ResourceWarning in the test suite on Python 3.13.
  • Add CI testing.
  • Create a framework for testing bundling and importing.
  • Migrate to PEP 621 metadata in pyproject.toml.
  • Create release PRs via a reusable workflow.

v0.2.0

23 May 14:30
v0.2.0
5e304de
Compare
Choose a tag to compare

Added

  • Add a cli extra.
  • Add a CLI command, sqliteimport bundle, to assist with database generation.

v0.1.0

22 May 14:06
v0.1.0
66a5dc3
Compare
Choose a tag to compare

Initial release

  • Support loading Python source code from a sqlite database.