* [bug#73070] [PATCH 0/3] Fix python development environment
@ 2024-09-06 14:20 Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-06 14:20 UTC (permalink / raw)
To: 73070; +Cc: ngraves
The python developping package twine was severely outdated and didn't
work with pypi at all. This update fixes it.
Nicolas Graves (3):
gnu: python-readme-renderer: Update to 35.0.
gnu: python-pkginfo: Update to 1.10.0.
gnu: python-twine: Update to 5.1.1.
gnu/packages/python-xyz.scm | 50 +++++++++++++++++--------------------
1 file changed, 23 insertions(+), 27 deletions(-)
--
2.45.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0.
2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
@ 2024-09-06 15:25 ` Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1 Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0 Nicolas Graves via Guix-patches via
0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-06 15:25 UTC (permalink / raw)
To: 73070; +Cc: ngraves
* gnu/packages/python-xyz.scm (python-pkginfo): Update to 1.10.0.
[native-inputs]: Add python-wheel.
Change-Id: I682773a5a5c36c9a2ffd9ce8e96048c08a7a174e
---
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 f28054a489..c391f1d033 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25687,16 +25687,16 @@ (define-public python-tqdm
(define-public python-pkginfo
(package
(name "python-pkginfo")
- (version "1.9.6")
+ (version "1.10.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pkginfo" version))
(sha256
- (base32 "0inh57664sx2vlbd3913dsc9nz21ysb9vk591qpkg90qhxp8kmcg"))))
+ (base32 "15v2mycr7m4ld5wp1sl9flqjjv8zdgc5rkgfz1wxn44d74skixsx"))))
(build-system pyproject-build-system)
(native-inputs
- (list python-pytest))
+ (list python-pytest python-wheel))
(home-page "https://code.launchpad.net/~tseaver/pkginfo/trunk")
(synopsis "Query metadatdata from sdists, bdists, and installed packages")
(description
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1.
2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
@ 2024-09-06 15:25 ` Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0 Nicolas Graves via Guix-patches via
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-06 15:25 UTC (permalink / raw)
To: 73070; +Cc: ngraves
* gnu/packages/python-xyz.scm (python-twine): Update to 5.1.1.
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Disable failing tests.
[native-inputs]: Add python-pretend, python-pytest, python-pytest-socket.
[propagated-inputs]: Remove python-tqdm, python-packaging. Add
python-imporlib-metadata, python-keyring, python-rfc3986,
python-rich and python-urllib3.
Change-Id: I55dbcd646dec60cfe8ec226aed0cf3f8c59e2eeb
---
gnu/packages/python-xyz.scm | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c391f1d033..4e2bc4fb02 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25710,21 +25710,33 @@ (define-public python-pkginfo
(define-public python-twine
(package
(name "python-twine")
- (version "1.15.0")
+ (version "5.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "twine" version))
(sha256
- (base32 "11rpd653zcgzkq3sgwkzs3mpxl3r5rij59745ni84ikv8smjmlm3"))))
- (build-system python-build-system)
+ (base32 "1nr24gd5gm22b0jzb5qmw4swh8bshixmqm0kv4s38ay0758q584s"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-flags ;; Disable failing tests.
+ #~(list "-k" (string-append
+ "not test_pkginfo_returns_no_metadata"
+ " and not test_fails_rst_no_content"))))
+ (native-inputs
+ (list python-pretend
+ python-pytest
+ python-pytest-socket))
(propagated-inputs
- (list python-tqdm
- python-packaging
+ (list python-importlib-metadata
+ python-keyring
python-pkginfo
python-readme-renderer
python-requests
- python-requests-toolbelt))
+ python-requests-toolbelt
+ python-rfc3986
+ python-rich
+ python-urllib3))
(home-page "https://github.com/pypa/twine")
(synopsis "Collection of utilities for interacting with PyPI")
(description
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0.
2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1 Nicolas Graves via Guix-patches via
@ 2024-09-06 15:25 ` Nicolas Graves via Guix-patches via
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-06 15:25 UTC (permalink / raw)
To: 73070; +Cc: ngraves
* gnu/packages/statistics.scm (python-altair): Update to 5.3.0.
[arguments]<#:test-flags>: Add failing tests, reorganize.
Change-Id: I695e63e5395f40997ab59706240b8b059778b0ad
---
gnu/packages/statistics.scm | 29 +++++++++++++++++++++--------
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index af64cbd99d..bca7b763a1 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -21,6 +21,7 @@
;;; Copyright © 2023 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2113,7 +2114,7 @@ (define-public python-vega-datasets
(define-public python-altair
(package
(name "python-altair")
- (version "5.0.1")
+ (version "5.3.0")
(source (origin
(method git-fetch) ; no tests in PyPI
(uri (git-reference
@@ -2122,15 +2123,27 @@ (define-public python-altair
(file-name (git-file-name name version))
(sha256
(base32
- "1r74v5n51br9pjhxdzrr62cdgnwkapci93aifnl8dqmfpizfpd7d"))))
+ "1lx3pkphi36pljns6jjxhyn9fbrana8f1y6gcg4yca48nvwlfssl"))))
(build-system pyproject-build-system)
(arguments
- ;; First two open an external connection.
- ;; Last introduces a circular dependency on altair-viewer.
- (list #:test-flags #~(list "-k" (string-append
- "not test_from_and_to_json_roundtrip"
- " and not test_render_examples_to_chart"
- " and not test_save_html"))))
+ (list #:test-flags
+ ;; XXX: This test file requires hard to package python-anywidgets.
+ #~(list "--ignore=tests/test_jupyter_chart.py"
+ "-k" (string-join
+ (list
+ ;; these tests open an external connection.
+ "not test_from_and_to_json_roundtrip"
+ "test_render_examples_to_chart"
+ ;; introduces a circular dependency on altair-viewer.
+ "not test_save_html"
+ ;; these tests require the vl-convert vega compiler
+ "test_vegalite_compiler"
+ "test_to_dict_with_format_vega"
+ "test_to_json_with_format_vega"
+ "test_to_url"
+ "test_renderer_with_none_embed_options"
+ "test_jupyter_renderer_mimetype")
+ " and not "))))
(propagated-inputs (list python-jinja2
python-jsonschema
python-numpy
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-06 15:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1 Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0 Nicolas Graves 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).