all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: lars@6xq.net
Cc: 63139@debbugs.gnu.org
Subject: [bug#63139] [PATCH python 02/20] gnu: Add python-pyproject-hooks.
Date: Thu, 25 May 2023 03:23:56 +0000	[thread overview]
Message-ID: <Y5qAdt4TdkmNIsvXRVhm38D436JOjBnI6J687yoGqTtToTKnMLxu2vwuF_FMm3Oln36t8ZDMkwoauXC8TYUbM_rgc15fng-oxOjN_TwOUrU=@protonmail.com> (raw)
In-Reply-To: <ZFi2WS/xeK5bWqwx@noor.fritz.box>

[-- Attachment #1: Type: text/plain, Size: 2711 bytes --]

Hi Lars

Apologies for the delayed response (meant to earlier), top posting, and the formatting. The reason for all three is that I'm currently away from a proper computer for a few weeks but I'll be back at the beginning of June and can start hacking away then. Of course, happy to be beat to the job or have anything to build off of.

I'm not sure of any other deep python breakages, but definitely something to look at for the python branch. Although I'm not python expert, especially at packaging, I should probably add myself to the team when I'm back as well.

Thanks for the details and information, that's very helpful and sounds like a roadmap to have a clean and updated toolchain here.

John
-------- Original Message --------
On May 8, 2023, 3:44 PM, Lars-Dominik Braun wrote:

> Hi, > From what I remember and > thought, the newer python-pypa-build needs python-pyproject-hooks. > Which itself would be built with pyproject-build-system, creating a > circular dependency. ah, yes, you’re right. For some reason the current pyproject-build-system differs from my original proposal and bundles python-pypa-build in python-toolchain (even though it is not used). As we can see from this example doing so is a very very bad idea (because it leads to cycles). > But, I don't know anything about flit_core and > that system. So you are saying flit_core is used to build each of > these without a cycle then? > Can you layout what the new structure would be for updating > python-pypa-build with python-pyproject-hooks then? (And then > deprecate pep517.) In theory that would be possible if python-toolchain did not depend on pypa-build. Looking at the respective pyproject.toml files flit-core is entirely self-contained and can be built using itself. Then you can build pyproject-hooks, packaging and tomli using flit-core. And then pypa-build can be built using flit-core and all of the previous packages as dependencies. poetry-core is also self-contained and can be built without any dependencies (and the full poetry should never be required to build any project, but obviously packages in Guix use it for that purpose -.-). But none of this is really necessary, because – again – pypa-build is not used by pyproject-build-system. So I propose the following: - Create a python-team branch. - Use python-sans-pip-wrapper as default-python in pyproject-build-system, like I originally proposed and add python-setuptools/python-wheel where necessary. - Implement backend-path in pyproject-build-system, so we can bootstrap flit-core/poetry-core/… properly. - Expose ensure-no-mtimes-pre-1980 (#63044). - Finally fix python-yubikey-manager. Anything else that’s broken right now? Cheers, Lars

[-- Attachment #2: Type: text/html, Size: 2863 bytes --]

  reply	other threads:[~2023-05-25  3:25 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28  5:44 [bug#63139] [PATCH python 00/20] Updates for pyproject-build-system, poetry, python-yubikey-manager John Kehayias via Guix-patches via
2023-04-28  5:49 ` [bug#63139] [PATCH python 01/20] gnu: Add python-installer John Kehayias via Guix-patches via
2023-04-28  5:50 ` [bug#63139] [PATCH python 02/20] gnu: Add python-pyproject-hooks John Kehayias via Guix-patches via
2023-05-01  6:58   ` Lars-Dominik Braun
2023-05-04 22:04     ` John Kehayias via Guix-patches via
2023-05-08  8:44       ` Lars-Dominik Braun
2023-05-25  3:23         ` John Kehayias via Guix-patches via [this message]
2023-05-25 17:53           ` Lars-Dominik Braun
2023-04-28  5:50 ` [bug#63139] [PATCH python 03/20] gnu: Add python-rapidfuzz John Kehayias via Guix-patches via
2023-04-28  5:50 ` [bug#63139] [PATCH python 04/20] gnu: python-crashtest: Update to 0.4.1 John Kehayias via Guix-patches via
2023-04-28  5:50 ` [bug#63139] [PATCH python 05/20] gnu: python-cleo: Update to 2.0.1 John Kehayias via Guix-patches via
2023-04-28  5:50 ` [bug#63139] [PATCH python 06/20] gnu: Add python-deepdiff John Kehayias via Guix-patches via
2023-04-28  5:50 ` [bug#63139] [PATCH python 07/20] gnu: python-platformdirs: Update to 3.2.0 John Kehayias via Guix-patches via
2023-04-28  5:50 ` [bug#63139] [PATCH python 08/20] gnu: python-filelock: Update to 3.12.0 John Kehayias via Guix-patches via
2023-04-28  5:50 ` [bug#63139] [PATCH python 09/20] gnu: python-distlib: Update to 0.3.6 John Kehayias via Guix-patches via
2023-04-28  5:50 ` [bug#63139] [PATCH python 10/20] gnu: python-virtualenv: Update to 20.22.0 John Kehayias via Guix-patches via
2023-04-28  5:51 ` [bug#63139] [PATCH python 11/20] gnu: python-pkginfo: Update to 1.9.6 John Kehayias via Guix-patches via
2023-04-28  5:51 ` [bug#63139] [PATCH python 12/20] gnu: python-jsonschema: Update to 4.17.3 John Kehayias via Guix-patches via
2023-04-28  5:51 ` [bug#63139] [PATCH python 13/20] gnu: python-dulwich: Update to 0.21.3 John Kehayias via Guix-patches via
2023-04-28  5:51 ` [bug#63139] [PATCH python 14/20] gnu: Update python-pypa-build to 1.0.0 John Kehayias via Guix-patches via
2023-04-28  5:51 ` [bug#63139] [PATCH python 15/20] gnu: poetry: Fix build John Kehayias via Guix-patches via
2023-04-28  5:51 ` [bug#63139] [PATCH python 16/20] gnu: Add python-poetry-plugin-export John Kehayias via Guix-patches via
2023-04-28  5:51 ` [bug#63139] [PATCH python 17/20] gnu: python-pyscard: Update to 2.0.7 John Kehayias via Guix-patches via
2023-04-28  5:51 ` [bug#63139] [PATCH python 18/20] gnu: python-fido2: Update to 1.1.1 and enable tests John Kehayias via Guix-patches via
2023-04-28  5:52 ` [bug#63139] [PATCH python 19/20] gnu: Add python-makefun John Kehayias via Guix-patches via
2023-04-28  5:52 ` [bug#63139] [PATCH python 20/20] gnu: python-yubikey-manager: Update to 5.1.0 and enable tests John Kehayias via Guix-patches via
2024-02-02 20:43 ` [bug#63139] [PATCH python 00/20] Updates for pyproject-build-system, poetry, python-yubikey-manager Sharlatan Hellseher
2024-02-14 18:41 ` John Kehayias via Guix-patches via
2024-02-16 12:44   ` Lars-Dominik Braun
  -- strict thread matches above, loose matches on Subject: below --
2023-06-22  7:06 poetry not building Reza Housseini
2023-06-22  7:06 ` [bug#63139] " Reza Housseini
2023-06-22 20:28 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-06-22 20:52   ` Reza Housseini
2023-06-23  6:49 ` Lars-Dominik Braun
2023-07-31 16:02   ` John Kehayias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Y5qAdt4TdkmNIsvXRVhm38D436JOjBnI6J687yoGqTtToTKnMLxu2vwuF_FMm3Oln36t8ZDMkwoauXC8TYUbM_rgc15fng-oxOjN_TwOUrU=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=63139@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    --cc=lars@6xq.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.