* [bug#68489] [PATCH 1/2] gnu: Add python-pytest-tornado5. @ 2024-01-15 22:44 Giacomo Leidi via Guix-patches via 2024-01-15 22:44 ` [bug#68490] [PATCH 2/2] gnu: Add python-apscheduler Giacomo Leidi via Guix-patches via 2024-01-15 22:47 ` bug#68489: " paul via Guix-patches via 0 siblings, 2 replies; 4+ messages in thread From: Giacomo Leidi via Guix-patches via @ 2024-01-15 22:44 UTC (permalink / raw) To: 68489; +Cc: Giacomo Leidi * gnu/packages/check.scm (python-pytest-tornado5): New variable. Change-Id: I9843e91d750bf17128eb6f566b8dbb5cbc0d8278 --- gnu/packages/check.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index b475aea8ae..49a5f42ca8 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2023 Reza Housseini <reza@housseini.me> ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space> ;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com> +;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -3573,6 +3574,29 @@ (define-public python-pytest-regressions that can be used to verify that future runs produce the same data.") (license license:expat))) +(define-public python-pytest-tornado5 + (package + (name "python-pytest-tornado5") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "pytest-tornado5" version)) + (sha256 + (base32 + "0qb62jw2w0xr6y942yp0qxiy755bismjfpnxaxjjm05gy2pymr8d")))) + (build-system pyproject-build-system) + (arguments + ;; Tests require pytest < 6 + (list #:tests? #f)) + (propagated-inputs (list python-pytest python-tornado)) + (home-page "https://github.com/vidartf/pytest-tornado") + (synopsis + "Fixtures and markers to simplify testing of Tornado applications") + (description + "This package provides a @code{py.test} plugin providing fixtures and markers to +simplify testing of asynchronous tornado applications.") + (license license:asl2.0))) + (define-public guile-proba (package (name "guile-proba") base-commit: 19db1551dc6f6180d2cda9084c2dec37bf4923c9 -- 2.41.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#68490] [PATCH 2/2] gnu: Add python-apscheduler. 2024-01-15 22:44 [bug#68489] [PATCH 1/2] gnu: Add python-pytest-tornado5 Giacomo Leidi via Guix-patches via @ 2024-01-15 22:44 ` Giacomo Leidi via Guix-patches via 2024-01-15 22:47 ` bug#68490: Close issue paul via Guix-patches via 2024-01-15 22:47 ` bug#68489: " paul via Guix-patches via 1 sibling, 1 reply; 4+ messages in thread From: Giacomo Leidi via Guix-patches via @ 2024-01-15 22:44 UTC (permalink / raw) To: 68490; +Cc: Giacomo Leidi * 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 <a@ajgrf.com> ;;; Copyright © 2019, 2020, 2021, 2022, 2023 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com> -;;; Copyright © 2019-2021, 2023 Giacomo Leidi <goodoldpaul@autistici.org> +;;; Copyright © 2019-2021, 2023, 2024 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz> ;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour <tanguy@bioneland.org> ;;; Copyright © 2019, 2021-2023 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de> @@ -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 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#68490: Close issue 2024-01-15 22:44 ` [bug#68490] [PATCH 2/2] gnu: Add python-apscheduler Giacomo Leidi via Guix-patches via @ 2024-01-15 22:47 ` paul via Guix-patches via 0 siblings, 0 replies; 4+ messages in thread From: paul via Guix-patches via @ 2024-01-15 22:47 UTC (permalink / raw) To: 68490-done This issue was opened by mistake, apologies for the noise. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#68489: Close issue 2024-01-15 22:44 [bug#68489] [PATCH 1/2] gnu: Add python-pytest-tornado5 Giacomo Leidi via Guix-patches via 2024-01-15 22:44 ` [bug#68490] [PATCH 2/2] gnu: Add python-apscheduler Giacomo Leidi via Guix-patches via @ 2024-01-15 22:47 ` paul via Guix-patches via 1 sibling, 0 replies; 4+ messages in thread From: paul via Guix-patches via @ 2024-01-15 22:47 UTC (permalink / raw) To: 68489-done This issue was opened by mistake, apologies for the noise ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-01-15 23:22 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-01-15 22:44 [bug#68489] [PATCH 1/2] gnu: Add python-pytest-tornado5 Giacomo Leidi via Guix-patches via 2024-01-15 22:44 ` [bug#68490] [PATCH 2/2] gnu: Add python-apscheduler Giacomo Leidi via Guix-patches via 2024-01-15 22:47 ` bug#68490: Close issue paul via Guix-patches via 2024-01-15 22:47 ` bug#68489: " paul via Guix-patches via
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).