yesodweb / yesodweb/persistent

`mysql-simple-0.4.7` incompatible with resolver

Open
#1,455 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
486
Forks
306
PR merge metrics
No merged PRs in 30d

Description

while I was hacking #1452 I ran into trouble with stack and the declared version of mysql-simple. bumping the version to mysql-simple-0.4.9 (after the date-time-compat api changed) worked for me, but I am not a stack-knower, so please take this with a grain of salt 😅

mysql-simple                 > [2 of 7] Compiling Database.MySQL.Simple.Result                                              
mysql-simple                 >                                                                                              
mysql-simple                 > /private/var/folders/g5/vgktf29n6fjg5plbfd1z4hf80000gn/T/stack-83083d0fb37532fc/mysql-simple-0.4.7/Database/MySQL/Simple/Result.hs:42:26: error:
mysql-simple                 >     Module ‘Data.Time.Format’ does not export ‘parseTime’                                    
mysql-simple                 >    |                                                                                         
mysql-simple                 > 42 | import Data.Time.Format (parseTime)                                                     
mysql-simple                 >    |                          ^^^^^^^^^                  

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Stack build failure for mysql-simple 0.4.7 and inspect the dependency declaration that selects this version. Confirm that the selected mysql-simple version compiles with the current Data.Time.Format API and that the affected Stack build completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, mysql
Domain
build-system, database
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.