GNU bug report logs -
#78077
[PATCH electronics-team] gnu: python-vunit: Update to 5.0.0-dev.5.
Previous Next
To reply to this bug, email your comments to 78077 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
csantosb <at> inventati.org, ekaitz <at> elenq.tech, maxim.cournoyer <at> gmail.com, guix-patches <at> gnu.org
:
bug#78077
; Package
guix-patches
.
(Sat, 26 Apr 2025 17:29:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Cayetano Santos <csantosb <at> inventati.org>
:
New bug report received and forwarded. Copy sent to
csantosb <at> inventati.org, ekaitz <at> elenq.tech, maxim.cournoyer <at> gmail.com, guix-patches <at> gnu.org
.
(Sat, 26 Apr 2025 17:29:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
csantosb <at> inventati.org, ekaitz <at> elenq.tech, maxim.cournoyer <at> gmail.com, guix-patches <at> gnu.org
:
bug#78077
; Package
guix-patches
.
(Sun, 27 Apr 2025 08:58:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 78077 <at> debbugs.gnu.org (full text, mbox):
* 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.
<#:phases> Remove license test.
[propgated-inputs]: Remove python.
[native-inputs]: Add all necessary for building and testing.
gnu/packages/fpga.scm | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index dfbe1a2894..9d7b563729 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,32 @@ (define-public python-vunit
(recursive? #t)))
(file-name (git-file-name name version))
(sha256
- (base32 "0s7j5bykbv34wgnxy5cl4zp6g0caidvzs8pd9yxjq341543xkjwm"))))
- (build-system python-build-system)
+ (base32 "1sfnl1l6bgaqa8c2sk8k8f232bnq2drjg6rg7jvscmyz18yfih0b"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:tests? #f)) ;XXX: requires setuptools_scm >= 2.0.0, <3
- (propagated-inputs (list python python-colorama))
+ (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))
(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
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Mon, 28 Apr 2025 13:18:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Cayetano Santos <csantosb <at> inventati.org>
:
bug acknowledged by developer.
(Mon, 28 Apr 2025 13:18:04 GMT)
Full text and
rfc822 format available.
Message #13 received at 78077-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (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)]
This bug report was last modified today.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.