-
-
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.31.2 #334644
base: master
Are you sure you want to change the base?
Conversation
buildPythonPackage rec { | ||
pname = "locust"; | ||
version = "2.31.2"; | ||
format = "pyproject"; |
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.
format = "pyproject"; | |
pyproject = true; |
nativeBuildInputs = [ | ||
poetry-dynamic-versioning | ||
pythonRelaxDepsHook | ||
]; |
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.
pythonRelaxDepsHook
is no longer needed. I suggest to move poetry-dynamic-versioning
to build-system
.
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.
Ah, good to know. Thanks :)
|
||
meta = { | ||
description = "Developer-friendly load testing framework"; | ||
homepage = "https://pypi.org/project/locust/"; |
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.
Opinionated change.
homepage = "https://pypi.org/project/locust/"; | |
homepage = "https://docs.locust.io"; |
The tests still fail for me:
|
Right, I'll fix that and maybe have another look through the tests to identify those that will be potentially flaky, due to a dependence on timings. However, my suspicion is that this will include almost all tests (and potentially also most future ones), at which point one has to wonder whether it would be a better idea to simply disable all tests for this package. |
Test |
@FliegendeWurst Huh, that's weird -- the test you are referring to should be disabled, as it is in |
I merge this PR onto master and run |
I have now disabled the test suite all together, since it caused so many problems. |
@ofborg build python312Packages.locust |
Darwin fails
|
The build error on Darwin is most likely due to #367586 |
Description of changes
Add https://locust.io/, making #199746 redundant
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
--sandbox
flag ofnix build
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.