Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python310Packages.vunit: init at 4.7.0 #233474

Closed
wants to merge 1 commit into from
Closed

python310Packages.vunit: init at 4.7.0 #233474

wants to merge 1 commit into from

Conversation

jleightcap
Copy link
Contributor

@jleightcap jleightcap commented May 22, 2023

Description of changes
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@jleightcap jleightcap changed the title python3Packages.vunit: init at 4.7.0 python310Packages.vunit: init at 4.7.0 May 22, 2023
@jleightcap jleightcap marked this pull request as ready for review May 22, 2023 20:39
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 labels May 22, 2023
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/2770

Copy link
Member

@pbsds pbsds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

This folder strikes me as not needed: lib/python3.10/site-packages/vunit/vhdl/JSON-for-VHDL/tests

The reason its included is likely here, and its intent seem to be to not distribute them? If you opt not to remove the tests folder:

  • This file seems to require docker: lib/python3.10/site-packages/vunit/vhdl/JSON-for-VHDL/tests/run.sh
  • This file seems to require GHDL: lib/python3.11/site-packages/vunit/vhdl/JSON-for-VHDL/tests/ghdl/Boards2.sh

Result of nixpkgs-review pr 233474 run on x86_64-linux 1

4 packages built:
  • python310Packages.vunit
  • python310Packages.vunit.dist
  • python311Packages.vunit
  • python311Packages.vunit.dist


disabledTestPaths = [
"tests/lint"
"tests/acceptance"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment defending why this is disabled.

}:

buildPythonPackage rec {
pname = "vunit";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be a naming conflict with vunit on pypi

Suggested change
pname = "vunit";
pname = "vunit-hdl";

@@ -12795,6 +12795,8 @@ self: super: with self; {

vulture = callPackage ../development/python-modules/vulture { };

vunit = callPackage ../development/python-modules/vunit { };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
vunit = callPackage ../development/python-modules/vunit { };
vunit-hdl = callPackage ../development/python-modules/vunit-hdl { };

https://vunit.github.io/index.html
VUnit: a test framework for HDL

Signed-off-by: Jack Leightcap <[email protected]>
@jleightcap jleightcap closed this by deleting the head repository Jan 25, 2024
@jleightcap jleightcap mentioned this pull request Aug 21, 2024
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants