-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
Various pypy3Packages fixes #225137
Various pypy3Packages fixes #225137
Conversation
] ++ lib.optionals (isPyPy) [ | ||
"test_bash" | ||
"test_can_build_c_extensions" | ||
"test_discover_ok" |
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.
Those just don't work on pypy?
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.
virtualenv> FAILED tests/unit/activation/test_bash.py::test_bash[with_prompt] - AssertionError: /nix/store/hd9sv84a4b5yk3kvnpgy51qqd4zh8bf5-pypy3.9-7.3.11/...
virtualenv> FAILED tests/unit/activation/test_bash.py::test_bash[no_prompt] - AssertionError: /nix/store/hd9sv84a4b5yk3kvnpgy51qqd4zh8bf5-pypy3.9-7.3.11/...
virtualenv> FAILED tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions[venv] - PermissionError: [Errno 13] Permission denied: PosixPath('/build/pytest-of-...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.9.16-64-bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.9.16--bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.9-64-bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.9--bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.9.16-64-bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.9.16--bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.9-64-bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.9--bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
virtualenv> FAILED tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-] - RuntimeError: failed to detect pypy3.9.16-64|pypy3.9.16|pypy3.9-64|pypy3.9|...
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.
Added comments.
The 2to3 conversion utiliy is not available for pypy, so the package is essentially using python2 syntax which breaks it.
Nose tests is not getting updated for python3 and shouldn't be used anymore. In fact it can't be used on pypy, since it does not come with a 2to3 utility.
Cannot be tested, because it is using nose for tests, which is broken for pypy.
Allows building up to
pypy3Packages.cryptography
.Description of changes
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/
)