Giter Site home page Giter Site logo

aeson 0.8.0.0 about aeson-utils HOT 10 CLOSED

peti avatar peti commented on May 29, 2024
aeson 0.8.0.0

from aeson-utils.

Comments (10)

hesselink avatar hesselink commented on May 29, 2024

The latest aeson-utils has aeson (>=0.6 && <0.9) and was uploaded on July 17th. Am I missing something?

from aeson-utils.

peti avatar peti commented on May 29, 2024
$ 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.

from aeson-utils.

peti avatar peti commented on May 29, 2024

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.

from aeson-utils.

hesselink avatar hesselink commented on May 29, 2024

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:          [email protected]
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

from aeson-utils.

hesselink avatar hesselink commented on May 29, 2024

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?

from aeson-utils.

bergmark avatar bergmark commented on May 29, 2024

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?

from aeson-utils.

peti avatar peti commented on May 29, 2024

@hesselink, no, unfortunately I cannot file a bug for Hackage.

from aeson-utils.

hesselink avatar hesselink commented on May 29, 2024

@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?

from aeson-utils.

peti avatar peti commented on May 29, 2024

No, it's not a problem for me. Thank you for your efforts!

from aeson-utils.

hesselink avatar hesselink commented on May 29, 2024

OK, I'll close the issue then.

from aeson-utils.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.