aeson 0.8.0.0
Closed this issue · 10 comments
Hi, could you please update aeson-utils
on Hackage with a new version that supports aeson 0.8.x?
The latest aeson-utils
has aeson (>=0.6 && <0.9)
and was uploaded on July 17th. Am I missing something?
$ curl http://hackage.haskell.org/package/aeson-utils-0.2.2.1/src/aeson-utils.cabal
name: aeson-utils
version: 0.2.2.1
[...]
library
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
exposed-modules: Data.Aeson.Utils
build-depends:
base == 4.*
, aeson >= 0.6 && < 0.8
, attoparsec >= 0.10 && < 0.13
, bytestring >= 0.9 && < 0.11
, scientific >= 0.3.2 && < 0.4
, text >= 0.11 && < 1.2
The version of aeson
is restricted to < 0.8
.
There seems to be a mismatch between the information Hackage displays on the package's home page and what's actually contained in the tarball.
This is because the dependency was edited in place, a new hackage feature. I think the source browser doesn't reflect this, but the actual tarball does:
$ cabal unpack aeson-utils
Unpacking to aeson-utils-0.2.2.1/
$ cd aeson-utils-0.2.2.1/
$ cat aeson-utils.cabal
name: aeson-utils
version: 0.2.2.1
x-revision: 1
synopsis: Utilities for working with Aeson.
description: Utilities for working with Aeson.
license: BSD3
license-file: LICENSE
author: Silk. B.V.
maintainer: code@silk.co
copyright: 2014, Silk B.V
category: Data
build-type: Simple
cabal-version: >=1.10
extra-source-files:
CHANGELOG.md
LICENSE
README.md
source-repository head
type: git
location: https://github.com/silkapp/aeson-utils.git
library
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
exposed-modules: Data.Aeson.Utils
build-depends:
base == 4.*
, aeson >= 0.6 && < 0.9
, attoparsec >= 0.10 && < 0.13
, bytestring >= 0.9 && < 0.11
, scientific >= 0.3.2 && < 0.4
, text >= 0.11 && < 1.2
Ah, I just noticed this only works when using cabal-install. When downloading the tarball directly from hackage, it contains the old cabal file (without x-revision: 1
and with an aeson upper bound). I think this is a hackage bug. Could you file one?
This gives the correct revision:
$ curl http://hackage.haskell.org/package/aeson-utils-0.2.2.1/aeson-utils.cabal
name: aeson-utils
version: 0.2.2.1
x-revision: 1
[...]
can you use this url instead?
@hesselink, no, unfortunately I cannot file a bug for Hackage.
@peti OK, I've filed haskell/hackage-server#252. Do you have enough for a workaround now, or is this issue still a problem for you?
No, it's not a problem for me. Thank you for your efforts!
OK, I'll close the issue then.