Skip to content

Commit

Permalink
Ensure that beam-sqlite is built with sqlite-3.24+ (fixes #589)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Jan 11, 2025
1 parent ea48db3 commit 4cfd5f6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 6 additions & 0 deletions beam-sqlite/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Unreleased

## Dependencies

* Ensure that beam-sqlite uses sqlite-3.24+, which is the minimum supported version (#589).

# 0.5.4.0

## Added features
Expand Down
12 changes: 9 additions & 3 deletions beam-sqlite/beam-sqlite.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,15 @@ library
network-uri >=2.6 && <2.7,
aeson >=0.11 && <2.3,
attoparsec >=0.13 && <0.15,
transformers-base >=0.4 && <0.5
transformers-base >=0.4 && <0.5,
-- Dependency on direct-sqlite is not direct,
-- but functionality in beam-sqlite depends on
-- a minimum version of sqlite. At this time,
-- we require at least sqlite-3.24.
-- Note that because of this, we cannot use the
-- `Wunused-packages` warning.
-- See #589
direct-sqlite >=2.3.24
default-language: Haskell2010
default-extensions: ScopedTypeVariables, OverloadedStrings, MultiParamTypeClasses, RankNTypes, FlexibleInstances,
DeriveDataTypeable, DeriveGeneric, StandaloneDeriving, TypeFamilies, GADTs, OverloadedStrings,
Expand All @@ -50,8 +58,6 @@ library
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
if flag(werror)
ghc-options: -Werror

Expand Down

0 comments on commit 4cfd5f6

Please sign in to comment.