Skip to content

Comments

Include schema/base.sql in package data#11

Merged
nkphysics merged 1 commit intomasterfrom
schema-not-found-bug
Oct 28, 2025
Merged

Include schema/base.sql in package data#11
nkphysics merged 1 commit intomasterfrom
schema-not-found-bug

Conversation

@nkphysics
Copy link
Owner

This PR addresses a discovered issue in that the schema/base.sql file cannot be found in distributions.

To fix this the following changes were made:

  • Added tool.setuptools.package-data section to pyproject.toml to include the entirety of .sql files in schema/
  • SQLiteDB._create_schema() was refactored to read base.sql from package data
  • Version was preemptively bumped to v0.1.1

…ctored SQLiteDB._create_schema() to read from package data
@nkphysics nkphysics self-assigned this Oct 28, 2025
@nkphysics nkphysics added the bug Something isn't working label Oct 28, 2025
@nkphysics nkphysics merged commit e1e138e into master Oct 28, 2025
4 checks passed
@nkphysics nkphysics deleted the schema-not-found-bug branch October 28, 2025 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant