diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-07 20:26:01 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:19:06 +0000 |
| commit | c73e334b93f08c4e32470246eda6dad9d041b553 (patch) | |
| tree | 3e7064c89df22368747052226f62c720851efb3c /gnu/packages/python-xyz.scm | |
| parent | 747ea85bc953c82684713e5b683a17947aad7937 (diff) | |
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 62 |
1 files changed, 38 insertions, 24 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f7dda9e2d4..64439e4895 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. |
