unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 70855@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#70855] [PATCH 12/92] gnu: python-docker-pycreds: Move to pyproject-build-system.
Date: Fri, 10 May 2024 00:53:07 +0200	[thread overview]
Message-ID: <20240509225530.24649-12-ngraves@ngraves.fr> (raw)
In-Reply-To: <20240509225530.24649-1-ngraves@ngraves.fr>

* gnu/packages/docker.scm (python-docker-pycreds):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:test-flags>: Use it.
  <#:phases>: Remove uneeded field.
  [native-inputs]: Remove python-pytest-cov and python-flake8. Add
  python-setuptools, python-wheel.

Change-Id: Idde93a366fa187d2af915ed15801da2cdbaa3792
---
 gnu/packages/docker.scm | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index b18de182fe5..de1baa15172 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com>
 ;;; Copyright © 2021, 2022 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -35,6 +36,7 @@ (define-module (gnu packages docker)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix utils)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
@@ -47,6 +49,7 @@ (define-module (gnu packages docker)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
@@ -151,19 +154,12 @@ (define-public python-docker-pycreds
         (sha256
          (base32
           "1m44smrggnqghxkqfl7vhapdw89m1p3vdr177r6cq17lr85jgqvc"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-versioning
-           (lambda _
-             (substitute* "test-requirements.txt"
-               (("3.0.2") ,(package-version python-pytest))
-               (("2.3.1") ,(package-version python-pytest-cov))
-               (("2.4.1") ,(package-version python-flake8)))
-             #t)))))
+     (list  ; XXX: These tests require docker credentials to run.
+      #:test-flags '(list "--ignore=tests/store_test.py")))
     (native-inputs
-     (list python-flake8 python-pytest python-pytest-cov))
+     (list python-pytest python-setuptools python-wheel))
     (propagated-inputs
      (list python-six))
     (home-page "https://github.com/shin-/dockerpy-creds")
-- 
2.41.0





  parent reply	other threads:[~2024-05-09 22:57 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-09 22:40 [bug#70855] [PATCH 00/92] python-team patches Nicolas Graves via Guix-patches via
2024-05-09 22:52 ` [bug#70855] [PATCH 01/92] gnu: python-seaborn: Correct dependencies Nicolas Graves via Guix-patches via
2024-05-09 22:52   ` [bug#70855] [PATCH 02/92] gnu: python-transient: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:52   ` [bug#70855] [PATCH 03/92] gnu: python-black: " Nicolas Graves via Guix-patches via
2024-05-09 22:52   ` [bug#70855] [PATCH 04/92] gnu: python-isort: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 05/92] gnu: python-codespell: Improve package style Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 06/92] gnu: python-mutagen: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 07/92] gnu: python-http-ece: Update to 1.2.0 Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 08/92] gnu: python-zope-i18nmessageid: Update to 5.1.1 Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 09/92] gnu: python-aionotify: Update to 0.3.0 Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 10/92] gnu: vdirsyncer: Move to pyproject-build-system and enable tests Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 11/92] gnu: python-django-localflavor: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` Nicolas Graves via Guix-patches via [this message]
2024-05-09 22:53   ` [bug#70855] [PATCH 13/92] gnu: Add xcffibgen Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 14/92] gnu: Add ghc-language-python Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 15/92] gnu: python-xcffib: Move to (gnu packages xorg) Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 16/92] gnu: qtile: Update to 0.23.0 Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 17/92] gnu: qtile: Improve package style Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 18/92] gnu: sshuttle: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 19/92] gnu: python-apiron: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 20/92] gnu: python-alembic: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 21/92] gnu: conda: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 22/92] gnu: conda: Reindent Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 23/92] gnu: python-conda-package-handling: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 24/92] gnu: python-scikit-rf: Fix tests Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 25/92] gnu: gunicorn: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 26/92] gnu: python-arrow: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 27/92] gnu: dynaconf: Improve package style Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 28/92] gnu: zulip-term: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 29/92] gnu: python-pypujs: Improve package style Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 30/92] gnu: python-dateutil: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 31/92] gnu: python-nbval: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 32/92] gnu: python-asdf-astropy: Fix build Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 33/92] gnu: python-pytest-runner: Improve package style Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 34/92] gnu: gunicorn: Update to 21.2.0 Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 35/92] gnu: python-unidecode: Update to 1.3.8 Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 36/92] gnu: python-cbor2: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 37/92] gnu: python-tinycss: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 38/92] gnu: behave: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 39/92] gnu: python-cucumber-tag-expressions: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 40/92] gnu: python-flask-login: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 41/92] gnu: python-parse-type: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 42/92] gnu: python-amqp: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 43/92] gnu: python-cbor: Update home-page Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 44/92] gnu: python-sphinx: Ignore failing tests Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 45/92] gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 46/92] gnu: abjad: Update to 3.19 Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 47/92] gnu: abjad-ext-rmakers: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 48/92] gnu: abjad-ext-nauert: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 49/92] gnu: python-pytest-remotedata: Ignore failing test Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 50/92] gnu: python-pytest-toolbox: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 51/92] gnu: python-cairosvg: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 52/92] gnu: python-docspec-python: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 53/92] gnu: python-jaraco-classes: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 54/92] gnu: python-jaraco-context: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 55/92] gnu: python-jaraco-functools: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 56/92] gnu: python-jaraco-packaging: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 57/92] gnu: python-jaraco-test: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 58/92] gnu: python-nbstripout: " Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 59/92] gnu: Add ghc-xcb-types Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 60/92] gnu: python-sparse: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 61/92] gnu: python-pytest-enabler: Break dependency cycle Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 62/92] gnu: python-pint: Disable benchmark tests Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 63/92] gnu: python-apprise: Improve package style Nicolas Graves via Guix-patches via
2024-05-09 22:53   ` [bug#70855] [PATCH 64/92] gnu: python-autoflake: Update to 2.3.1 Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 65/92] gnu: python-orderedmultidict: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 66/92] gnu: python-shtab: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 67/92] gnu: python-flake8-isort: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 68/92] gnu: python-xmltodict: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 69/92] gnu: python-rich: Update to 13.7.1 Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 70/92] gnu: python-cmd2: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 71/92] gnu: Add python-sphinx-autodoc-typehints-5 Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 72/92] gnu: python-uqbar: Improve package style Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 73/92] gnu: python-uqbar: Upgrade to python-team branch Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 74/92] gnu: python-uqbar: Update to 0.6.9 Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 75/92] gnu: python-typeguard-4: Ignore failing tests Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 76/92] gnu: python-zope-i18nmessageid: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 77/92] gnu: python-funsor: Ignore flaky test Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 78/92] gnu: borgmatic: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 79/92] gnu: tuir: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 80/92] gnu: python-pytest-trio: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 81/92] gnu: python-fenics-dijitso: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 82/92] gnu: python-pyan3: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 83/92] gnu: python-numpydoc: Move to pyproject-build-sytem Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 84/92] gnu: python-multidict: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 85/92] gnu: python-warcio: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 86/92] gnu: python-certauth: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 87/92] gnu: python-matplotlib: Ignore failing tests Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 88/92] gnu: python-qemu-qmp: Improve package style Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 89/92] gnu: python-qemu-qmp: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 90/92] gnu: python-cssselect2: " Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 91/92] gnu: python-notebook: Add python-jupyter-server native-input Nicolas Graves via Guix-patches via
2024-05-09 22:54   ` [bug#70855] [PATCH 92/92] build-system/pyproject: Add missing native-inputs Nicolas Graves via Guix-patches via
2024-05-23 21:17 ` bug#70855: [PATCH 00/92] python-team patches Nicolas Goaziou via Guix-patches via

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20240509225530.24649-12-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=70855@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).