Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SQLite tests on Windows #989

Merged

Conversation

syl20bnr
Copy link
Member

Checklist

  • Confirmed that run-checks all script has been executed.
  • Made sure the book is up to date with changes in this PR.

Related Issues/PRs

Fixes #946

Changes

Drop the sqlite connection pool so that the database can be persisted on Windows.

Testing

No new code to test.
Ran all the tests on both Windows 11 and MacOS.

Drop the connection pool so that the database can be persisted.

Fixes tracel-ai#946
The comment is outdated as it is possible to return a read-only and
a read-write pool.
Copy link
Collaborator

@antimora antimora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Thank you for fixing!

@Luni-4
Copy link
Collaborator

Luni-4 commented Nov 22, 2023

Thanks a lot @syl20bnr!

Do you know by any chance how to proceed with #925 (comment) too? Because I'm a bit stucked and I cannot use a Windows machine

Copy link
Member

@nathanielsimard nathanielsimard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@nathanielsimard nathanielsimard merged commit 682e7bc into tracel-ai:main Nov 22, 2023
6 checks passed
@syl20bnr
Copy link
Member Author

Thanks a lot @syl20bnr!

Do you know by any chance how to proceed with #925 (comment) too? Because I'm a bit stucked and I cannot use a Windows machine

I can take a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some burn-dataset tests fail on Windows
4 participants