• Re: [gentoo-dev] [PATCH 00/11] distutils-r1.eclass: uv-build support, s

    From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to All on Wed Mar 26 09:40:01 2025
    On Wed, 2025-03-26 at 09:27 +0100, Ulrich Müller wrote:
    On Tue, 25 Mar 2025, Michał Górny wrote:

    5. We now make it easier to override the PEP517 backend used. You set    DISTUTILS_UPSTREAM_PEP517 to the backend used upstream, and    DISTUTILS_USE_PEP517 to the backend you want to use -- and you don't    have to edit build-backend in pyproject.toml anymore. Most packages    won't need it, and should just continue setting DISTUTILS_USE_PEP517.

    These variable names confuse me since some time. How are they related to distutils?


    The eclass is called 'distutils-r1', so 'distutils' is the namespace for
    all variables and functions.

    --
    Best regards,
    Michał Górny


    -----BEGIN PGP SIGNATURE-----

    iQFGBAABCgAwFiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAmfjuz8SHG1nb3JueUBn ZW50b28ub3JnAAoJEGOa2uIyniQOTHAH+gIBtvqKe+CM3EhBQSssOKPsRTdCp+Y2 DxYqVe5dFrVbQbSJ0chDT00+kCCzS0pJHFToJOAguMPUuhfJOA7jeybXenKYyW+j +qXLh5S2vsH4o/K0pi5KCI6ujQzKgdSmf6Q+hKokKvMLOHII98siApyjoWJMKMTF RHNl2KXfBMPKZbCQX24chxsW/w43Lwf2WAXfBhSOoCFqX0PFBoD3eTrbJcbc9eTE zBJ9vN3Uc60IfL14flVyE47bFllDNO8I7GxGNEiwn4g2LeY/ree819Gr1D2WpJe5 skNN5QG3uj9R/DK9Q6QDeR4SLWCoFOn5CLH39LDMIPIoIyPSvVs5kTU=
    =rJng
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?Q?Ulrich_M=C3=BCller?=@21:1/5 to All on Wed Mar 26 09:40:01 2025
    On Wed, 26 Mar 2025, Michał Górny wrote:

    On Wed, 2025-03-26 at 09:27 +0100, Ulrich Müller wrote:
    On Tue, 25 Mar 2025, Michał Górny wrote:

    5. We now make it easier to override the PEP517 backend used. You set
       DISTUTILS_UPSTREAM_PEP517 to the backend used upstream, and
       DISTUTILS_USE_PEP517 to the backend you want to use -- and you don't >> >    have to edit build-backend in pyproject.toml anymore. Most packages >> >    won't need it, and should just continue setting DISTUTILS_USE_PEP517.

    These variable names confuse me since some time. How are they related to
    distutils?

    The eclass is called 'distutils-r1', so 'distutils' is the namespace for
    all variables and functions.

    Then let me rephrase the question, why is the eclass called
    distutils-r1? How is it related to distutils?

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmfjvLwPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4uG6wH/RqqlW3Q4LzFEF1RRcQUIMK1dSWyvSnxAtuQ Tx9l0NE1nHORvPbLALwmmvlAt1Cjg2LWiGrx06QD8xh12vRIM0DsjyUXjm65u1fe vsruUchO0DGXH/6M2X0XEYaXenD3mDibBBL6l6CAYwsLS5qe76iNrdJof0IjnMOI gExIco1PpqI8EQth9BE5JBBM9epW6AmSTt2KaW6RewPzy72oRxQK42mcHE5UGzWu 9Lxh6DBmRNOHTU8vRBqZqRON1iiOLdEEqd+SnwTrjifTkkc9j9WvNexlSDQKAwzB V7c3GevCPqkGQhjvny5cLgSyXG4Glp3ZIyWHatmiWkiHsQWRSqc=aLvm
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?Q?Ulrich_M=C3=BCller?=@21:1/5 to All on Wed Mar 26 09:30:01 2025
    On Tue, 25 Mar 2025, Michał Górny wrote:

    5. We now make it easier to override the PEP517 backend used. You set
    DISTUTILS_UPSTREAM_PEP517 to the backend used upstream, and
    DISTUTILS_USE_PEP517 to the backend you want to use -- and you don't
    have to edit build-backend in pyproject.toml anymore. Most packages
    won't need it, and should just continue setting DISTUTILS_USE_PEP517.

    These variable names confuse me since some time. How are they related to distutils?

    Ulrich

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmfjuo0PHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4u4bcIAIg637QZl1skk6kMiSqs5XzqsGG2mLowOIlB TBABW+bcsEPnd84TUqKKt2iEkQwhiY8glpv8OtE/cb3muFSP0p//LFiP3Jr/azQa ifcNkGZhADDzbCwmJG5sn/NVbVtXefZw5YQPkAxH4bZGprUfEicpVtkPCJ5AT1eB CHcilqJiptR68ZV56LGA7DRR0qF6Kbcs0ygVoNhVmcHFcVq5QPdZ0LS3BHUxs8AW Di961CXuzrx3h5wmg1E/cWjW8hVWD3lIt4QUGUuji1fNGO7/7bPmzteNrQkAuxPQ mc0IagZkEhEmZBoda1N8tODfApBg6afgJpuYLWnbbeOID1EQnRo=iMCg
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to All on Wed Mar 26 09:50:02 2025
    On Wed, 2025-03-26 at 09:37 +0100, Ulrich Müller wrote:
    On Wed, 26 Mar 2025, Michał Górny wrote:

    On Wed, 2025-03-26 at 09:27 +0100, Ulrich Müller wrote:
    On Tue, 25 Mar 2025, Michał Górny wrote:

    5. We now make it easier to override the PEP517 backend used. You set    DISTUTILS_UPSTREAM_PEP517 to the backend used upstream, and    DISTUTILS_USE_PEP517 to the backend you want to use -- and you don't
       have to edit build-backend in pyproject.toml anymore. Most packages
       won't need it, and should just continue setting DISTUTILS_USE_PEP517.

    These variable names confuse me since some time. How are they related to distutils?

    The eclass is called 'distutils-r1', so 'distutils' is the namespace for all variables and functions.

    Then let me rephrase the question, why is the eclass called
    distutils-r1? How is it related to distutils?

    It is called distutils-r1 because it is a logical continuation of distutils.eclass which was named this way back in 2002, when its primary function was dealing with the distutils build system.

    --
    Best regards,
    Michał Górny


    -----BEGIN PGP SIGNATURE-----

    iQFGBAABCgAwFiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAmfjvb0SHG1nb3JueUBn ZW50b28ub3JnAAoJEGOa2uIyniQOUqIIAIrXbbaZEMwxJci+xoB6TNANSOTScvrV XYNXrITpow+oomjWZlsd43liMoUlfg9KsOPXdSTU/8BYpZnu3y+/r/EvcoBwYzhp rcqCbba3klgdNH2TTqAtyFVcNLSEJKzSdZxQOiG3KYc8YJT89CbMFZecSZJlolZS UnE1haQdEr5rbxcZPwnq7LQdCepCJHM5vksa+G9zKB2Av/7wIZXEaXg8a6dYm7ys rU9LOb9FiwfZhGzIL4AT7D1VMgy4PD8TM46fSs6s5O4pcdMwJglIqrEBSFhYEZrt C4DmCblK+QgeGwKrJw9r2tr+0Td3gcQoyDP0jy0CWX5Pl+O9K+QgMbc=
    =Ibxt
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)