From patchwork Fri Jun 21 18:38:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 65553 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 970EB27BBE9; Fri, 21 Jun 2024 19:42:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D393727BBE2 for ; Fri, 21 Jun 2024 19:42:36 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKjCG-0008SY-0h; Fri, 21 Jun 2024 14:41:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKjCD-0008PL-73 for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:13 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKjCC-0003R2-VZ for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKjCC-0004Tv-5m for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71702] [PATCH 26/30] gnu: Add python-schwimmbad. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jun 2024 18:41:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71702@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 71702-submit@debbugs.gnu.org id=B71702.171899524916914 (code B ref 71702); Fri, 21 Jun 2024 18:41:12 +0000 Received: (at 71702) by debbugs.gnu.org; 21 Jun 2024 18:40:49 +0000 Received: from localhost ([127.0.0.1]:43568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBp-0004Oe-BN for submit@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:49 -0400 Received: from mail-lf1-f50.google.com ([209.85.167.50]:61587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBY-0004Lh-5D for 71702@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:32 -0400 Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-52cd87277d8so841184e87.2 for <71702@debbugs.gnu.org>; Fri, 21 Jun 2024 11:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718995167; x=1719599967; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7hPPr8mx73ZX8w6qnRH0qjzyDfAI1N5jqlmLGOZg+Gk=; b=lp784wJZLBgZJmyu8qS/GyiPYVJr72BpoJPZck6Ux8T9r+wO+TbpSbymq8sS3MuXAi ZaI08FoJaZlNd4Z1O7Ya77N/Ek7IoVfm+wqGe1oFrpBWD4ujkrFYNK/93SgAqMspvdlG uatZWaxfbwEWP+YnFJJSY7nuU1K4syfl9F6QBSqhe7iQXH37eiF1A4O21Hvd8ge0Wztn YED3tCibU57ll/5651QyhPstkFOvLW9D5bM0bskMpnitPEiRrC3D8tEGCtjgy8HI87BJ VdqAH1aUfc6v5MhmaUgn9HY2Fb46eqw2bKPJ0efTAmiygWrZSYg64a9s3FINUZeI2FRS lOTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718995167; x=1719599967; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7hPPr8mx73ZX8w6qnRH0qjzyDfAI1N5jqlmLGOZg+Gk=; b=v/ePTglJiuUYYPEszMoIl9UdRIlYEwjC19EHLuYdMVXg6UypeBT/7+RG31qPCw/HJn n+fU3y+Ol1UYitRX+TA10kFQg+6ocYiChWlEiCNtn8cJ0EAXFk0k7i5NRLnDBBsnfDYC z2JMCxk0i+9KHxYCKVxl/PszY0L6l0ILhnkpCy4ygnqWpkEgeER/v7wKtwAMa2PAqdvC 8GOLbPnyqS7tjWdYJ3FUMqGBrQD2bISla4hBnge7Y0balm78dcXkCuluXwB7NyGjnwlv xyu7wHzU1MxCTh/XU3E6zJOU3y22Ro8FqRCHzMPx/pj6QuUCXwlmn77+y15Fi5Kzbb0p 3IFw== X-Gm-Message-State: AOJu0YyFmAD81PmemmqRd0x4EQHBOTscLMWNVauCIvclHRe1NnWuZ/rR OcweUq0isqh72jiJf7wgBtTAfPwsYw7Dl8DdCNOwVCFhBUsSnwLC3bN3DGyf X-Google-Smtp-Source: AGHT+IH6nJ7z0OHWWt1XWbhw4WexehmSaZ3a8oMED1j5dTbu+lrWTaCe0gRKvV2B90jsGcpts604sg== X-Received: by 2002:a19:910a:0:b0:52c:d5c7:d998 with SMTP id 2adb3069b0e04-52cd5c7dae6mr1613698e87.35.1718995166819; Fri, 21 Jun 2024 11:39:26 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4247d0b63d4sm76298985e9.3.2024.06.21.11.39.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 11:39:26 -0700 (PDT) From: Sharlatan Hellseher Date: Fri, 21 Jun 2024 19:38:48 +0100 Message-ID: <2c9f65175b8c269886d60b946ec38d9999f7a088.1718966788.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/parallel.scm (python-schwimmbad): New variable. Change-Id: Ica4bc3989222e3d70e7cfc170bcca953353f8259 --- gnu/packages/parallel.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 84436eaeac..a3ee60d568 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -36,6 +36,7 @@ (define-module (gnu packages parallel) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) #:use-module ((guix licenses) #:prefix license:) #:use-module ((guix utils) #:select (target-64bit?)) #:use-module (guix packages) @@ -56,6 +57,7 @@ (define-module (gnu packages parallel) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-science) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) @@ -410,6 +412,33 @@ (define-public slurm-drmaa cluster/resource management systems.") (license license:gpl3+))) +(define-public python-schwimmbad + (package + (name "python-schwimmbad") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "schwimmbad" version)) + (sha256 + (base32 "1aac1rswb0r0vzbxvjj2jyx5j0vqyjj7mygc71n9zbkpmr8m1rpg")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-dill + python-joblib + python-mpi4py + python-multiprocess)) + (native-inputs + (list python-hatch-vcs python-hatchling python-pytest)) + (home-page "https://github.com/adrn/schwimmbad") + (synopsis "Common interface for parallel processing pools") + (description + "@code{schwimmbad} provides a uniform interface to parallel processing +pools and enables switching easily between local development (e.g., serial +processing or with @code{multiprocessing}) and deployment on a cluster or +supercomputer (via, e.g., MPI or JobLib).") + (license license:expat))) + (define-public python-slurm-magic (let ((commit "73dd1a2b85799f7dae4b3f1cd9027536eff0c4d7") (revision "0"))