* [bug#75088] [PATCH 0/7] Fix beancount and fava builds.
@ 2024-12-25 13:45 Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 1/7] gnu: python-babel: Update to 2.16.0 Sergey Trofimov
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Sergey Trofimov @ 2024-12-25 13:45 UTC (permalink / raw)
To: 75088; +Cc: Sergey Trofimov
This series fixes beancount and its dependencies builds and also bumps fava to a matching version.
Sergey Trofimov (7):
gnu: python-babel: Update to 2.16.0.
gnu: python-flask-babel: Update to 4.0.0.
gnu: python-markdown2: Fix build.
gnu: python-pdfminer-six: Update to 20240706.
gnu: Add python-types-simplejson.
gnu: beancount: Fix build.
gnu: fava: Update to 1.27.
gnu/packages/finance.scm | 39 ++++++++++++++++---------------------
gnu/packages/python-web.scm | 26 ++++++++++++++++---------
gnu/packages/python-xyz.scm | 37 ++++++++++++++++++++++++-----------
3 files changed, 60 insertions(+), 42 deletions(-)
base-commit: eb6d784852dfcade2f5052c4d6fc1bd469f3cdb6
--
2.46.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#75088] [PATCH 1/7] gnu: python-babel: Update to 2.16.0.
2024-12-25 13:45 [bug#75088] [PATCH 0/7] Fix beancount and fava builds Sergey Trofimov
@ 2024-12-25 14:00 ` Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 2/7] gnu: python-flask-babel: Update to 4.0.0 Sergey Trofimov
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sergey Trofimov @ 2024-12-25 14:00 UTC (permalink / raw)
To: 75088
Cc: Sergey Trofimov, Sergey Trofimov, Lars-Dominik Braun,
Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher,
Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-babel): Update to 2.16.0.
---
gnu/packages/python-xyz.scm | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 36e9b38b50..ede99889e5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2962,19 +2962,17 @@ (define-public python-clyent
(define-public python-babel
(package
(name "python-babel")
- (version "2.10.3")
+ (version "2.16.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Babel" version))
(sha256
(base32
- "0l9cvfmsz0hlvcinxaf6xf2f02ldgw3xq9i1fc7lk5zf24vma53n"))))
+ "05p3k0i5h8v4vqsg36s94kwl4nhgfmgwdq1x7wbzw1b6l965bwyi"))))
(build-system python-build-system)
(native-inputs
- (list python-freezegun python-pytest tzdata-for-tests))
- (propagated-inputs
- (list python-pytz))
+ (list python-freezegun python-pytest python-pytest-cov tzdata-for-tests))
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
@@ -15823,7 +15821,7 @@ (define-public python-markdown
(define-public python-markdown2
(package
(name "python-markdown2")
- (version "2.4.13")
+ (version "2.5.2")
(source
(origin
(method git-fetch) ; no tests data in PyPi package
@@ -15832,7 +15830,7 @@ (define-public python-markdown2
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0m1wy8i4xmna5b97dvks8cfjmc1wid8pxmd2h82869d0ajva3r6a"))))
+ (base32 "01ll612yq7kjmj5p2zi9sf4l2wg6rm1ldcr6h0m2d9j180j7ggs8"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -15844,7 +15842,7 @@ (define-public python-markdown2
(with-directory-excursion "test"
(invoke "python" "testall.py"))))))))
(native-inputs
- (list python-pygments))
+ (list python-setuptools python-pygments))
(home-page "https://github.com/trentm/python-markdown2")
(synopsis "Fast and complete Python implementation of Markdown")
(description
--
2.46.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#75088] [PATCH 2/7] gnu: python-flask-babel: Update to 4.0.0.
2024-12-25 13:45 [bug#75088] [PATCH 0/7] Fix beancount and fava builds Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 1/7] gnu: python-babel: Update to 2.16.0 Sergey Trofimov
@ 2024-12-25 14:00 ` Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 3/7] gnu: python-markdown2: Fix build Sergey Trofimov
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sergey Trofimov @ 2024-12-25 14:00 UTC (permalink / raw)
To: 75088
Cc: Sergey Trofimov, Sergey Trofimov, Lars-Dominik Braun,
Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher,
Tanguy Le Carrour, jgart
* gnu/packages/python-web.scm (python-flask-babel): Update to 4.0.0.
[source]: Fetch from git as pypi release doesn't include tests.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Adjust.
[propagated-inputs]: Sort.
---
gnu/packages/python-web.scm | 26 +++++++++++++++++---------
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d0695e39f3..c2960964d3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1891,17 +1891,25 @@ (define-public python-flask-assets
(define-public python-flask-babel
(package
(name "python-flask-babel")
- (version "2.0.0")
+ (version "4.0.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "Flask-Babel" version))
- (sha256
- (base32
- "0z95v77vib5il8hphyh16n7i15a2gmc06i615vm346ifvdfg9ypr"))))
- (build-system python-build-system)
+ (origin
+ (method git-fetch) ;no tests in pypi release
+ (uri (git-reference
+ (url "https://github.com/python-babel/flask-babel")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "19yq3f5rixbwhv7wxdarvi9hdj98a9dq8y76in9c1q3jxaigw104"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-black
+ python-coverage
+ python-poetry-core
+ python-pytest
+ python-pytest-cov
+ python-pytest-mock))
(propagated-inputs
- (list python-flask python-babel python-jinja2 python-pytz))
+ (list python-babel python-flask python-jinja2 python-pytz))
(home-page "https://github.com/python-babel/flask-babel")
(synopsis "Add i18n/l10n support to Flask applications")
(description "This package implements internationalization and localization
--
2.46.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#75088] [PATCH 3/7] gnu: python-markdown2: Fix build.
2024-12-25 13:45 [bug#75088] [PATCH 0/7] Fix beancount and fava builds Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 1/7] gnu: python-babel: Update to 2.16.0 Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 2/7] gnu: python-flask-babel: Update to 4.0.0 Sergey Trofimov
@ 2024-12-25 14:00 ` Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 4/7] gnu: python-pdfminer-six: Update to 20240706 Sergey Trofimov
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sergey Trofimov @ 2024-12-25 14:00 UTC (permalink / raw)
To: 75088
Cc: Sergey Trofimov, Sergey Trofimov, Lars-Dominik Braun,
Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher,
Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-markdown2)
[native-inputs]: Add python-wheel.
---
gnu/packages/python-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ede99889e5..fb3f91f458 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15842,7 +15842,7 @@ (define-public python-markdown2
(with-directory-excursion "test"
(invoke "python" "testall.py"))))))))
(native-inputs
- (list python-setuptools python-pygments))
+ (list python-setuptools python-pygments python-wheel))
(home-page "https://github.com/trentm/python-markdown2")
(synopsis "Fast and complete Python implementation of Markdown")
(description
--
2.46.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#75088] [PATCH 4/7] gnu: python-pdfminer-six: Update to 20240706.
2024-12-25 13:45 [bug#75088] [PATCH 0/7] Fix beancount and fava builds Sergey Trofimov
` (2 preceding siblings ...)
2024-12-25 14:00 ` [bug#75088] [PATCH 3/7] gnu: python-markdown2: Fix build Sergey Trofimov
@ 2024-12-25 14:00 ` Sergey Trofimov
2024-12-25 14:01 ` [bug#75088] [PATCH 5/7] gnu: Add python-types-simplejson Sergey Trofimov
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sergey Trofimov @ 2024-12-25 14:00 UTC (permalink / raw)
To: 75088
Cc: Sergey Trofimov, Sergey Trofimov, Lars-Dominik Braun,
Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher,
Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-pdfminer-six): Update to 20240706.
---
gnu/packages/python-xyz.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fb3f91f458..d5a5dcb878 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21076,7 +21076,7 @@ (define-public python-jellyfish
(define-public python-pdfminer-six
(package
(name "python-pdfminer-six")
- (version "20231228")
+ (version "20240706")
;; There are no tests in the PyPI tarball.
(source
(origin
@@ -21086,7 +21086,7 @@ (define-public python-pdfminer-six
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1anyr0gm7amwls8qifflql1viz5rq6q95lfwcg43v3180h4w8wrd"))))
+ (base32 "0vdwps38q2414lwjz266rabxrcw2a5s1pgxyjsffiifi010cd3k9"))))
(build-system pyproject-build-system)
(arguments
(list #:phases
@@ -21098,7 +21098,7 @@ (define-public python-pdfminer-six
(propagated-inputs
(list python-charset-normalizer python-cryptography))
(native-inputs
- (list python-pytest))
+ (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/pdfminer/pdfminer.six")
(synopsis "PDF parser and analyzer")
(description "@code{pdfminer.six} is a community maintained fork of
--
2.46.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#75088] [PATCH 5/7] gnu: Add python-types-simplejson.
2024-12-25 13:45 [bug#75088] [PATCH 0/7] Fix beancount and fava builds Sergey Trofimov
` (3 preceding siblings ...)
2024-12-25 14:00 ` [bug#75088] [PATCH 4/7] gnu: python-pdfminer-six: Update to 20240706 Sergey Trofimov
@ 2024-12-25 14:01 ` Sergey Trofimov
2024-12-25 14:01 ` [bug#75088] [PATCH 6/7] gnu: beancount: Fix build Sergey Trofimov
2024-12-25 14:01 ` [bug#75088] [PATCH 7/7] gnu: fava: Update to 1.27 Sergey Trofimov
6 siblings, 0 replies; 8+ messages in thread
From: Sergey Trofimov @ 2024-12-25 14:01 UTC (permalink / raw)
To: 75088
Cc: Sergey Trofimov, Sergey Trofimov, Lars-Dominik Braun,
Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher,
Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-types-simplejson): New variable.
---
gnu/packages/python-xyz.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d5a5dcb878..a75a1992f5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -37212,6 +37212,23 @@ (define-public python-types-requests
(description "This package provides typing stubs for requests.")
(license license:asl2.0)))
+(define-public python-types-simplejson
+ (package
+ (name "python-types-simplejson")
+ (version "3.17.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "types-simplejson" version))
+ (sha256
+ (base32 "1a3gphpjkb315i7l48l6g1rch3nr43k1f7rgalfsdr7897fyv8pz"))))
+ (build-system python-build-system)
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://github.com/python/typeshed")
+ (synopsis "Typing stubs for simplejson")
+ (description "Typing stubs for simplejson.")
+ (license license:asl2.0)))
+
(define-public python-types-setuptools
(package
(name "python-types-setuptools")
--
2.46.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#75088] [PATCH 6/7] gnu: beancount: Fix build.
2024-12-25 13:45 [bug#75088] [PATCH 0/7] Fix beancount and fava builds Sergey Trofimov
` (4 preceding siblings ...)
2024-12-25 14:01 ` [bug#75088] [PATCH 5/7] gnu: Add python-types-simplejson Sergey Trofimov
@ 2024-12-25 14:01 ` Sergey Trofimov
2024-12-25 14:01 ` [bug#75088] [PATCH 7/7] gnu: fava: Update to 1.27 Sergey Trofimov
6 siblings, 0 replies; 8+ messages in thread
From: Sergey Trofimov @ 2024-12-25 14:01 UTC (permalink / raw)
To: 75088; +Cc: Sergey Trofimov, Sergey Trofimov
* gnu/packages/finance.scm (beancount)
[native-inputs]: Add python-wheel and python-setuptools.
---
gnu/packages/finance.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 149bebfa2f..8284ac545d 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2020,7 +2020,8 @@ (define-public beancount
python-ply
python-requests))
(native-inputs
- (list gnupg python-pdfminer-six python-pytest))
+ (list gnupg python-pdfminer-six python-pytest
+ python-setuptools python-wheel))
(home-page "https://beancount.github.io/")
(synopsis "Command-line double-entry accounting tool")
(description
--
2.46.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#75088] [PATCH 7/7] gnu: fava: Update to 1.27.
2024-12-25 13:45 [bug#75088] [PATCH 0/7] Fix beancount and fava builds Sergey Trofimov
` (5 preceding siblings ...)
2024-12-25 14:01 ` [bug#75088] [PATCH 6/7] gnu: beancount: Fix build Sergey Trofimov
@ 2024-12-25 14:01 ` Sergey Trofimov
6 siblings, 0 replies; 8+ messages in thread
From: Sergey Trofimov @ 2024-12-25 14:01 UTC (permalink / raw)
To: 75088; +Cc: Sergey Trofimov, Sergey Trofimov
* gnu/packages/finance.scm (fava): Update to 1.27.
[arguments]: Remove obsolete tweaks.
[native-inputs]: Refresh dependencies.
---
gnu/packages/finance.scm | 36 +++++++++++++++---------------------
1 file changed, 15 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 8284ac545d..7662d33e0f 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -124,6 +124,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
@@ -2033,29 +2034,14 @@ (define-public beancount
(define-public fava
(package
(name "fava")
- ;; XXX: A newer version requires Flask > 2.2, which is not available in
- ;; Guix yet.
- (version "1.24.4")
+ (version "1.27")
(source
(origin
(method url-fetch)
(uri (pypi-uri "fava" version))
(sha256
- (base32 "1iwha9vx223iiyjqbixpz1lp8q766ikhi7xcap3pscjhldxlym4j"))))
+ (base32 "0cw3pmyrknsw0h4w3v9vyk6wrii68zwkywsyyvjzyl2qz3xq8srk"))))
(build-system pyproject-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'relax-requirements
- (lambda _
- (substitute* "setup.cfg"
- ((">=8,<10") ">8"))))
- ;; Tests write to $HOME.
- ;; FileNotFoundError: [Errno 2] No such file or directory
- (add-before 'check 'set-home
- (lambda _
- (setenv "HOME" "/tmp"))))))
(propagated-inputs
(list beancount
python-babel
@@ -2069,10 +2055,18 @@ (define-public fava
python-simplejson
python-werkzeug))
(native-inputs
- (list python-pytest
- python-chardet
- python-dateutil
- python-setuptools-scm))
+ (list python-babel
+ python-mypy
+ python-pylint
+ python-pytest
+ python-pytest-cov
+ python-setuptools
+ python-setuptools-scm
+ python-tox
+ python-twine
+ python-types-setuptools
+ python-types-simplejson
+ python-wheel))
(home-page "https://beancount.github.io/fava/")
(synopsis "Web interface for the accounting tool Beancount")
(description "Fava is a web interface for the double-entry bookkeeping
--
2.46.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-12-25 14:03 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-25 13:45 [bug#75088] [PATCH 0/7] Fix beancount and fava builds Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 1/7] gnu: python-babel: Update to 2.16.0 Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 2/7] gnu: python-flask-babel: Update to 4.0.0 Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 3/7] gnu: python-markdown2: Fix build Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 4/7] gnu: python-pdfminer-six: Update to 20240706 Sergey Trofimov
2024-12-25 14:01 ` [bug#75088] [PATCH 5/7] gnu: Add python-types-simplejson Sergey Trofimov
2024-12-25 14:01 ` [bug#75088] [PATCH 6/7] gnu: beancount: Fix build Sergey Trofimov
2024-12-25 14:01 ` [bug#75088] [PATCH 7/7] gnu: fava: Update to 1.27 Sergey Trofimov
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.