DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51I0KpY73183214 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 51I0KpY73183214 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=mC19oU09 X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0368F3858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1739838049; bh=M60pJxkhPubx6zXWr3WmRCyTnKjsfNMxaYjVVN6jK+w=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=mC19oU09t1N0BZ7WvOJrNQPHEljavlPNA3FWUZiIsni8L2SC4HI6jRYX26eBjSF5S E8nuin2Z77pkyku1CplYrzpZuKo94CcSciS5rOhPB9lUfEgRTt3mkJJKj5n7kdUFGv Yi+0ligOSD6RzSrhM98XNrzskoVuR4Ic5BMYMWvI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 77BD23858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 77BD23858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739837834; cv=none; b=eHsEgeclYRi6CKQaF3O1bj9V8nGDtWGJHJxmFvjfyCGMao3s82RTj3ie5g+quSKdRumR4yvddre6kC91ZTrB6VYtfHyQXABmkn9n2q/3LotiImpyPkTWmyzV876gwFRtQRPHaosxDwUQbu5R+LOMLQM97pSmhk3LiXk+J9goZqE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739837834; c=relaxed/simple; bh=QG0e0ndYu3DfRYce1YN2G8A0xWEOFJ7UE2r72kLvSGk=; h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature; b=kEKPS//Vk80dCjUrn8AtsFCl4IZy2JwuzqQAIbJZHnQ9O6wETfig7AbPZ/SjKdYdk5eOynsY+0jn46sFB5G6RfN8pBXF8OImU1nNRdGYrJ0O8slRjedMU1pr8zObZyZEnrfbjBPHCTDSRuxwzmyTsOYWfKt3q4EczSFgxqtgZKw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77BD23858D20 Message-ID: <94ff3181-9b6f-4e45-bee5-bb826ad8d4aa@SystematicSW.ab.ca> Date: Mon, 17 Feb 2025 17:17:11 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Package 'unitS' requires python39 & requests Content-Language: en-CA To: cygwin AT cygwin DOT com References: <2c32c02d-a7f0-4aef-a147-584cfd0691f5 AT kircheis DOT it> <0f4216d9-8592-4d89-8581-ae93b6e70d0a AT gmail DOT com> <48d3065c-6550-4714-946a-eeb9507b9842 AT SystematicSW DOT ab DOT ca> Autocrypt: addr=Brian DOT Inglis AT SystematicSW DOT ab DOT ca; keydata= xjMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePbN LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT7ClgQTFggA PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDM44BF6KcfMSCisGAQQBl1UB BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAfCfgQYFggAJhYhBMM5 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5 RSyTY8X+AQ== Organization: Systematic Software In-Reply-To: X-Rspamd-Server: rspamout06 X-Rspamd-Queue-Id: AA9ED30 X-Stat-Signature: 5pmm7r685fxcc6s7prcq6fmoaxoyqnin X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX19LFIUX3Jf7qbNpFMQg8dRtJDdwZpPWgyc= X-HE-Tag: 1739837832-520601 X-HE-Meta: U2FsdGVkX19RAWqrTKkvZGYbIo1G99Itt7NGCq1AFNApqRxygPigciLOGsr+sd7KEp5c7AIeeW5pm3mbY5agdBDWBo2PapJYpDvs+Dl8jxRLcoMHAzZFk/Oz36b+WNPG+kSMqp52NtBe3kf2baeGSEOzrMf5lv6qMuD2aIbzn9Y7bujPE7uTJBhii3dyOOK4k1LIRFcp9TNhI376+7CRgMfUn83WhceDJ+HvDRxGxo7mEFnVl8JjvBtbgg6F9rmnBn6iE5XxdTjsKyeqtIJAPU4tWfYSNFd6RizpwW9fuTyrhFQCOuNooCJVtI7En49eeSVtcleyzw557i7GR00vkSHt/+CycQiZS1x5SVOHgbJrV9dPxs/H+g== X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 51I0KpY73183214 On 2025-02-17 16:34, Sam Edge via Cygwin wrote: > On 17/02/2025 23:21, Brian Inglis via Cygwin wrote: >> On 2025-02-17 07:48, Marco Atzeri via Cygwin wrote: >>> On 17/02/2025 15:31, Sam Edge via Cygwin wrote: >>>> On 17/02/2025 11:29, Federico Kircheis via Cygwin wrote: >>>> >>>> I mentioned this a while ago but the 'units' package also has a dependency >>>> on 'python39' and 'python39-requests'. This is purely because of the >>>> currency updater script (/usr/bin/unit_cur) I believe. >>>> >>>> I suspect that most people who want units want it for its physical unit >>>> conversion functionality and the proportion using it for up-to- date >>>> currency conversion is probably pretty small. >>>> >>>> Considering this, might it be an idea to remove those dependencies? >>>> >>> >>> side effect of our builing tool automatism. >>> Removing this type of dependencies is a manual additional operation. >>> >>> We should modify cygport to allow some dependecies to be excluded. >>> >>> Time to look on it. >> >> Similar to other packages like this, we could split into subpackage python- >> units-currency-updater, require it from the main package, and announce it will >> not be automatically installed in the next release, and will have to be >> selected in setup. >> In the following release, drop any dependency and announce that. >> Or do so in delayed -2 and -3 releases if upstream is not updated, as it is >> sometimes a year or two between updates, often depending on changes in >> standards? See https://ftpmirror.gnu.org/units/ for dates. >> I could prep a test release -2 and announcement, and at some future time (how >> long?) if no upstream updates, untest to current stable; similarly thereafter >> with -3? >> > > I think Marco's idea of introducing a mechanism to override the auto-depends in > cygport would make more sense and be more generic. > > The more long term solution might be to extend the setup.ini (and setup exe) > semantics to have the concepts of 'required' & 'optional' or 'suggested' > packages similar to other package managers. Considerably more work of course. I think we both have cygport patches we maintain locally and have offered which were not incorporated as utility did not outweigh stability nor generality. In this case, I would have to manually add the dependency, as there is no deducible connection between the python subpackage and the base subpackage, similar to -doc subpackages, so could easily reverse the dependency from units -> updater to updater -> units. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple