-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
sphinxcontrib-moderncmakedomain init at 3.29.0 #305426
base: master
Are you sure you want to change the base?
Conversation
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/3937 |
pkgs/development/python-modules/sphinxcontrib-moderncmakedomain/default.nix
Outdated
Show resolved
Hide resolved
pkgs/development/python-modules/sphinxcontrib-moderncmakedomain/default.nix
Outdated
Show resolved
Hide resolved
pkgs/development/python-modules/sphinxcontrib-moderncmakedomain/default.nix
Outdated
Show resolved
Hide resolved
pkgs/development/python-modules/sphinxcontrib-moderncmakedomain/default.nix
Show resolved
Hide resolved
99a89ea
to
5bc0cab
Compare
5bc0cab
to
44a0d41
Compare
44a0d41
to
2245bbf
Compare
pkgs/development/python-modules/sphinxcontrib-moderncmakedomain/default.nix
Outdated
Show resolved
Hide resolved
feb1e31
to
27a62e7
Compare
27a62e7
to
8113205
Compare
I think this should be good to go now. Is there anything I can do to help get this accepted? |
nativeBuildInputs = [ | ||
hatchling | ||
sphinx | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeBuildInputs = [ | |
hatchling | |
sphinx | |
]; | |
build-system = [ hatchling ]; | |
dependencies = [ sphinx ]; |
We use build-system
and dependencies
for python dependencies.
https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md#buildpythonpackage-parameters-buildpythonpackage-parameters
Also, following the upstream, sphinx
should go to dependencies
.
https://github.com/scikit-build/moderncmakedomain/blob/b4cdb0089ad40189f4cffeab7f859265da599336/pyproject.toml#L40-L42
nativeCheckInputs = [ | ||
defusedxml | ||
pytestCheckHook | ||
sphinx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sphinx |
]; | ||
|
||
pythonNamespaces = [ "sphinxcontrib" ]; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you enable pythonImportsCheck
?
https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md#using-pythonimportscheck-using-pythonimportscheck
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.