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
python3.pkgs.rtoml: init at 0.6.1 #122400
Conversation
@ofborg eval |
preCheck = '' | ||
cd tests | ||
''; |
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.
Looks like that we could use pytestFlagsArray
here.
preCheck = '' | |
cd tests | |
''; | |
pytestFlagsArray = [ "tests/" ]; |
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.
this results in 5 errors like this
E ImportError: cannot import name '_rtoml' from partially initialized module 'rtoml' (most likely due to a circular import) (/build/source/rtoml/__init__.py)
(the same occurs when neither preCheck
or pytestFlagsArray
are set)
Motivation for this change
i wanted to compare its performance between
toml
,rtoml
,pytomlpp
,json
,simplejson
,yaml
,pyyaml
andruamel yaml
(results can be reproduced here)
and someone was asking about this on IRC
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)/nix/store/1m6j3nd2x59xk9ghjj7n1wdz3573r702-python3.8-rtoml-0.6.1 99024384