python312Packages.spylls: init at 0.1.5#295371
Conversation
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
There was a problem hiding this comment.
Could you suggest the use of poetry-core to the upstream?
https://github.com/python-poetry/poetry-core?tab=readme-ov-file#why-is-this-required
There was a problem hiding this comment.
Thank you.
Then please fetch the patch. (or replace --replace with newer --replace-fail)
https://nixos.org/manual/nixpkgs/unstable/#fun-substitute-replace-fail
There was a problem hiding this comment.
| nativeBuildInputs = [ | |
| pytest # hack for fix error: `pytest not installed` | |
| pythonRelaxDepsHook | |
| ]; | |
| pythonRelaxDeps = [ | |
| "pytest" | |
| ]; |
I can't reproduce such an error.
There was a problem hiding this comment.
@natsukium this error is only in version 0.1.5
Can you explain how pythonRelaxDeps work, if a package needs another package in version 0.2.0, but the latest version of the package is 0.2.5, do I need to commit version 0.2.0 and then 0.2.5?
There was a problem hiding this comment.
if a package needs another package in version 0.2.0, but the latest version of the package is 0.2.5, do I need to commit version 0.2.0 and then 0.2.5?
No. pythonRelaxDepsHook simply ignores upstream version constraints.
It does not reference previous versions.
* python312Packages.spylls: init at 0.1.5 * python312Packages.spylls: 0.1.5 -> 0.1.7
Description of changes
Pure Python spell-checker, (almost) full port of Hunspell
https://github.com/zverok/spylls
https://github.com/zverok/spylls/blob/master/CHANGELOG.rst
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-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.