SQLite3::TestDatabaseURI
test failures with system sqlite
#612
-
I am observing following errors on Fedora Rawhide using Fedora
Seeing: sqlite3-ruby/ext/sqlite3/extconf.rb Line 65 in 555738d while I can't spot similar option in Fedora package, I assume Fedora SQLite package does not support this feature and therefore the test fails. If the assumption is right, the question is what apart of the test case is broken and also if I should ask Fedora packager to enable the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, thanks for asking about this, and sorry you're having trouble. Your diagnosis is correct. In #571 I added support for URI filenames, but this depends on a compile-time setting that you correctly identified as SQLITE_USE_URI that is probably not being set by the fedora packager. Sadly, there's no good way I know of to check config settings at runtime. That said, what I can do is skip those tests if you're not using the vendored sqlite (I should probably have done that in the original PR but none of the CI jobs that test against system libraries were failing (because I test mostly against debian and the debian package has this feature enabled)). |
Beta Was this translation helpful? Give feedback.
-
Thank you for super fast response. But could you elaborate about plans for this feature? I think I can ask Fedora maintainers to enable the URI support. But there likely might be also some downsides, if upstream does not enable that feature by default. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for asking about this, and sorry you're having trouble.
Your diagnosis is correct. In #571 I added support for URI filenames, but this depends on a compile-time setting that you correctly identified as SQLITE_USE_URI that is probably not being set by the fedora packager.
Sadly, there's no good way I know of to check config settings at runtime. That said, what I can do is skip those tests if you're not using the vendored sqlite (I should probably have done that in the original PR but none of the CI jobs that test against system libraries were failing (because I test mostly against debian and the debian package has this feature enabled)).