From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YGVAO829pWWbDgAAe85BDQ:P1 (envelope-from ) for ; Tue, 16 Jan 2024 00:20:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YGVAO829pWWbDgAAe85BDQ (envelope-from ) for ; Tue, 16 Jan 2024 00:20:46 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=EULrKlUD; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705360845; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=38cSCbXIEGZV3YZ+lv4mo7e+TRKkdLoCx1p0vUKrbJg=; b=RBveWUgOwa6hXAoixOEpXTxLLgKbXRgsjIfm9tTd+bAtdupiUiT/gcv/yac9ZFPKr6UFRk 39G3UE7w+suYX9G0Gymp90ONeize/KjKmwRtB8avZrPh15shP7XFY2wvkaRqtNj57aDMFw Hh8XsMMe7IGV677bbbdycf/bLFWOyUEpLzI2TjAm0N2sziw4tk5yXgZFi6uWjVm4DCNe6/ AW7YI0lbKnJAMYU+mHrBux9mv41/mRmPHJ1DqQOdG1pY9SRiLhdZKN2mJcmqdf454BZYMp ildTabGVPJAbDJEHpwR+owqkm9gNUlOetnFdyRPfy9CaawmNq7A8/AuaZFzvxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=EULrKlUD; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705360845; a=rsa-sha256; cv=none; b=Hi5pLXCEVZ3bp7fHEp3TSG++vd/YIKs62IidHhbYLyFCaO6n0tCYYfyoe5jWxLuKutb3BE DitR7Mr7DiZqs9TJ8ubU8naFo9IeOuCrAM/M9UtIessACfLhmXLKT3YFVB9RQMvjqXN/Y7 LhW1zrbq7HgbnqmnZrFAP41dve0K6dCoxRoo3LnlBGfbNsl4Qxfi/w3FLCr+zh6wRXwJjO ba0qI/y5l2ZCcRwTIa7D/0rZLQzyhXvycTJEf969jBVlHqKqyRGdcdypO46oBtxmu2Zg/4 KbzOZEr+mE8ZL9RnuvTlx47LdHshZqXpI9I9i5JdZkwQ+5sIr5vkqt9v+OhCeg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C331569748 for ; Tue, 16 Jan 2024 00:20:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPVjf-00085H-F1; Mon, 15 Jan 2024 17:47:17 -0500 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 1rPVjS-00084j-WD for guix-patches@gnu.org; Mon, 15 Jan 2024 17:47:03 -0500 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 1rPVjS-00027B-Nn for guix-patches@gnu.org; Mon, 15 Jan 2024 17:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPVjS-0007Ix-Ns for guix-patches@gnu.org; Mon, 15 Jan 2024 17:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68490] [PATCH 2/2] gnu: Add python-apscheduler. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Jan 2024 22:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68490 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68490@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170535878126186 (code B ref -1); Mon, 15 Jan 2024 22:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jan 2024 22:46:21 +0000 Received: from localhost ([127.0.0.1]:47202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPVim-0006nl-8b for submit@debbugs.gnu.org; Mon, 15 Jan 2024 17:46:20 -0500 Received: from lists.gnu.org ([2001:470:142::17]:51698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPVii-0006bD-LP for submit@debbugs.gnu.org; Mon, 15 Jan 2024 17:46:17 -0500 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 1rPViZ-0007YY-BE for guix-patches@gnu.org; Mon, 15 Jan 2024 17:46:08 -0500 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPViW-0001tb-MZ for guix-patches@gnu.org; Mon, 15 Jan 2024 17:46:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1705358753; bh=38cSCbXIEGZV3YZ+lv4mo7e+TRKkdLoCx1p0vUKrbJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EULrKlUDcpc2gB+vkjWPtHWhq6ZHIGxAEzV9o++LlE0evAcWniak52ima7QFGZI/V RI4Ve4aDycCCS0XpKYjOAPY2hM9DH28U3Fv0M2tswKEMCGDgzFrMk1iCj1HPUkks62 ZhsRjpAaDIZVKunqnOdaQ6gem87jvPxQCMlbHhQI= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TDS0d1gwhz1145; Mon, 15 Jan 2024 22:45:53 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4TDS0d0lnwz1142; Mon, 15 Jan 2024 22:45:53 +0000 (UTC) Date: Mon, 15 Jan 2024 23:44:47 +0100 Message-ID: <20240115224454.28915-2-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240115224454.28915-1-goodoldpaul@autistici.org> References: <20240115224454.28915-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=93.190.126.19; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.28 X-Migadu-Queue-Id: C331569748 X-Spam-Score: -7.28 X-Migadu-Scanner: mx11.migadu.com X-TUID: ZisR2id2rJL2 * gnu/packages/python-xyz.scm (python-apscheduler): New variable. Change-Id: Ib5964520a8d3c9c4711ba2ee4c5812241dc93423 --- gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1ca5d7f8fd..33be56ddb2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -63,7 +63,7 @@ ;;; Copyright © 2019, 2020 Alex Griffin ;;; Copyright © 2019, 2020, 2021, 2022, 2023 Pierre Langlois ;;; Copyright © 2019 Jacob MacDonald -;;; Copyright © 2019-2021, 2023 Giacomo Leidi +;;; Copyright © 2019-2021, 2023, 2024 Giacomo Leidi ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour ;;; Copyright © 2019, 2021-2023 Mădălin Ionel Patrașcu @@ -27217,6 +27217,43 @@ (define-public python-crontab access the system cron automatically and simply using a direct API.") (license license:lgpl3+))) +(define-public python-apscheduler + (package + (name "python-apscheduler") + (version "3.10.4") + (source (origin + (method url-fetch) + (uri (pypi-uri "APScheduler" version)) + (sha256 + (base32 + "0jpg9jyx95jafkq0hz6sx7r4l2z5gc599ivb9278kgnr4wdhgpz6")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-pytz + python-six + python-tzlocal)) + (native-inputs (list python-mock + python-twisted + python-gevent + python-setuptools-scm + python-sqlalchemy + python-setuptools + python-pyside-6 + python-pytest + python-pytest-asyncio + python-pytest-cov + python-pytest-tornado5)) + (home-page "https://github.com/agronholm/apscheduler") + (synopsis "Task scheduling library for Python") + (description "Advanced Python Scheduler (APScheduler) is a Python library +that lets you schedule your Python code to be executed later, either just once +or periodically. + +You can add new jobs or remove old ones on the fly as you please. If you store +your jobs in a database, they will also survive scheduler restarts and maintain +their state. When the scheduler is restarted, it will then run all the jobs it +should have run while it was offline.") + (license license:expat))) + (define-public python-pylzma (package (name "python-pylzma") -- 2.41.0