[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nlohmann-json3-dev need to be reverted to trixie version



On Sat, Sep 20, 2025 at 07:52:16AM +0000, Gianfranco Costamagna wrote:
> Ok for reuploading 3.11 to sid, but

Yes this is the urgent part, nothing is actively requiring 3.12.0 now.

> question:
> 
> How do we move forward? Ok also to create a nlohmann-json3-3.12-dev or
> whatever, but I guess this one (3.11) should also go away as soon as
> possible, and let people migrate to the new one.

Call it nlohmann-json3.12.0-dev, no need to duplicate the '3'.
Unfortunately it will need to Conflicts/Replaces (but not Provides)
nlohmann-json3-dev.

> Will having a new package, new binary -dev solve the issue for each upstream
> release?

At least for each upstream release that change the ABI.
Hopefully convince upstream not to break the ABI too often...

> I still don't see how forcing people to update the dependency of
> nlohmann-json3-dev dependency will fix the ABI...

Packages will continue to use 3.11.3 for as long as their library packages
keep the same ABI, that is until their upstream bump the soname.

>From the data on codesearch.debian.org, there are a large number of upstream
packages that vendor nlohmann-json3. This way they are sure to use the same
version every time they build.

It is not ideal, but packaging several versions of nlohmann-json3 allows to
achieve that without the disadvantage of vendoring (which actually leads to
much more copies of nlohmann-json3 in the archive).

At least the package name in the Build-Depends make it clear which nlohmann-json3
is to be used.

Cheers,
Bill.


Reply to: