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
[staging] python3Packages.virtualenv: 20.2.1 -> 20.3.1 #109930
Conversation
/rebase-staging |
@GrahamcOfBorg build python3Packages.tox |
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.
diff LGTM
Why was this merged into master? |
The problem on python 3.7 is that xonsh is not packaged as a module ( |
-_-... I saw that |
the python37 fix is easy enough, as that's not built by hydra, just need to pin the version for python<3.8 |
I'm too slow...in #109994 I got the error: error: --- Error ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/3han1yi5k9xlnpggxmikdfksn6bjncdw-python3.7-virtualenv-20.3.1.drv' failed with exit code 1; last 10 log lines:
SKIPPED [1] tests/unit/activation/conftest.py:249: PowerShell(
version=FileNotFoundError(2, "No such file or directory: 'pwsh'"),
creator=CPython3Posix(dest=/build/pytest-of-nixbld/pytest-0/activation-tester-env3/e-$ èрт🚒♞中片-j, clear=False, no_vcs_ignore=False, global=False),
interpreter=PythonInfo(spec=CPython3.7.9.final.0-64, exe=/nix/store/q5hdqw6bcp3mfzg8l9m2qhra3y892xwm-python3-3.7.9/bin/python3.7, platform=linux, version='3.7.9 (default, Aug 15 2020, 06:36:35) \n[GCC 10.2.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'pwsh': 'pwsh'
SKIPPED [1] tests/integration/test_run_int.py: need --int option to run
SKIPPED [1] tests/integration/test_zipapp.py: need --int option to run
SKIPPED [2] tests/integration/test_zipapp.py:95: need --int option to run
FAILED tests/unit/activation/test_xonsh.py::test_xonsh[with_prompt] - IndexEr...
FAILED tests/unit/activation/test_xonsh.py::test_xonsh[no_prompt] - IndexErro...
===== 2 failed, 209 passed, 15 skipped, 2 deselected, 1 warning in 17.42s ====== |
If we use |
Motivation for this change
Update to latest upstream release 20.3.1
Change log: https://virtualenv.pypa.io/en/latest/changelog.html#bugfixes-20-3-1
This PR also enables the tests.
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)