From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 76DDF3858D39 for ; Sat, 11 Dec 2021 16:55:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 76DDF3858D39 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-wm1-x335.google.com with SMTP id i12so9014644wmq.4 for ; Sat, 11 Dec 2021 08:55:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=IaxniSdY5F7adbo/uyRUCWev4MpUtRZgYIQVVoC9cQQ=; b=ISxYVmSW9he1y9F+pVQjkQN6Ma8rgoa9creeQy4aK53sEWP5qsT2Gg5NfuVlrsW6Ew 6NJTkh7AuUGnAeivPhrZUJkfJbhDyLlPHpPUy5nfVoVF9JXPGaTCUukS7zwdaewhXqHT SMr6fA5ENQQ2EJn1b8nkRQzOOSUwBpt1ENFo4uUY/r+pYwk+XN2VDcL4J4sKHHRg1Ovt immf7iW3C2z1h9iMq4Vth2W6N7JS7b96cIUs+OQWtOg8rhYwrhxoUG/dM0e6Hsp0noXC IgHWo3rFEyXCMmvcErLgx6S+tEBkkRiIUpeDhkg14pjKObh8UCGnzeI2BEAhZJSZ5ozt rB8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=IaxniSdY5F7adbo/uyRUCWev4MpUtRZgYIQVVoC9cQQ=; b=aPkswTLUUZvJvVsnNdrfOnsRFPMkS/c8E8lm8wp+06g9fOEGY1FSm0SUgz/vwDEz3s Rxx4BMI0PnDlck5LEEUaJyFuGoL++JXMK93jk28Ps/X/REmWozt6x6AykPGu54gZfY/X zKYkMlA84RmlzsfwhvKY3lvWA2W43ax09ZbFayYr6DHmkkWC2DhuIGQ5sK2pF5vnOSVD UX+Ki1UVFA26CpFEOt9uY8Cb5IqrKKGRQXJVTgB/DaHjCwQ5cHHZLs0JIMhrmJyFvqkK 9sSibow0sobuoj+nb8Pq9Elx9qi7if7JU2Yvtkuy7AUzz6F4MmsAcQLAxXC2/R+3Apke FXfQ== X-Gm-Message-State: AOAM532drW1dx47lJt/CNWwN6FtyLOy4N9WBq4vDlGW4XIDO50nE0+Tm OLkwZfu9hsP/g0qxTKsftYTAyJuNhuA= X-Google-Smtp-Source: ABdhPJzl6ZC8Cc1PqE2NL95A5qeCV9i0W7Ow6MAMogylPm4Macu46+NP81K4/N657O4pfr+HAs281g== X-Received: by 2002:a05:600c:1549:: with SMTP id f9mr24963353wmg.118.1639241732519; Sat, 11 Dec 2021 08:55:32 -0800 (PST) Received: from ?IPV6:2003:cc:9f31:988a:88e5:489d:c24c:f6f9? (p200300cc9f31988a88e5489dc24cf6f9.dip0.t-ipconnect.de. [2003:cc:9f31:988a:88e5:489d:c24c:f6f9]) by smtp.gmail.com with ESMTPSA id g13sm7314263wrd.57.2021.12.11.08.55.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 11 Dec 2021 08:55:32 -0800 (PST) Content-Type: multipart/mixed; boundary="------------BSaRGcVvBYG5RF9P080T1ybr" Message-ID: Date: Sat, 11 Dec 2021 17:55:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: distutils adoption means cygwin-specific patches will be lost Content-Language: it To: "Jason R. Coombs" , "cygwin@cygwin.com" References: <94880E76-90FA-4B7A-B5F5-80CB3AD55BC0@jaraco.com> From: Marco Atzeri In-Reply-To: <94880E76-90FA-4B7A-B5F5-80CB3AD55BC0@jaraco.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2021 16:55:35 -0000 This is a multi-part message in MIME format. --------------BSaRGcVvBYG5RF9P080T1ybr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11.12.2021 17:19, Jason R. Coombs wrote: > The Setuptools project is adopting distutils from the Python standard library. It’s doing this to unify the implementation and allow it to evolve again. > > In Setuptools 48 and Setuptools 50, Setuptools made the adopted distutils the default (causing “import distutils” to resolve to `setuptools._distutils` and thus bypass any patches that may have been applied to distutils as found in the stdlib) with an escape hatch: by setting SETUPTOOLS_USE_DISTUTILS=stdlib. Due to incompatibilities identified with this ereleases, the behavior of using the local distutils by default was rolled back. > > In about a week’s time, Setuptools will make the local distutils the default again. Users can preview the behavior on existing releases by setting SETUPTOOLS_USE_DISTUTILS=local and opt out with the escape hatch. > > Until recently, no one from the Cygwin project has reached out, but recently, mkoeppe did mention the concern leading to the filing of https://github.com/pypa/distutils/issues/73. > > The Setuptools/distutils project would be happy to facilitate supporting Cygwin in the new environment without monkey patching, either through direct support of the platform or through hooks that allow the platform to customize the behavior (and probably a mix). Please reach out on the issue to uncover any emergent issues and to devise a design for long term support. > > Regards, > Jason R. Coombs > Hi Jason, currently we are not using any patch on SetupTools Last I packaged is 59.5.0 for python 3.6 to 3.9 https://cygwin.com/packages/summary/python-setuptools-src.html there are several patches on Python source that include the distutil portion I just updated the patches used on last binaries on : http://cygwin.com/git/cygwin-packages/python39.git http://cygwin.com/git/cygwin-packages/python39.git they are almost identical General information on our python packages are also on: https://cygwin.com/packages/summary/python38-src.html https://cygwin.com/packages/summary/python39-src.html --------------BSaRGcVvBYG5RF9P080T1ybr Content-Type: text/plain; charset=UTF-8; name="3.8-distutils-cygwin.patch" Content-Disposition: attachment; filename="3.8-distutils-cygwin.patch" Content-Transfer-Encoding: base64 LS0tIG9yaWdzcmMvUHl0aG9uLTMuOC4wYTQvTGliL2Rpc3R1dGlscy9jeWd3aW5jY29tcGls ZXIucHkJMjAxOS0wNS0wNiAxNDozMDoyNS4wMDAwMDAwMDAgLTA0MDAKKysrIHNyYy9QeXRo b24tMy44LjBhNC9MaWIvZGlzdHV0aWxzL2N5Z3dpbmNjb21waWxlci5weQkyMDE5LTA1LTE5 IDE0OjM1OjU1Ljg3MjI2NzMwMCAtMDQwMApAQCAtOTIsOSArOTIsNyBAQCBjbGFzcyBDeWd3 aW5DQ29tcGlsZXIoVW5peENDb21waWxlcik6CiAgICAgY29tcGlsZXJfdHlwZSA9ICdjeWd3 aW4nCiAgICAgb2JqX2V4dGVuc2lvbiA9ICIubyIKICAgICBzdGF0aWNfbGliX2V4dGVuc2lv biA9ICIuYSIKLSAgICBzaGFyZWRfbGliX2V4dGVuc2lvbiA9ICIuZGxsIgotICAgIHN0YXRp Y19saWJfZm9ybWF0ID0gImxpYiVzJXMiCi0gICAgc2hhcmVkX2xpYl9mb3JtYXQgPSAiJXMl cyIKKyAgICBzaGFyZWRfbGliX2V4dGVuc2lvbiA9ICIuZGxsLmEiCiAgICAgZXhlX2V4dGVu c2lvbiA9ICIuZXhlIgogCiAgICAgZGVmIF9faW5pdF9fKHNlbGYsIHZlcmJvc2U9MCwgZHJ5 X3J1bj0wLCBmb3JjZT0wKToKLS0tIG9yaWdzcmMvUHl0aG9uLTMuOC4wYTQvTGliL2Rpc3R1 dGlscy91bml4Y2NvbXBpbGVyLnB5CT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