-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
python3Packages.locust: init at 2.14.1 #199746
Conversation
I can't get this to build due to problems with mypy. I tried the commit as it is and rebased on current master and both failed. |
What was the error? |
It was Tox complaining that mypy could not be installed. I modified the derivation to install it, then mypy complained that the tests did not pass. This should be rebased on current master, upgraded to latest locustio, then I will review it again. |
@tpwrules do you want to try out again? |
This still does not work:
Can you explain how you are testing and confirm it works for you? I used |
Just run nix build. Maybe something because I built it on macOS and the sandbox is not so good. I will look later on Linux |
Can we rename this to |
Good catch. |
}; | ||
|
||
patchPhase = '' | ||
echo 'version = "${version}"' > locust/_version.py |
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.
I would use postPatch instead so as not to preempt the full patchingPhase. Alternatively call the runHook prePatch/postPatch
main folder contains a pryproject.toml https://github.com/locustio/locust/blob/master/pyproject.toml have you tried packaging it with poetry2nix ? it should make the package easier to maintain. |
Description of changes
Packed the open source load test tool locustio. It was a while ago packaged but has been removed because it was unmaintained in #104351
So this reads the newest version and makes me the maintainer
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes