[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
272/361: gnu: python-robotframework-datadriver: Update to 1.11.2.
From: |
guix-commits |
Subject: |
272/361: gnu: python-robotframework-datadriver: Update to 1.11.2. |
Date: |
Thu, 21 Nov 2024 06:29:33 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 5d8832b210ef5aa56b6e260677ec0aa9e472f149
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Nov 7 20:26:01 2024 +0000
gnu: python-robotframework-datadriver: Update to 1.11.2.
* gnu/packages/python-xyz.scm (python-robotframework-datadriver): Update
to 1.11.2. Improve package style.
[source]: Swap to git checkout containing tests.
[build-system]: Swap to pyproject-build-system.
[phases]{skip-problematic-tests}: Add more files to skip.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I03fd2ff5c89a2801cfc5ee2cd1d757bc47cb88f7
---
gnu/packages/python-xyz.scm | 62 +++++++++++++++++++++++++++------------------
1 file changed, 38 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f3d377b623..8f7cfb11b3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7698,34 +7698,48 @@ process automation (RPA).")
(define-public python-robotframework-datadriver
(package
(name "python-robotframework-datadriver")
- (version "1.6.1")
+ (version "1.11.2")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "robotframework-datadriver" version))
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/Snooz82/robotframework-datadriver")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0mcyr3v98nvfnvffy096qp3jqslas7l8hh0j00lpi0mp12cd0qk9"))))
- (build-system python-build-system)
+ (base32 "0fq6ykbnypirw1wrgigsfzg8lv8g7j9gs46v0n814ycw8906n43x"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'check 'skip-problematic-tests
- (lambda _
- ;; The test file 'tab-csv-file-name.tsv' contains special
- ;; characters for which there is no locale in the build
- ;; environment, causing one test to fail.
- (delete-file-recursively "atest/TestCases/csv_reader_config")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (with-directory-excursion "atest"
- (invoke "sh" "run_atest.sh"))))))))
- (native-inputs (list python-docutils
- python-robotframework-stacktrace))
- (propagated-inputs (list python-openpyxl
- python-pandas
- python-pygments
- python-robotframework))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'skip-problematic-tests
+ (lambda _
+ (for-each delete-file-recursively
+ (list
+ ;; The test file 'tab-csv-file-name.tsv' contains
+ ;; special characters for which there is no locale
+ ;; in the build environment, causing one test to
+ ;; fail.
+ "atest/TestCases/csv_reader_config"
+ ;; Error in file on line 6: Non-existing setting
+ ;; 'Test Tags'.
+
"atest/TestCases/DataTypes/Types_in_dicts.robot"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "atest"
+ (invoke "sh" "run_atest.sh"))))))))
+ (native-inputs
+ (list python-docutils
+ python-robotframework-stacktrace
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-openpyxl
+ python-pandas
+ python-pygments
+ python-robotframework))
(home-page "https://github.com/Snooz82/robotframework-datadriver")
(synopsis "Data-driven test extension for Robot Framework")
(description "DataDriver is a data-driven extension for Robot Framework.
- 253/361: gnu: python-pooch: Adjust inputs., (continued)
- 253/361: gnu: python-pooch: Adjust inputs., guix-commits, 2024/11/21
- 254/361: gnu: python-pycollada: Adjust inputs., guix-commits, 2024/11/21
- 256/361: gnu: python-sphinx-autodoc-typehints: Update to 1.23.0., guix-commits, 2024/11/21
- 276/361: gnu: python-accupy: Adjust inputs., guix-commits, 2024/11/21
- 295/361: gnu: python-distributed: Adjust inputs., guix-commits, 2024/11/21
- 70/361: gnu: Add python-fqdn., guix-commits, 2024/11/21
- 163/361: gnu: python-dateutil: Move to pyproject-build-system., guix-commits, 2024/11/21
- 218/361: gnu: python-cssselect2: Move to pyproject-build-system., guix-commits, 2024/11/21
- 226/361: gnu: python-assay: Add missing inputs., guix-commits, 2024/11/21
- 227/361: gnu: python-altair: Adjust inputs., guix-commits, 2024/11/21
- 272/361: gnu: python-robotframework-datadriver: Update to 1.11.2.,
guix-commits <=
- 278/361: gnu: python-robotframework-requests: Adjust inputs., guix-commits, 2024/11/21
- 296/361: gnu: python-fast-histogram: Adjust inputs., guix-commits, 2024/11/21
- 297/361: gnu: python-pluggy: Update to 1.5.0., guix-commits, 2024/11/21
- 300/361: gnu: Remove python-pytest-8., guix-commits, 2024/11/21
- 303/361: gnu: python-ptyprocess: Update to 0.7.0., guix-commits, 2024/11/21
- 310/361: gnu: python-pytest-xdist: Update to 3.6.1., guix-commits, 2024/11/21
- 321/361: gnu: python-py: Improve package style., guix-commits, 2024/11/21
- 157/361: gnu: python-conda-package-handling: Move to pyproject-build-system., guix-commits, 2024/11/21
- 159/361: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/11/21
- 167/361: gnu: python-unidecode: Update to 1.3.8., guix-commits, 2024/11/21