GNU bug report logs -
#78077
[PATCH electronics-team] gnu: python-vunit: Update to 5.0.0-dev.5.
Previous Next
Reported by: Cayetano Santos <csantosb <at> inventati.org>
Date: Sat, 26 Apr 2025 17:29:01 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#78077: [PATCH electronics-team] gnu: python-vunit: Update to 5.0.0-dev.5.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 78077 <at> debbugs.gnu.org.
--
78077: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78077
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hi,
Thank you for the patch.
I've remove Lint dependencies and kept only unit tests as acceptance
tests failed during local check.
See the diff:
--8<---------------cut here---------------start------------->8---
(base32 "1sfnl1l6bgaqa8c2sk8k8f232bnq2drjg6rg7jvscmyz18yfih0b"))))
(build-system pyproject-build-system)
(arguments
- (list #:phases #~(modify-phases %standard-phases
- ;; See https://github.com/VUnit/vunit/issues/1111
- (add-before 'check 'remove-failure
- (lambda _
- (delete-file "tests/lint/test_license.py"))))))
- (native-inputs (list
- ;; tests
- nvc
- python-coverage
- python-mypy
- python-pycodestyle
- python-pygments
- python-pylint
- python-pytest
- ;;
- python-setuptools
- python-wheel))
- (propagated-inputs (list python-colorama))
+ (list
+ #:test-flags
+ ;; Skip lint tests which require python-pycodestyle, python-pylint and
+ ;; python-mypy to reduce closoure size; some lint test fails, see
+ ;; <https://github.com/VUnit/vunit/issues/1111>.
+ ;;
+ ;; XXX: Acceptance tests take 10+ minutes to complete, hang on
+ ;; "test_external_run_scripts.py" and fail eventually, consider to
+ ;; improve them; ignore for now.
+ #~(list "tests/unit")))
+ (native-inputs
+ (list nvc
+ python-pytest
+ python-setuptools
+ python-setuptools-scm
+ python-wheel))
+ (propagated-inputs
+ (list python-colorama))
(home-page "https://vunit.github.io")
(synopsis "Unit testing framework for VHDL/SystemVerilog")
(description
--8<---------------cut here---------------end--------------->8---
Commit message was amended as well accordingly.
Passed lint and build.
Pushed to master as e6d951c7cfaa6e0f196b8d18b41e33ecfce109dc.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
* gnu/packages/fpga.scm (python-vunit): Update to 5.0.0-dev.5.
Change-Id: Idde0283b73906209799fcc2be9bbb72df8d2aa20
---
Update to release 5.0.0-dev.5, updating 2 years old 4.7.0.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests> Activate.
[propgated-inputs]: Remove python.
[native-inputs]: Add all necessary for building and testing.
gnu/packages/fpga.scm | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index dfbe1a2894..5c83854aef 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -72,6 +72,7 @@ (define-module (gnu packages fpga)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
@@ -523,7 +524,7 @@ (define-public python-myhdl
(define-public python-vunit
(package
(name "python-vunit")
- (version "4.7.0")
+ (version "5.0.0-dev.5") ;v4.7.0 dates back from 2 years ago.
(source
(origin
(method git-fetch)
@@ -533,17 +534,23 @@ (define-public python-vunit
(recursive? #t)))
(file-name (git-file-name name version))
(sha256
- (base32 "0s7j5bykbv34wgnxy5cl4zp6g0caidvzs8pd9yxjq341543xkjwm"))))
- (build-system python-build-system)
- (arguments
- '(#:tests? #f)) ;XXX: requires setuptools_scm >= 2.0.0, <3
- (propagated-inputs (list python python-colorama))
+ (base32 "1sfnl1l6bgaqa8c2sk8k8f232bnq2drjg6rg7jvscmyz18yfih0b"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-setuptools
+ python-wheel
+ ;; tests
+ nvc
+ python-mypy
+ python-coverage
+ python-pycodestyle
+ python-pylint
+ python-pytest))
+ (propagated-inputs (list python-colorama))
(home-page "https://vunit.github.io")
(synopsis "Unit testing framework for VHDL/SystemVerilog")
(description
"VUnit features the functionality needed to realize continuous and
automated testing of HDL code.")
-
;; According to 'LICENSE.rst', VUnit itself is under MPL but two
;; subdirectories are under ASL.
(license (list license:mpl2.0 license:asl2.0))))
base-commit: edeafb19c4a83eb81fe7e47a6a94f238db9cccf1
--
2.49.0
This bug report was last modified 24 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.