Skip to content
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.pipx: 0.15.5.1 -> 0.15.6.0 #100978

Merged
merged 1 commit into from Dec 20, 2020

Conversation

@yevhenshymotiuk
Copy link
Contributor

@yevhenshymotiuk yevhenshymotiuk commented Oct 18, 2020

Motivation for this change

Update to the latest version: https://github.com/pipxproject/pipx/releases/tag/0.15.6.0

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
@SuperSandro2000
Copy link
Member

@SuperSandro2000 SuperSandro2000 commented Nov 27, 2020

Fails to build with sandbox enabled:

Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
Sourcing pytest-check-hook
Using pytestCheckPhase
Removing setuptoolsCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/wrg54rkc25s44ybdrgzr78bk1k5rls0a-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_upgrade_all.py
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/pipx
copying src/pipx/version.py -> build/lib/pipx
copying src/pipx/venv_metadata_inspector.py -> build/lib/pipx
copying src/pipx/venv.py -> build/lib/pipx
copying src/pipx/util.py -> build/lib/pipx
copying src/pipx/shared_libs.py -> build/lib/pipx
copying src/pipx/pipx_metadata_file.py -> build/lib/pipx
copying src/pipx/package_specifier.py -> build/lib/pipx
copying src/pipx/main.py -> build/lib/pipx
copying src/pipx/interpreter.py -> build/lib/pipx
copying src/pipx/emojies.py -> build/lib/pipx
copying src/pipx/constants.py -> build/lib/pipx
copying src/pipx/colors.py -> build/lib/pipx
copying src/pipx/animate.py -> build/lib/pipx
copying src/pipx/__main__.py -> build/lib/pipx
copying src/pipx/__init__.py -> build/lib/pipx
creating build/lib/pipx/commands
copying src/pipx/commands/upgrade.py -> build/lib/pipx/commands
copying src/pipx/commands/uninstall.py -> build/lib/pipx/commands
copying src/pipx/commands/run_pip.py -> build/lib/pipx/commands
copying src/pipx/commands/run.py -> build/lib/pipx/commands
copying src/pipx/commands/reinstall.py -> build/lib/pipx/commands
copying src/pipx/commands/list_packages.py -> build/lib/pipx/commands
copying src/pipx/commands/install.py -> build/lib/pipx/commands
copying src/pipx/commands/inject.py -> build/lib/pipx/commands
copying src/pipx/commands/ensure_path.py -> build/lib/pipx/commands
copying src/pipx/commands/common.py -> build/lib/pipx/commands
copying src/pipx/commands/__init__.py -> build/lib/pipx/commands
running egg_info
creating src/pipx.egg-info
writing src/pipx.egg-info/PKG-INFO
writing dependency_links to src/pipx.egg-info/dependency_links.txt
writing entry points to src/pipx.egg-info/entry_points.txt
writing requirements to src/pipx.egg-info/requires.txt
writing top-level names to src/pipx.egg-info/top_level.txt
writing manifest file 'src/pipx.egg-info/SOURCES.txt'
reading manifest file 'src/pipx.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.isort.cfg'
warning: no previously-included files found matching '.pre-commit-config.yaml'
warning: no previously-included files found matching 'get-pipx.py'
warning: no previously-included files found matching 'makefile'
warning: no previously-included files found matching 'generate_docs.py'
warning: no previously-included files found matching '.flake8'
warning: no previously-included files found matching 'mkdocs.yml'
warning: no previously-included files found matching 'noxfile.py'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.deepsource.toml'
warning: no previously-included files matching '*' found under directory 'testdata'
no previously-included directories found matching 'templates'
no previously-included directories found matching 'tests'
no previously-included directories found matching 'docs'
no previously-included directories found matching 'scripts'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '.*.swp' found anywhere in distribution
writing manifest file 'src/pipx.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/pipx
creating build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/__init__.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/common.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/ensure_path.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/inject.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/install.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/list_packages.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/reinstall.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/run.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/run_pip.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/uninstall.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/commands/upgrade.py -> build/bdist.linux-x86_64/wheel/pipx/commands
copying build/lib/pipx/__init__.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/__main__.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/animate.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/colors.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/constants.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/emojies.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/interpreter.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/main.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/package_specifier.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/pipx_metadata_file.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/shared_libs.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/util.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/venv.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/venv_metadata_inspector.py -> build/bdist.linux-x86_64/wheel/pipx
copying build/lib/pipx/version.py -> build/bdist.linux-x86_64/wheel/pipx
running install_egg_info
Copying src/pipx.egg-info to build/bdist.linux-x86_64/wheel/pipx-0.15.6.0-py3.8.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/pipx-0.15.6.0.dist-info/WHEEL
creating 'dist/pipx-0.15.6.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'pipx/__init__.py'
adding 'pipx/__main__.py'
adding 'pipx/animate.py'
adding 'pipx/colors.py'
adding 'pipx/constants.py'
adding 'pipx/emojies.py'
adding 'pipx/interpreter.py'
adding 'pipx/main.py'
adding 'pipx/package_specifier.py'
adding 'pipx/pipx_metadata_file.py'
adding 'pipx/shared_libs.py'
adding 'pipx/util.py'
adding 'pipx/venv.py'
adding 'pipx/venv_metadata_inspector.py'
adding 'pipx/version.py'
adding 'pipx/commands/__init__.py'
adding 'pipx/commands/common.py'
adding 'pipx/commands/ensure_path.py'
adding 'pipx/commands/inject.py'
adding 'pipx/commands/install.py'
adding 'pipx/commands/list_packages.py'
adding 'pipx/commands/reinstall.py'
adding 'pipx/commands/run.py'
adding 'pipx/commands/run_pip.py'
adding 'pipx/commands/uninstall.py'
adding 'pipx/commands/upgrade.py'
adding 'pipx-0.15.6.0.dist-info/LICENSE'
adding 'pipx-0.15.6.0.dist-info/METADATA'
adding 'pipx-0.15.6.0.dist-info/WHEEL'
adding 'pipx-0.15.6.0.dist-info/entry_points.txt'
adding 'pipx-0.15.6.0.dist-info/top_level.txt'
adding 'pipx-0.15.6.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/source/dist /build/source
�[33mDEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.�[0m
Processing ./pipx-0.15.6.0-py3-none-any.whl
Requirement already satisfied: argcomplete<2.0,>=1.9.4 in /nix/store/h7acxpzksahnmdw2j74lbac4q5v781a1-python3.8-argcomplete-1.12.1/lib/python3.8/site-packages (from pipx==0.15.6.0) (1.12.1)
Requirement already satisfied: userpath>=1.4.1 in /nix/store/461q0vmh1fz944rxzgq6i5db3zm018xk-python3.8-userpath-1.4.1/lib/python3.8/site-packages (from pipx==0.15.6.0) (1.4.1)
Requirement already satisfied: packaging>=20.0 in /nix/store/rap0m2hp943dv5d163w57dpjwdci3p9a-python3.8-packaging-20.4/lib/python3.8/site-packages (from pipx==0.15.6.0) (20.4)
Requirement already satisfied: distro; platform_system == "Linux" in /nix/store/9avl9i8i5vi5ajbz3mjf4ac0rp15fjm0-python3.8-distro-1.5.0/lib/python3.8/site-packages (from userpath>=1.4.1->pipx==0.15.6.0) (1.5.0)
Requirement already satisfied: click in /nix/store/nbn1bcn2h42mlsmdfx2c7q47c1hf19zj-python3.8-click-7.1.2/lib/python3.8/site-packages (from userpath>=1.4.1->pipx==0.15.6.0) (7.1.2)
Requirement already satisfied: pyparsing>=2.0.2 in /nix/store/l9n68szyaxqg36sf6qvvbpnb58scn0w8-python3.8-pyparsing-2.4.6/lib/python3.8/site-packages (from packaging>=20.0->pipx==0.15.6.0) (2.4.6)
Requirement already satisfied: six in /nix/store/rl4s0fhwhx3pmr67si1y7djhqln7g97w-python3.8-six-1.15.0/lib/python3.8/site-packages (from packaging>=20.0->pipx==0.15.6.0) (1.15.0)
Installing collected packages: pipx
�[33m  WARNING: The script pipx is installed in '/nix/store/xma4p6v5rkavc5zyrvvw4ggixwirm2q9-python3.8-pipx-0.15.6.0/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.�[0m
Successfully installed pipx-0.15.6.0
/build/source
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xma4p6v5rkavc5zyrvvw4ggixwirm2q9-python3.8-pipx-0.15.6.0
strip is /nix/store/p3kn26g5nhmx6spn37ar3mn0xjbzks3g-binutils-2.31.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/xma4p6v5rkavc5zyrvvw4ggixwirm2q9-python3.8-pipx-0.15.6.0/lib  /nix/store/xma4p6v5rkavc5zyrvvw4ggixwirm2q9-python3.8-pipx-0.15.6.0/bin 
patching script interpreter paths in /nix/store/xma4p6v5rkavc5zyrvvw4ggixwirm2q9-python3.8-pipx-0.15.6.0
checking for references to /build/ in /nix/store/xma4p6v5rkavc5zyrvvw4ggixwirm2q9-python3.8-pipx-0.15.6.0...
Rewriting #!/nix/store/5aq2ix4vmk8bxs20ddqi48vc4bnk8zr5-python3-3.8.6/bin/python3.8 to #!/nix/store/5aq2ix4vmk8bxs20ddqi48vc4bnk8zr5-python3-3.8.6
wrapping `/nix/store/xma4p6v5rkavc5zyrvvw4ggixwirm2q9-python3.8-pipx-0.15.6.0/bin/pipx'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
running install tests
no Makefile or custom installCheckPhase, doing nothing
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
pytestCheckPhase
Executing pytestCheckPhase
�[1m============================= test session starts ==============================�[0m
platform linux -- Python 3.8.6, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: /build/source
�[1mcollecting ... �[0m�[1m
collecting 143 items                                                           �[0m�[1m
collected 163 items / 65 deselected / 98 selected                              �[0m

tests/test_animate.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m                                        [ 11%]�[0m
tests/test_completions.py �[32m.�[0m�[32m                                              [ 12%]�[0m
tests/test_constants.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m                               [ 30%]�[0m
tests/test_interpreter.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m                                        [ 37%]�[0m
tests/test_list.py �[32m.�[0m�[31mF�[0m�[31mF�[0m�[31mF�[0m�[31mF�[0m�[31m                                                 [ 42%]�[0m
tests/test_main.py �[32m.�[0m�[32m.�[0m�[31m                                                    [ 44%]�[0m
tests/test_package_specifier.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[31m                [ 70%]�[0m
tests/test_pipx_metadata_file.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[31m                                    [ 74%]�[0m
tests/test_run.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[31m                                [ 97%]�[0m
tests/test_shared_libs.py �[32m.�[0m�[32m.�[0m�[31m                                             [100%]�[0m

=================================== FAILURES ===================================
�[31m�[1m_______________________________ test_list_suffix _______________________________�[0m

pipx_temp_env = None
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ffff5fe54c0>
capsys = <_pytest.capture.CaptureFixture object at 0x7ffff5fe56a0>

    def test_list_suffix(pipx_temp_env, monkeypatch, capsys):
        suffix = "_x"
>       assert not run_pipx_cli(["install", "pycowsay", f"--suffix={suffix}"])
�[1m�[31mE       AssertionError: assert not 1�[0m
�[1m�[31mE        +  where 1 = run_pipx_cli(['install', 'pycowsay', '--suffix=_x'])�[0m

�[1m�[31mtests/test_list.py�[0m:31: AssertionError
----------------------------- Captured stdout call -----------------------------
creating virtual environment...
creating shared libraries...
upgrading shared libraries...
installing pycowsay...

----------------------------- Captured stderr call -----------------------------
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5da46d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5db4df0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5db48b0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5db4a00>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5db4940>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
ERROR: No matching distribution found for pip
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3c40>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3df0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5db3880>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3490>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3190>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
ERROR: Could not find a version that satisfies the requirement pycowsay (from versions: none)
ERROR: No matching distribution found for pycowsay
�[?25lError installing pycowsay.
�[?25h
------------------------------ Captured log call -------------------------------
�[1m�[31mERROR   �[0m root:shared_libs.py:91 Failed to upgrade shared libraries
Traceback (most recent call last):
  File "/nix/store/xma4p6v5rkavc5zyrvvw4ggixwirm2q9-python3.8-pipx-0.15.6.0/lib/python3.8/site-packages/pipx/shared_libs.py", line 73, in upgrade
    run(
  File "/nix/store/xma4p6v5rkavc5zyrvvw4ggixwirm2q9-python3.8-pipx-0.15.6.0/lib/python3.8/site-packages/pipx/util.py", line 135, in run
    raise PipxError(f"{cmd_str!r} failed")
pipx.util.PipxError: '/build/tmp.Eyar5BQvc2/.local/pipx/shared/bin/python -m pip --disable-pip-version-check install --ignore-installed -q --upgrade pip setuptools wheel' failed
�[31m�[1m_________________________ test_list_legacy_venv[None] __________________________�[0m

pipx_temp_env = None
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ffff5f0aa90>
capsys = <_pytest.capture.CaptureFixture object at 0x7ffff5f0aac0>
metadata_version = None

    @pytest.mark.parametrize("metadata_version", [None, "0.1"])
    def test_list_legacy_venv(pipx_temp_env, monkeypatch, capsys, metadata_version):
>       assert not run_pipx_cli(["install", "pycowsay"])
�[1m�[31mE       AssertionError: assert not 1�[0m
�[1m�[31mE        +  where 1 = run_pipx_cli(['install', 'pycowsay'])�[0m

�[1m�[31mtests/test_list.py�[0m:40: AssertionError
----------------------------- Captured stdout call -----------------------------
creating virtual environment...
installing pycowsay...

----------------------------- Captured stderr call -----------------------------
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3c40>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3df0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5db3880>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3490>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3190>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
ERROR: Could not find a version that satisfies the requirement pycowsay (from versions: none)
ERROR: No matching distribution found for pycowsay
�[?25lError installing pycowsay.
�[?25h
�[31m�[1m__________________________ test_list_legacy_venv[0.1] __________________________�[0m

pipx_temp_env = None
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ffff5f9aa90>
capsys = <_pytest.capture.CaptureFixture object at 0x7ffff5f9a970>
metadata_version = '0.1'

    @pytest.mark.parametrize("metadata_version", [None, "0.1"])
    def test_list_legacy_venv(pipx_temp_env, monkeypatch, capsys, metadata_version):
>       assert not run_pipx_cli(["install", "pycowsay"])
�[1m�[31mE       AssertionError: assert not 1�[0m
�[1m�[31mE        +  where 1 = run_pipx_cli(['install', 'pycowsay'])�[0m

�[1m�[31mtests/test_list.py�[0m:40: AssertionError
----------------------------- Captured stdout call -----------------------------
creating virtual environment...
installing pycowsay...

----------------------------- Captured stderr call -----------------------------
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3c40>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3df0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5db3880>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3490>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc3190>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
ERROR: Could not find a version that satisfies the requirement pycowsay (from versions: none)
ERROR: No matching distribution found for pycowsay
�[?25lError installing pycowsay.
�[?25h
�[31m�[1m______________________ test_list_suffix_legacy_venv[0.1] _______________________�[0m

pipx_temp_env = None
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ffff6000e50>
capsys = <_pytest.capture.CaptureFixture object at 0x7ffff6000490>
metadata_version = '0.1'

    @pytest.mark.parametrize("metadata_version", ["0.1"])
    def test_list_suffix_legacy_venv(pipx_temp_env, monkeypatch, capsys, metadata_version):
        suffix = "_x"
>       assert not run_pipx_cli(["install", "pycowsay", f"--suffix={suffix}"])
�[1m�[31mE       AssertionError: assert not 1�[0m
�[1m�[31mE        +  where 1 = run_pipx_cli(['install', 'pycowsay', '--suffix=_x'])�[0m

�[1m�[31mtests/test_list.py�[0m:51: AssertionError
----------------------------- Captured stdout call -----------------------------
creating virtual environment...
installing pycowsay...

----------------------------- Captured stderr call -----------------------------
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc2c40>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc2df0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5db3880>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc2490>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff5dc2190>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycowsay/
ERROR: Could not find a version that satisfies the requirement pycowsay (from versions: none)
ERROR: No matching distribution found for pycowsay
�[?25lError installing pycowsay.
�[?25h
=========================== short test summary info ============================
FAILED tests/test_list.py::test_list_suffix - AssertionError: assert not 1
FAILED tests/test_list.py::test_list_legacy_venv[None] - AssertionError: asse...
FAILED tests/test_list.py::test_list_legacy_venv[0.1] - AssertionError: asser...
FAILED tests/test_list.py::test_list_suffix_legacy_venv[0.1] - AssertionError...
�[31m=========== �[31m�[1m4 failed�[0m, �[32m94 passed�[0m, �[33m65 deselected�[0m�[31m in 127.29s (0:02:07)�[0m�[31m ============�[0m

@SuperSandro2000
Copy link
Member

@SuperSandro2000 SuperSandro2000 commented Dec 20, 2020

Result of nixpkgs-review pr 100978 run on x86_64-darwin 1

3 packages built:
  • python37Packages.pipx
  • python38Packages.pipx
  • python39Packages.pipx

@SuperSandro2000
Copy link
Member

@SuperSandro2000 SuperSandro2000 commented Dec 20, 2020

Result of nixpkgs-review pr 100978 run on x86_64-linux 1

3 packages built:
  • python37Packages.pipx
  • python38Packages.pipx
  • python39Packages.pipx

@SuperSandro2000 SuperSandro2000 merged commit 765e5c3 into NixOS:master Dec 20, 2020
17 checks passed
@yevhenshymotiuk yevhenshymotiuk deleted the pipx-0.15.6.0 branch Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants