Giter Club home page Giter Club logo

Comments (7)

adscib avatar adscib commented on September 16, 2024

I looked into uploading to Hackage but was told the library is missing appropriate version bounds on dependencies. I don't have the time to deal with this right now but if there's a volunteer who'd be willing to sort out the right bounds and put them in the cabal file I can make a release as soon as it's done.

from monad-bayes.

YPares avatar YPares commented on September 16, 2024

@adscib Hackage only asks for boundaries on base, not on all deps normally

from monad-bayes.

adscib avatar adscib commented on September 16, 2024

This is what I was told.

I also noticed that your package
does not currently have correct version bounds for some of its
dependencies. For instance:

https://github.com/adscib/monad-bayes/blob/master/monad-bayes.cabal#L53-L64

Packages that are uploaded to Hackage are generally expected to follow
the Package Versioning Policy and have version bounds on all
dependencies indicating which versions they are known to build with.
Here are some links that have more information:

https://hackage.haskell.org/upload#versioning_and_curation
https://pvp.haskell.org/

Also, here are a few things to keep in mind when uploading to Hackage
that help keep the ecosystem working reliably for everyone:

  1. Hackage is intended to be a permanent record. Therefore uploads
    cannot be changed or removed.
  2. Only upload things that work, are useful to other people, and that
    you intend to maintain.
  3. Use cabal gen-bounds to put PVP-compliant version bounds (lower
    AND upper) on ALL your unique dependencies so your package will still
    be buildable years down the road. One important thing to note is that
    you only need to include version bounds once. For example, if you
    depend on the same package in your library and your test suite, you
    only need to put the version bounds for that dependency in one place.
    This keeps the dependency bounds information DRY.
  4. Package candidates CAN be changed, so use them to test things out
    and get everything right before you publish permanently to the main
    index.

from monad-bayes.

curiousleo avatar curiousleo commented on September 16, 2024

https://github.com/adscib/monad-bayes/pull/60 contains the version bounds necessary to publish monad-bayes to Hackage.

from monad-bayes.

curiousleo avatar curiousleo commented on September 16, 2024

monad-bayes v0.1 is now on Hackage: https://hackage.haskell.org/package/monad-bayes-0.1.0.0

from monad-bayes.

curiousleo avatar curiousleo commented on September 16, 2024

monad-bayes is now on Stackage: commercialhaskell/stackage#5189

from monad-bayes.

curiousleo avatar curiousleo commented on September 16, 2024

Done!

from monad-bayes.

Related Issues (20)

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.