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

Parseargs #25

Merged
merged 33 commits into from
Apr 19, 2024
Merged

Parseargs #25

merged 33 commits into from
Apr 19, 2024

Conversation

mbrsamsung
Copy link
Collaborator

No description provided.

@mbrsamsung mbrsamsung force-pushed the parseargs branch 2 times, most recently from 7245e88 to 6653af4 Compare March 22, 2024 10:04
jwdevantier and others added 26 commits April 18, 2024 12:42
.. and move arg checking involving *program* exit out from
parse_spec and into __main__ (the CLI)
Move the stage2.schema.json from the root of the project into the src
directory, include it explicitly in MANIFEST.in to have it included
in the resulting nvme-spex package.

Add jsonschema as dependency.

Add cmdline flag `--validate-json`. When running spex with the new flag
it will validate that the resulting json aligns with the schema.
Use modern packaging with pyproject.toml and build. It will
still use setuptools but will run through the generic build interface.
flake.nix Outdated
spex = (buildPythonPackage rec {
pname = "spex";
version = revision;
format = "setuptools";
src = ./.;
doCheck = false;
propagatedBuildInputs = (spexDeps pkgs);
propagatedBuildInputs = (spexDeps pkgs) ;
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove whitespace if possible

Copy link
Collaborator

Choose a reason for hiding this comment

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

this should not be there hehe :D

@mbrsamsung mbrsamsung merged commit 3ebb03a into main Apr 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants