You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python36Packages.jsbeautifier build is failing, the same error occurs on master and 19.03. Updating the package 1.8.9 -> 1.9.1 does not solve the problem.
Steps to reproduce
$ nix-shell -p nur.repos.kalbasit.nix-verify --run 'nix-verify -I nixpkgs=`pwd` -A python36Packages.jsbeautifier'
$ exec env -i NIXPKGS_ALLOW_UNFREE=1 nix-build -I nixpkgs=/yl/code/opensource/stories/nixpkgs_fix-js-beautifier/src/github.com/NixOS/nixpkgs -A python36Packages.jsbeautifierthese derivations will be built: /nix/store/967sjl11npm9gnbcsd46i7drpbiy5r4d-jsbeautifier-1.8.9.drvbuilding '/nix/store/967sjl11npm9gnbcsd46i7drpbiy5r4d-jsbeautifier-1.8.9.drv' on 'ssh://builder@zeus.home.nasreddine.com'...unpacking sourcesunpacking source archive /nix/store/sra58bakragbm410y5hgrhm9bim3irf1-jsbeautifier-1.8.9.tar.gzsource root is jsbeautifier-1.8.9setting SOURCE_DATE_EPOCH to timestamp 1544134035 of file jsbeautifier-1.8.9/setup.cfgpatching sourcesconfiguringbuildingrunning bdist_wheel[... SNIP ..]running testrunning egg_infowriting jsbeautifier.egg-info/PKG-INFOwriting dependency_links to jsbeautifier.egg-info/dependency_links.txtwriting entry points to jsbeautifier.egg-info/entry_points.txtwriting requirements to jsbeautifier.egg-info/requires.txtwriting top-level names to jsbeautifier.egg-info/top_level.txtreading manifest file 'jsbeautifier.egg-info/SOURCES.txt'reading manifest template 'MANIFEST.in'warning: no files found matching 'js-beautify'writing manifest file 'jsbeautifier.egg-info/SOURCES.txt'running build_ext============================= test session starts ==============================platform linux -- Python 3.6.8, pytest-4.2.1, py-1.7.0, pluggy-0.8.1rootdir: /build/jsbeautifier-1.8.9, inifile:collected 3 itemsjsbeautifier/tests/test-packer.py E [ 33%]jsbeautifier/tests/testindentation.py .. [100%]==================================== ERRORS ====================================__________________________ ERROR at setup of test_str __________________________file /build/jsbeautifier-1.8.9/jsbeautifier/tests/test-packer.py, line 11 def test_str(str, expected):E fixture 'str' not found
> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
> use 'pytest --fixtures [testpath]'forhelp on them./build/jsbeautifier-1.8.9/jsbeautifier/tests/test-packer.py:11====================== 2 passed, 1 error in 0.06 seconds =======================builder for '/nix/store/967sjl11npm9gnbcsd46i7drpbiy5r4d-jsbeautifier-1.8.9.drv' failed with exit code 1e
Technical details
system: "x86_64-linux"
host os: Linux 4.19.25, NixOS, 18.09pre-git (Jellyfish)
This was not happening back in dea01b8. I believe this started happening with version 1.8.0rc2 when test-packer was introduced upstream. beautifier/js-beautify@63013ff
Issue description
python36Packages.jsbeautifier build is failing, the same error occurs on master and 19.03. Updating the package
1.8.9 -> 1.9.1
does not solve the problem.Steps to reproduce
Technical details
"x86_64-linux"
Linux 4.19.25, NixOS, 18.09pre-git (Jellyfish)
yes
yes
nix-env (Nix) 2.1.3
""
"home-manager-18.09, nixpkgs-18.09.932.09195057114"
""
/run/current-system/nixpkgs
The text was updated successfully, but these errors were encountered: