From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tanguy Le Carrour Subject: Re: Questions about packaging Date: Fri, 11 Oct 2019 09:42:00 +0200 Message-ID: <20191011074200.azkyt4mufjazbuj6@rafflesia> References: <20191009095633.qlhnq2yvtp7dbrrf@rafflesia> <20191010024127.1da7c86d@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35528) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIpYr-0001WV-OL for guix-devel@gnu.org; Fri, 11 Oct 2019 03:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIpYq-000403-Mi for guix-devel@gnu.org; Fri, 11 Oct 2019 03:42:05 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:38475) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iIpYq-0003zV-GN for guix-devel@gnu.org; Fri, 11 Oct 2019 03:42:04 -0400 Content-Disposition: inline In-Reply-To: <20191010024127.1da7c86d@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: Guix Hi Danny ! Thanks for your answer. Le 10/10, Danny Milosavljevic a écrit : > > 1) Updating a package > > So I would have to update python-cachecontrol from 0.11.6 to 0.12.5. > > Should I create a python-cachecontrol-0.11.6 and fix all the packages > > that depend on it? Only the one that would break? > > The latter. That's one of the things we do at Guix but I would not do at work. OK. I'll do that! My next question would be "when would someone create a versionned package name?" Like for instance `openjdk`? > > Btw, python-cachecontrol seems to be broken. I'll work on that. But > > before I'll have to find an answer to question 3. > > Then the answer is to update it, and to update everything else that > depends on it (since it didn't work anyway, what's the harm? The situation > can only improve). "The situation can only improve". Can you believe I didn't think of that! ^_^' This makes total sense! Thanks. > On Wed, 9 Oct 2019 11:56:33 +0200 > Tanguy Le Carrour wrote: > > > As I understand it, to make sure that a package works with the > > dependencies provided by the distrubution (Guix), tests must pass! > > Well, it's better if the tests pass, yes. If the tests fail that's definitely > bad. If you absolutely can't get the tests to execute in the first place, let's > talk about it (with upstream if necessary). OK. I'll push the discussion upstream. > > So I guess that one should always make sure that the tests can be > > executed from the Pypi download, or use Git to get the sources. > > I'd use git (and a tag). There's no downside that I can see. Neither can I! I'll do that. Thanks again for your time and advice ! -- Tanguy