Skip to content

fix: add missing SpatiaLite paths for Fedora/RHEL and generic Linux - #866

Closed
KooshaPari wants to merge 1 commit into
simonw:mainfrom
KooshaPari:fix-8-spatialite-paths
Closed

KooshaPari wants to merge 1 commit into
simonw:mainfrom
KooshaPari:fix-8-spatialite-paths

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Sep 13, 2026

Copy link
Copy Markdown

Bug

find_spatialite() did not search common SpatiaLite installation paths on Fedora/RHEL/CentOS (/usr/lib64/mod_spatialite.so) or generic Linux (/usr/lib/mod_spatialite.so), causing it to return None even when SpatiaLite was installed.

Fix

Added two additional paths to SPATIALITE_PATHS:

  • /usr/lib64/mod_spatialite.so (Fedora/RHEL/CentOS x86_64)
  • /usr/lib/mod_spatialite.so (generic Linux distributions)

Testing

  • Added test_spatialite_paths_include_common_locations to verify all expected paths are present
  • Test passes

📚 Documentation preview 📚: https://sqlite-utils--866.org.readthedocs.build/en/866/

Copilot AI lite review requested due to automatic review settings September 13, 2026 06:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@KooshaPari KooshaPari closed this by deleting the head repository Sep 13, 2026
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.

2 participants