-
Notifications
You must be signed in to change notification settings - Fork 7
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
Loosen HaskellDB version constraint #31
Comments
2.2.3 is certainly good enough currently. The problem is that we keep having to patch HaskellDB when we need to add new functionality to Opaleye. I'm not sure what the right approach to dealing with this is in the long term. |
By the way, 2.2.2.0.0.0.3 is just an internal version number for us that doesn't exist in the outside world. |
There are some options:
Pick your poison :-) 4 together with 1 is the nicest if it's possible... I'd be fine with #2, git submodules and/or a local hackage server solves installation pains, if haskelldb development is slow it shouldn't be much work to maintain a fork. But you also have to consider whether to rename the package. |
Just to follow up on this - the specified fork, at tomjaguarpaw/haskelldb, is now 2.2.3, which is not what opaleye depends on. So right now, following the instructions in the readme (on the dev branch) doesn't work - you need to either change opaleye (to take 2.2.3) or change haskelldb (to have the internal number). I'm not sure which should be changed (hence a comment, not a PR). |
@dbp: README.md on the dev branch says "You should update karamaan-opaleye.cabal to depend on the version of haskelldb from that repository". Does that not work for some reason? (Certainly this is not a good solution but I would like it to work at least!) |
Having given this some more thought, I now wonder if renaming the package is the best way forward. I want the freedom to make changes that benefit Opaleye but do not necessarily benefit HaskellDB. The only downside to this is that users would not be able to use both Opaleye and the original HaskellDB in the same project (unless I renamed all the modules from Database.HaskellDB to Database.HaskellDBOpaleye, or whatever). However this is probably not a big deal because firstly I expect no one will want to do this, and secondly we'll probably keep almost complete compatibility with HaskellDB anyway. Thoughts? |
We won't be using plain haskelldb! On Wed, Aug 6, 2014 at 2:57 PM, tomjaguarpaw [email protected]
|
The way to deal with this issue is to use the https://github.com/tomjaguarpaw/haskelldb/tree/opaleye |
The HaskellDB version dependency is a bit odd. Hackage has version 2.2.2, which doesn't build on the new ghc. Github has 2.2.3, which seems to build fine. But the current cabal file requires
== 2.2.2.0.0.0.3
.Can this constraint be loosened at all? If 2.2.3 could work, it would be great to see
>= 2.2.2.0.0.0.3 && < 2.4
.The text was updated successfully, but these errors were encountered: