Git Product home page Git Product logo

Comments (9)

dra27 avatar dra27 commented on June 14, 2024

Or 4.09.0, for that matter 🙂

from graphics.

 avatar commented on June 14, 2024

That seems fine to me. Thinking about it again, we should probably not make this package available for OCaml < 4.09, otherwise there will be a conflict for the ownership of file graphics/META, i.e. both ocamlfind and this package might try to install it :/

from graphics.

dra27 avatar dra27 commented on June 14, 2024

Indeed - but once that opam-repository PR is sorted, the package becomes uniformly installable with opam install graphics, so that seems OK!

from graphics.

 avatar commented on June 14, 2024

It's just that we have a problem if we install things in this order:

  1. ocaml < 4.09
  2. ocamlfind
  3. graphics (this repo)

in this case, ocaml will install <stdlib-dir>/graphics.cma. Because of this, ocamlfind will install <libdir>/graphics/META. graphics will also install <libdir>/graphics/META because that's what it always does: BOOM.

It feels safer to simply wait for 4.09 and release this repo with a >= 4.09 lower bound.

from graphics.

dra27 avatar dra27 commented on June 14, 2024

I agree - all I meant was to release with a version number that's definitely bigger than the graphics.4.08.0 which will hopefully by then be in opam-repository.

from graphics.

dra27 avatar dra27 commented on June 14, 2024

The opam-repository PR is merged. As it happens, you can build later versions of graphics with older compilers (I seem to remember finding that OCaml 3.07 could actually compile the 4.06.0 graphics library!) but for opam-repository I elected to have it that you always get the version of graphics which matches the compiler, just for the "least surprise" principle.

So when 4.08.0 is released, I'll do an update on opam-repository for graphics.4.08.0 and then when 4.09.0 comes out we can release this package as graphics.4.09.0 with the an ocaml >= "4.09.0" constaint.

from graphics.

 avatar commented on June 14, 2024

That works for me!

from graphics.

 avatar commented on June 14, 2024

I updated the changelog to be sure to use the right number when release time comes

from graphics.

xavierleroy avatar xavierleroy commented on June 14, 2024

The latest release is numbered 5.0.0, so I guess this report served its purpose and can be closed now.

from graphics.

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.