From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by sourceware.org (Postfix) with ESMTPS id D4AC43858D20 for ; Tue, 11 Apr 2023 04:14:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D4AC43858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x632.google.com with SMTP id xi5so17094406ejb.13 for ; Mon, 10 Apr 2023 21:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681186447; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=eBLoXy8ROViPN8BxSdiH7EQSF/Y0wWgAwLbqr6qMIn4=; b=D+9goYpFaikf0NL2OCemF3gAWtZSFl6WIHXZ7Y4grs+zWDF+KIaAMjLWEMc2jebchW C7m1uXL0/HAPvtvf6di9a74cfJBWK7xafbENSYTY2RHUELAIh5FzmnpR1MKtKOn7hXl6 xIcs+CY9IiyDFQ+H0gRbpgTnt4BOmlco9D4UcSdKJrWm6Qpa4pN0/BeLLBICrpy+4/lb 2bz/GRngy+IgRkpW1v0ebMgmyBTIBtWsfJKLBBgtLWfPAG1s1E8P/EQdEpdXLnpc5n2B eTA6JR3ShiLfT2C9n2JqpstMUsgYxw2ljMD7U+eEYXoYem92Pb59A6ueEkYcmT8tpNOt e1ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681186447; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eBLoXy8ROViPN8BxSdiH7EQSF/Y0wWgAwLbqr6qMIn4=; b=AGhHexTYMSyP4nXmmiZyPOo/mlpz14K1EvoHboqNBwZShDn2gicrL9JkGhfHuq1BRE 3ke89BK0W/4KcJvfofAugKHqGXGxsMca1l+sFElQESXSgRnLDxAdG6Jn5rmw9nIZ4r24 HcbB9tzJuIoT0Q+hNhVvRS0BD2ndZXUa6rLQaxr/uwVmFBSc9vpR5sgxE1xYiNnGO7DA Nkx8DzITSYpHkY35wpBSsh+Vu4Y0O+w4rowee0OOGj90vFrMBlRhjNCmMzybO9D1Gm2Y lfG8QOssVlHNASB8BfwiunO5+r7ReklVqJUN4uyyrBkxAfshimC4BPeLuAlUWBJsduIn gFwg== X-Gm-Message-State: AAQBX9cQ14eMEctCQ9kl0p4P1TGWZkYeF9aNDXZ10ypgAU2rIqJiEKb3 O8vDc1Hp/shfTQoS2KIbK1KWMMudaTB7Cw== X-Google-Smtp-Source: AKy350bnCsTnVDLRXb6OQptuFLtEoXUHnRAwV9C16WiRZqVXlZeylp4vpiQ3Xx+E5qxFV8yGEKsnxQ== X-Received: by 2002:a17:906:2a48:b0:93b:1c78:5796 with SMTP id k8-20020a1709062a4800b0093b1c785796mr7892457eje.43.1681186447316; Mon, 10 Apr 2023 21:14:07 -0700 (PDT) Received: from ?IPV6:2001:a61:12fb:6801:913e:9832:1e2e:fa7f? ([2001:a61:12fb:6801:913e:9832:1e2e:fa7f]) by smtp.gmail.com with ESMTPSA id s27-20020a1709060c1b00b009475bd8f441sm5676192ejf.60.2023.04.10.21.14.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Apr 2023 21:14:06 -0700 (PDT) Message-ID: Date: Tue, 11 Apr 2023 06:14:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [ANNOUNCEMENT] cygport 0.36.1-1 To: Jon Turney , "cygwin-apps@cygwin.com" References: <1f2f0726-e46e-afd8-7f43-c4719f2c0f04@gmail.com> Content-Language: it From: Marco Atzeri In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_NUMSUBJECT,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 26.03.2023 18:43, Jon Turney wrote: > On 11/03/2023 20:15, Marco Atzeri via Cygwin-apps wrote: >> On 11.03.2023 17:29, Jon Turney via Cygwin wrote: >>> >>> The following packages have been uploaded to the Cygwin distribution: >>> >>> * cygport-0.36.1-1 >>> >> >> Hi Jon, >> >> I was a bit too late... > > No problem, I can always make more releases! > >> Updating the python 3.[89] subpackages, I finally hit >> a case where setup.py and setup.cfg are missing as obsolete. >> >> Attached patch solved the issue and allowed to build >> python-platformdirs-3.1.1-1 > > Thanks. > > I'm not sure if always emitting a warning if pyproject.toml is missing > is good idea, so I might do a bit of tweaking, but I applied this patch. > > (as that will probably warn if you ever try to build an old version of a > project, which is still perfectly buildable due to having a setup.py) > Hi Jon, what about his form ? if [ ! -e pyproject.toml ] then warning "No pyproject.toml (PEP 518) detected in source tree" warning "Trying previous Distutils method." if [ ! -e setup.py ] && [ ! -e setup.cfg ] then error "No Python Distutils module neither pyproject.toml (PEP 518) detected in source tree" fi fi I would any some version of it released before I upload the git source that has only pyproject.toml. Otherwise scullywag will fail the build. Regards Marco