guix-devel
[Top][All Lists]
Advanced

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

[PATCH 0/X] gnu: poetry: Fix broken dependency after dependency's versio


From: Tanguy Le Carrour
Subject: [PATCH 0/X] gnu: poetry: Fix broken dependency after dependency's version update.
Date: Tue, 28 Jul 2020 17:48:16 +0200

Hi Guix!

Few days ago, I submitted a patch to update `python-tomlkit`. It was pushed
to master and, after I upgraded my packages today, I realised that `poetry`
(and possibly other python packages) was broken!

The "problem" is that Poetry depends on `tomlkit = "^0.5.11"`. This
translates to `>=0.5.11,<0.6.0`. And I updated `python-tomlkit` to… 0.6.0!

In SemVer [1], minor releases are supposed to "add functionality
in a backwards compatible manner", so this "<0.6.0" seems, IMHO, wrong.
But that's not the point…

[1]: https://semver.org/

Now, I have to fix Poetry and I have 2 options:
- modify poetry `setup.py` and substitute `>=0.5.11,<0.7.0` to 
`>=0.5.11,<0.6.0`;
- add a new `python-tomlkit-0.5` and use it in the propagated inputs.

Any suggestion on the one I should implement?

Regards

-- 
Tanguy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]