Hello,

On Mon 09 Dec 2024 at 11:02am -08, Xiyue Deng wrote:

> I would expect that if `foo' depends on `(bar "1.0.0")', then bar with
> `Package-Version: 1.0.0-git' would also satisfy the requirement, like
> saying that bar has added some new interfaces required by foo, and may
> (or may not) add more.  Just my 2 cents.
>
> How does Emacs itself handle this kind of version dependencies?

Take a look at the documentation of `version-to-list'.  It implies that
1.0.0-git would not satisfy 1.0.0.

>> There are already snapshot, -git, .cvs etc. version numbers defined.
>> See `version-to-list'.  Maybe dh_elpa could append a tilde in the
>> presence of one of those.
>>
>
> I'm not sure this will help with the dap-mode/emacs-lsp-docker
> situation, as the current Package-Version of emacs-lsp-docker doesn't
> have a suffix :/

But you could patch it in for our packaged version.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to