Skip to content
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

depexts: No versioning #2168

Open
juergenhoetzel opened this issue May 29, 2015 · 4 comments
Open

depexts: No versioning #2168

juergenhoetzel opened this issue May 29, 2015 · 4 comments

Comments

@juergenhoetzel
Copy link
Contributor

From the Manual

 `ext-packages` should be identifiers of packages recognised 

It would be nice to have version constraints like in the depends field to prevent build failures because of outdated or incompatible versions

@AltGr
Copy link
Member

AltGr commented Jun 1, 2015

Indeed; these would be difficult to map to the underlying package management system though (and most distributions only provide one version of each package)

@tbrk
Copy link

tbrk commented Jul 13, 2018

Another motivation for version constraints on depexts would be to handle packing changes across different releases. For example, inria-parkas/sundialsml requires libsundials-serial-dev on Debian Stretch (stable), but libsundials-dev on Debian Sid (unstable).

@kit-ty-kate
Copy link
Member

@tbrk opam2 can handle this I think (see #2919)

I think this issue can be closed

@ejgallego
Copy link

Hi folks,

if my understanding of the depext situation is correct I'd like to propose this issue is not yet closed. IMO depext should support versioning on the package itself, and the version should not be the os-version but the upstream package version.

For example, in lablgtk we should be able to do:

depexts: [ "gtk3.0" >= "3.12" ]

etc... then, depext shoud be able to query the underlying os for the upstream version provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants