From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6BCrM169pWV2sQAAe85BDQ:P1 (envelope-from ) for ; Tue, 16 Jan 2024 00:18:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6BCrM169pWV2sQAAe85BDQ (envelope-from ) for ; Tue, 16 Jan 2024 00:18:54 +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=MuG14TmK; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705360734; 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=BRhIuYcyn3cuH8bvGtXt6UI557EOhvrLnxvV4Jo371YmxKLzG7fF3hIY8VZpHmN9tJOlPZ /4s863VdjB77X0U8XAL31K7akw0tbGKS7DrtULciR1qVpRjaqLmKpIE6DYxGI4VT3Fqd0g Cd3wZQyOJK00WBI4KZpVKCiFGNdc8zCwf1Iv4wvFxLCV1xUG7Xvi6KeFnFhAoFIGzNhS6u jnZtY3F4fjK7HBSFbYzZnGwcfhSMXUAJwCm+v7XIkZJn07ium8zDG/0VO7e3h+Rac4SlNz gNOaBqLlFe+kuhSPfATN2obZ08/hv3k5qhabODOFts9YpALldsD2NeGUAuWR6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=MuG14TmK; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705360734; a=rsa-sha256; cv=none; b=WgXqswjL6GGdOd7O3ZLjUzyBawkqeP01cLq+m0iryHn/WaftjNpLp4c4+0cBn8UzSoMxqx ULmVVls82CYpPkrqmwwVqovaW1yJrcck1eLx7vg/aUV6qMCgNf+pkEHrIr4x35xFXB+1vL LzRh28C0VECGcOOaACEGsqCrfqY9zkTSvtyeuQiqmxw4qtfSSTxoSP4Rc/ohIbgzw93RMp D2Onx2OVyV8FxGS3yHIuoiN36x0YaDQ9NB699zAcwYyAnBvSfRGujGoRhPaWZskUevtxbz wplQNOPcbWFzT/qIeOW9/36p6k4rKcFjQuHhdY1rmXAhNJPrYhMDxRF+M/kGLQ== 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 65F15158FB for ; Tue, 16 Jan 2024 00:18:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPVmT-0001Es-Mu; Mon, 15 Jan 2024 17:50:10 -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 1rPVmN-0001EP-7E for guix-patches@gnu.org; Mon, 15 Jan 2024 17:50: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 1rPVmM-0002f0-Tv for guix-patches@gnu.org; Mon, 15 Jan 2024 17:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPVmM-0007VS-TS for guix-patches@gnu.org; Mon, 15 Jan 2024 17:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68491] [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:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68491 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 68491@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 68491-submit@debbugs.gnu.org id=B68491.170535899528821 (code B ref 68491); Mon, 15 Jan 2024 22:50:02 +0000 Received: (at 68491) by debbugs.gnu.org; 15 Jan 2024 22:49:55 +0000 Received: from localhost ([127.0.0.1]:47232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPVmE-0007Un-Eb for submit@debbugs.gnu.org; Mon, 15 Jan 2024 17:49:54 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]:40757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPVmA-0007UR-SP for 68491@debbugs.gnu.org; Mon, 15 Jan 2024 17:49:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1705358990; bh=38cSCbXIEGZV3YZ+lv4mo7e+TRKkdLoCx1p0vUKrbJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MuG14TmK9QboSRz8NZiFDBd/Gw9wjMvr8qEwH9FJUmnoGX2DbBIWwv2asNHURwfEo vTFYvYjnsExDHNA8NYWQBYoBIu3cJ8WA9j1ZLXwXSiCU5ZZR28JXDO3gs6O1WOoORd gXRdxncB9hXGnTFnqXIU7D4GT2COZeyveOZwVazc= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TDS5B1Bd2z114C; Mon, 15 Jan 2024 22:49:50 +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 4TDS5B0Nswz10v2; Mon, 15 Jan 2024 22:49:50 +0000 (UTC) Date: Mon, 15 Jan 2024 23:49:35 +0100 Message-ID: <20240115224938.29916-2-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240115224938.29916-1-goodoldpaul@autistici.org> References: <20240115224938.29916-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.29 X-Spam-Score: -7.29 X-Migadu-Queue-Id: 65F15158FB X-Migadu-Scanner: mx12.migadu.com X-TUID: jC0Yea6ZkQUs * 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