diff options
| author | Vinicius Monego <monego@posteo.net> | 2025-06-25 21:28:34 -0300 |
|---|---|---|
| committer | Vinicius Monego <monego@posteo.net> | 2025-06-26 00:42:01 -0300 |
| commit | c241a5e50b9adc5b5ad8291a2c31199bb99201cc (patch) | |
| tree | 55a40aa25e1f4fe473500290c14e2ef36b014d87 /gnu/packages/python-xyz.scm | |
| parent | e02d418f5ce3b20746cc20c65bf225bedb040e04 (diff) | |
gnu: python-honcho: Update to 2.0.0.
* gnu/packages/python-xyz.scm (python-honcho): Update to 2.0.0.
[build-system]: Use pyproject-build-system.
[arguments]: Delete the custom 'check' phase. Skip tests in
'#:test-flags' instead.
[native-inputs]: Remove python-tox, which. Add python-jinja2,
python-setuptools, python-wheel.
[propagated-inputs]: Remove python-jinja2. Add python-colorama.
Change-Id: I3d39e0324f2ed852b3e79ce4c41a80816ad758fb
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bf66b80ef7..09b9d788af 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13293,7 +13293,7 @@ cluster without needing to write any wrapper code yourself.") (define-public python-honcho (package (name "python-honcho") - (version "1.1.0") + (version "2.0.0") (source (origin (method git-fetch) @@ -13302,27 +13302,22 @@ cluster without needing to write any wrapper code yourself.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1y0r8dw4pqcq7r4n58ixjdg1iy60lp0gxsd7d2jmhals16ij71rj")))) - (build-system python-build-system) + (base32 "0hdp4cr6imxrlyg9x9xj5r6qdmgi63ffvmqjrr1kjs3qapan6s4l")))) + (build-system pyproject-build-system) + (arguments + ;; Tests below fail with the error + ;; ValueError: The 'honcho.export.xxx' package was not installed + ;; in a way that PackageLoader understands. + ;; Probably safe because it's testing for different init systems. + (list #:test-flags #~(list "--ignore" "tests/integration/test_export.py" + "--ignore" "tests/test_export_runit.py" + "--ignore" "tests/test_export_supervisord.py" + "--ignore" "tests/test_export_systemd.py" + "--ignore" "tests/test_export_upstart.py"))) (native-inputs - (list python-pytest python-mock python-tox which)) ;for tests + (list python-jinja2 python-mock python-pytest python-setuptools python-wheel)) (propagated-inputs - (list python-jinja2)) - (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'check) - (add-after 'install 'check - (lambda* (#:key outputs inputs #:allow-other-keys) - ;; fix honcho path in testsuite - (substitute* "tests/conftest.py" - (("'honcho'") (string-append "'" (assoc-ref outputs "out") - "/bin/honcho" "'"))) - ;; It's easier to run tests after install. - ;; Make installed package available for running the tests - (add-installed-pythonpath inputs outputs) - ;; Skip failing test_export - (invoke "py.test" "-v" "-k" "not test_export")))))) + (list python-colorama)) (home-page "https://github.com/nickstenning/honcho") (synopsis "Manage Procfile-based applications") (description |
