GNU bug report logs -
#68491
Add python-apscheduler
Previous Next
Reported by: paul <goodoldpaul <at> autistici.org>
Date: Mon, 15 Jan 2024 22:49:02 UTC
Severity: normal
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68491 in the body.
You can then email your comments to 68491 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#68491
; Package
guix-patches
.
(Mon, 15 Jan 2024 22:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
paul <goodoldpaul <at> autistici.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 15 Jan 2024 22:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I'm sending a couple of patches adding python-apscheduler.
Thank you for you time and efforts,
giacomo
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68491
; Package
guix-patches
.
(Mon, 15 Jan 2024 22:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 68491 <at> debbugs.gnu.org (full text, mbox):
* 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 <at> housseini.me>
;;; Copyright © 2023 Hilton Chain <hako <at> ultrarare.space>
;;; Copyright © 2023 Troy Figiel <troy <at> troyfigiel.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68491
; Package
guix-patches
.
(Mon, 15 Jan 2024 22:50:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 68491 <at> debbugs.gnu.org (full text, mbox):
* 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 <at> ajgrf.com>
;;; Copyright © 2019, 2020, 2021, 2022, 2023 Pierre Langlois <pierre.langlois <at> gmx.com>
;;; Copyright © 2019 Jacob MacDonald <jaccarmac <at> gmail.com>
-;;; Copyright © 2019-2021, 2023 Giacomo Leidi <goodoldpaul <at> autistici.org>
+;;; Copyright © 2019-2021, 2023, 2024 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;; Copyright © 2019 Wiktor Żelazny <wzelazny <at> vurv.cz>
;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour <tanguy <at> bioneland.org>
;;; Copyright © 2019, 2021-2023 Mădălin Ionel Patrașcu <madalinionel.patrascu <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68491
; Package
guix-patches
.
(Sat, 10 Feb 2024 09:51:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 68491 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
There is v4.0.0a4 in GitHub which was released <Nov 13, 2023> but not
available in PyPI. That version has las dated dependencies
(pytest-tornado is not maintained and abandoned).
List of dependencies based on [0]:
- install-require [/][%]
- [ ] python-anyio
- [ ] python-asyncpg
- [ ] python-attrs
- [ ] python-cbor2
- [ ] python-paho-mqtt
- [ ] python-pymongo
- [ ] python-redis
- [ ] python-sqlalchemy
- [ ] python-tenacity
- [ ] python-typing-extensions
- [ ] python-tzlocal
- test [/][%]
- [ ] python-aiosqlite
- [ ] python-anyio
- [ ] python-apscheduler
- [ ] python-asyncmy
- [ ] python-asyncpg
- [ ] python-coverage
- [ ] python-freezegun
- [ ] python-paho-mqtt
- [ ] python-psycopg
- [ ] python-pymongo
- [ ] python-pymysq
- [ ] python-pyside6
- [ ] python-pytest
- [ ] python-pytest-freezer
- [ ] python-pytest-lazy-fixture
- [ ] python-pytest-mock
- [ ] python-uwsgi
- [0] https://github.com/agronholm/apscheduler/blob/4.0.0a4/pyproject.toml
May you check if your patch would be easy to migrate to the new version please?
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68491
; Package
guix-patches
.
(Fri, 16 Feb 2024 19:20:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 68491 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Oleg,
thank you for your comments.
On 2/10/24 10:50, Sharlatan Hellseher wrote:
> May you check if your patch would be easy to migrate to the new version please?
I tried with the following:
(define-public python-apscheduler
(package
(name "python-apscheduler")
(version "4.0.0a4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/agronholm/apscheduler")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0rpa584wbnycf0s960kdjsr5glg7vy4p9wd7ya1dhxgy3bq4acab"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-anyio
python-attrs
python-tenacity
python-tzlocal
python-typing-extensions))
(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
))
(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)))
but it gave me the attached log. Then I looked at
https://repology.org/project/python:apscheduler/versions and it got me
wondering whether maybe the 4.0.0a4 release is too unstable to be
packaged yet. I didn't spend a lot of time over this so if you think
this is a blocking issue I can try further, otherwise I'd like to
proceed with the patch as it is and I'll take care of removing the
tornado dependency when we update to 4.0.*
What do you think?
Thank you for your time,
giacomo
[python-apscheduler-4.0.0a4.log (text/x-log, attachment)]
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Sun, 18 Feb 2024 12:28:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
paul <goodoldpaul <at> autistici.org>
:
bug acknowledged by developer.
(Sun, 18 Feb 2024 12:28:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 68491-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Paul,
I've checked other distributions for the version they used and you are
right 4.0.0a4 was not in used anywhere.
Pushed as c2f5d0f7d8..96895a65b4 to master.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 18 Mar 2024 11:24:14 GMT)
Full text and
rfc822 format available.
This bug report was last modified 130 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.