pipx icon indicating copy to clipboard operation
pipx copied to clipboard

Tests fail if PYTHONPATH is needed to locate pipx package

Open kloczek opened this issue 4 years ago • 10 comments

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-0.16.2.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-0.16.2.1-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/python3 -Bm pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /home/tkloczko/rpmbuild/BUILD/pipx-0.16.2.1, configfile: pyproject.toml
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1, mock-3.5.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, flaky-3.7.0, cases-3.4.6, hypothesis-6.10.1, case-1.5.3, isort-1.3.0
collected 339 items / 124 deselected / 215 selected

tests/test_animate.py ...........                                                                                                                                    [  5%]
tests/test_completions.py .                                                                                                                                          [  5%]
tests/test_emojis.py ........................                                                                                                                        [ 16%]
tests/test_inject.py .......                                                                                                                                         [ 20%]
tests/test_install.py .......................                                                                                                                        [ 30%]
tests/test_interpreter.py .......                                                                                                                                    [ 33%]
tests/test_list.py .......                                                                                                                                           [ 37%]
tests/test_main.py ..                                                                                                                                                [ 38%]
tests/test_package_specifier.py .......................................................                                                                              [ 63%]
tests/test_pipx_metadata_file.py ......                                                                                                                              [ 66%]
tests/test_reinstall.py .......                                                                                                                                      [ 69%]
tests/test_reinstall_all.py .....                                                                                                                                    [ 72%]
tests/test_run.py .................F........                                                                                                                         [ 84%]
tests/test_runpip.py .                                                                                                                                               [ 84%]
tests/test_shared_libs.py ..                                                                                                                                         [ 85%]
tests/test_uninstall.py .................                                                                                                                            [ 93%]
tests/test_uninstall_all.py ...                                                                                                                                      [ 94%]
tests/test_upgrade.py ........                                                                                                                                       [ 98%]
tests/test_upgrade_all.py ...                                                                                                                                        [100%]

================================================================================= FAILURES =================================================================================
_____________________________________________________________________ test_run_ensure_null_pythonpath ______________________________________________________________________

    def test_run_ensure_null_pythonpath():
        env = os.environ.copy()
        env["PYTHONPATH"] = "test"
>       assert (
            "None"
            in subprocess.run(
                [
                    sys.executable,
                    "-m",
                    "pipx",
                    "run",
                    "ipython",
                    "-c",
                    "import os; print(os.environ.get('PYTHONPATH'))",
                ],
                universal_newlines=True,
                env=env,
                stdout=subprocess.PIPE,
                stderr=subprocess.PIPE,
            ).stdout
        )
E       assert 'None' in ''
E        +  where '' = CompletedProcess(args=['/usr/bin/python3', '-m', 'pipx', 'run', 'ipython', '-c', "import os; print(os.environ.get('PYTHONPATH'))"], returncode=1, stdout='', stderr='/usr/bin/python3: No module named pipx\n').stdout
E        +    where CompletedProcess(args=['/usr/bin/python3', '-m', 'pipx', 'run', 'ipython', '-c', "import os; print(os.environ.get('PYTHONPATH'))"], returncode=1, stdout='', stderr='/usr/bin/python3: No module named pipx\n') = <function run at 0x7fdd9b8c5c10>(['/usr/bin/python3', '-m', 'pipx', 'run', 'ipython', '-c', ...], universal_newlines=True, env={'BASH_FUNC_which%%': '() {  ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functi...ion -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'CONFIG_SITE': 'NONE', 'CVS_RSH': 'ssh', ...}, stdout=-1, stderr=-1)
E        +      where <function run at 0x7fdd9b8c5c10> = subprocess.run
E        +      and   -1 = subprocess.PIPE
E        +      and   -1 = subprocess.PIPE

tests/test_run.py:107: AssertionError
========================================================================= short test summary info ==========================================================================
FAILED tests/test_run.py::test_run_ensure_null_pythonpath - assert 'None' in ''
======================================================== 1 failed, 214 passed, 124 deselected in 365.43s (0:06:05) =========================================================

kloczek avatar Apr 30 '21 15:04 kloczek

This looks like it's failing because you depend on PYTHONPATH to define the path to the pipx build directory, and this test specifically tests setting PYTHONPATH to an invalid value to make sure we can recover from it. Unfortunately the tests assume that PYTHONPATH is not necessary to find pipx itself.

Did this work with previous versions of pipx?

itsayellow avatar Apr 30 '21 19:04 itsayellow

Could you set the cwd to your pipx build directory? I think that would make it work.

itsayellow avatar Apr 30 '21 19:04 itsayellow

It is one aspect of the thesting that way which is testing stuff which is prepared to be used on assembly rpm package. In such testing I'm usind %pytest rpm macro which looks like that:

%pytest %{expand:\\\
        CFLAGS="%{build_cflags}"\\\
        LDFLAGS="%{build_ldflags}"\\\
        PATH="%{buildroot}%{_bindir}:$PATH"\\\
        PYTHONPATH="${PYTHONPATH:-%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}}"\\\
        %__python3 -Bm pytest} -ra

That macro looks almost the same like in Fedora and so far I was able to use that macro for +400 python modules packages :/ Do you think that there is no other way to perfotrm pipx testing on assembly package using above methodology?

Did this work with previous versions of pipx?

I have no idea because I just started working on packaging pipx

kloczek avatar Apr 30 '21 19:04 kloczek

Could you set the cwd to your pipx build directory? I think that would make it work.

$PWD is on the root directory with source tree.

kloczek avatar Apr 30 '21 19:04 kloczek

In that case I'm not sure why it doesn't work. These tests work locally and on CI, and AFAIK we have an empty PYTHONPATH and it still finds pipx.

I looked at the fedora build log: https://kojipkgs.fedoraproject.org//packages/pipx/0.16.2.1/1.fc35/data/logs/noarch/build.log It seems they specifically don't run this test using pytest -k not test_run_ensure_null_pythonpath:

k='not test_run_ensure_null_pythonpath'

Later it seems they skip a lot more tests also...

itsayellow avatar Apr 30 '21 23:04 itsayellow

Actually PWD is not the issue, if your python testing environment doesn't contain the installed pipx version and you were depending on the PYTHONPATH to supply access to it then I guess that is the problem.

I'll have to look at this test to see if we can do the same test a different way.

itsayellow avatar Apr 30 '21 23:04 itsayellow

Because I'm trying to package your module as an rpm package I'm using exact build, install and test procedure to build package from non-root account which consis from:

  • "setup.py build"
  • "setup.py install --root </install/prefix>"
  • "pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

Just figured ouyt that because that metrodologyu I need to use pytest with --import-mode=importlib. So after that I had:

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-0.16.5-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-0.16.5-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --import-mode=importlib
ImportError while loading conftest '/home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/tests/conftest.py'.
tests/conftest.py:8: in <module>
    from helpers import WIN
E   ModuleNotFoundError: No module named 'helpers'

However now after install that module in version 0.3 I have another issue.

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-0.16.5-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-0.16.5-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --import-mode=importlib
ImportError while loading conftest '/home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/tests/conftest.py'.
tests/conftest.py:8: in <module>
    from helpers import WIN
E   ImportError: cannot import name 'WIN' from 'helpers' (/usr/lib/python3.8/site-packages/helpers/__init__.py)

As you see I've tested that with just released pipx 0.16.5.

kloczek avatar Sep 26 '21 10:09 kloczek

Here is pyteste outpur without --import-mode=importlib

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-0.16.5-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-0.16.5-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5, configfile: pyproject.toml
plugins: flaky-3.7.0, freezegun-0.4.2, mock-3.6.1, hypothesis-6.32.1, timeout-2.0.2, subtests-0.5.0
collected 338 items / 124 deselected / 214 selected

tests/test_animate.py EEEEEEEEEEE                                                                                                                                    [  5%]
tests/test_completions.py E                                                                                                                                          [  5%]
tests/test_emojis.py EEEEEEEEEEEEEEEEEEEEEEEE                                                                                                                        [ 16%]
tests/test_inject.py EEEEEEE                                                                                                                                         [ 20%]
tests/test_install.py EEEEEEEEEEEEEEEEEEEEEEE                                                                                                                        [ 30%]
tests/test_interpreter.py EEEEEEE                                                                                                                                    [ 34%]
tests/test_list.py EEEEEEE                                                                                                                                           [ 37%]
tests/test_main.py EE                                                                                                                                                [ 38%]
tests/test_package_specifier.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE                                                                              [ 64%]
tests/test_pipx_metadata_file.py EEEEEE                                                                                                                              [ 66%]
tests/test_reinstall.py EEEEEEE                                                                                                                                      [ 70%]
tests/test_reinstall_all.py EEEEE                                                                                                                                    [ 72%]
tests/test_run.py EEEEEEEEEEEEEEEEEEEEEEEEEE                                                                                                                         [ 84%]
tests/test_runpip.py E                                                                                                                                               [ 85%]
tests/test_shared_libs.py EE                                                                                                                                         [ 85%]
tests/test_uninstall.py EEEEEEEEEEEEEEEE                                                                                                                             [ 93%]
tests/test_uninstall_all.py EEE                                                                                                                                      [ 94%]
tests/test_upgrade.py EEEEEEEE                                                                                                                                       [ 98%]
tests/test_upgrade_all.py EEE                                                                                                                                        [100%]

================================================================================== ERRORS ==================================================================================
______________________________________________________________ ERROR at setup of test_delay_suppresses_output ______________________________________________________________

request = <SubRequest 'pipx_local_pypiserver' for <Function test_delay_suppresses_output>>

    @pytest.fixture(scope="session", autouse=True)
    def pipx_local_pypiserver(request):
        """Starts local pypiserver once per session unless --net-pypiserver was
        passed to pytest"""
        if request.config.option.net_pypiserver:
            # need both yield and return because other codepath has both
            yield
            return

        pipx_cache_dir = (
            request.config.invocation_params.dir / PIPX_TESTS_DIR / "package_cache"
        )
        check_test_packages_cmd = [
            "python3",
            "scripts/update_package_cache.py",
            "--check-only",
            str(PIPX_TESTS_PACKAGE_LIST_DIR),
            str(pipx_cache_dir),
        ]
        update_test_packages_cmd = [
            "python3",
            "scripts/update_package_cache.py",
            str(PIPX_TESTS_PACKAGE_LIST_DIR),
            str(pipx_cache_dir),
        ]
        check_test_packages_process = subprocess.run(check_test_packages_cmd)
        if check_test_packages_process.returncode != 0:
>           raise Exception(
                f"Directory {str(pipx_cache_dir)} does not contain all "
                "package distribution files necessary to run pipx tests. Please "
                "run the following command to populate it: "
                f"{' '.join(update_test_packages_cmd)}"
            )
E           Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribution files necessary to run pipx tests. Please run the following command to populate it: python3 scripts/update_package_cache.py testdata/tests_packages /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache

tests/conftest.py:104: Exception
-------------------------------------------------------------------------- Captured stderr setup ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "scripts/update_package_cache.py", line 190, in <module>
    status = main(sys.argv)
  File "scripts/update_package_cache.py", line 183, in main
    return update_test_packages_cache(
  File "scripts/update_package_cache.py", line 63, in update_test_packages_cache
    packages_dir_path.mkdir(exist_ok=True)
  File "/usr/lib64/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache/3.8'
_________________________________________ ERROR at setup of test_line_lengths_emoji[45-020406081012141618202224262830323436384...] _________________________________________

request = <SubRequest 'pipx_local_pypiserver' for <Function test_delay_suppresses_output>>

    @pytest.fixture(scope="session", autouse=True)
    def pipx_local_pypiserver(request):
        """Starts local pypiserver once per session unless --net-pypiserver was
        passed to pytest"""
        if request.config.option.net_pypiserver:
            # need both yield and return because other codepath has both
            yield
            return

        pipx_cache_dir = (
            request.config.invocation_params.dir / PIPX_TESTS_DIR / "package_cache"
        )
        check_test_packages_cmd = [
            "python3",
            "scripts/update_package_cache.py",
            "--check-only",
            str(PIPX_TESTS_PACKAGE_LIST_DIR),
            str(pipx_cache_dir),
        ]
        update_test_packages_cmd = [
            "python3",
            "scripts/update_package_cache.py",
            str(PIPX_TESTS_PACKAGE_LIST_DIR),
            str(pipx_cache_dir),
        ]
        check_test_packages_process = subprocess.run(check_test_packages_cmd)
        if check_test_packages_process.returncode != 0:
>           raise Exception(
                f"Directory {str(pipx_cache_dir)} does not contain all "
                "package distribution files necessary to run pipx tests. Please "
                "run the following command to populate it: "
                f"{' '.join(update_test_packages_cmd)}"
            )
E           Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribution files necessary to run pipx tests. Please run the following command to populate it: python3 scripts/update_package_cache.py testdata/tests_packages /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache

tests/conftest.py:104: Exception
__________________________________________ ERROR at setup of test_line_lengths_emoji[46-0204060810121416182022242628303234363840] __________________________________________

[..all units are failing the same way..]

============================================================================= warnings summary =============================================================================
../../../../../usr/lib/python3.8/site-packages/pytest_freezegun.py:17: 676 warnings
  /usr/lib/python3.8/site-packages/pytest_freezegun.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion(pytest.__version__) < LooseVersion('3.6.0'):

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
ERROR tests/test_animate.py::test_delay_suppresses_output - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all...
ERROR tests/test_animate.py::test_line_lengths_emoji[45-020406081012141618202224262830323436384...] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pip...
ERROR tests/test_animate.py::test_line_lengths_emoji[46-0204060810121416182022242628303234363840] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_...
ERROR tests/test_animate.py::test_line_lengths_emoji[47-0204060810121416182022242628303234363840] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_...
ERROR tests/test_animate.py::test_line_lengths_no_emoji[43-020406081012141618202224262830323436384] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pip...
ERROR tests/test_animate.py::test_line_lengths_no_emoji[44-0204060810121416182022242628303234363840] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pi...
ERROR tests/test_animate.py::test_line_lengths_no_emoji[45-0204060810121416182022242628303234363840] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pi...
ERROR tests/test_animate.py::test_env_no_animate[0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all ...
ERROR tests/test_animate.py::test_env_no_animate[8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all ...
ERROR tests/test_animate.py::test_env_no_animate[16-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all...
ERROR tests/test_animate.py::test_env_no_animate[17-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain al...
ERROR tests/test_completions.py::test_cli - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distrib...
ERROR tests/test_emojis.py::test_use_emojis[None-utf-8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain ...
ERROR tests/test_emojis.py::test_use_emojis[-utf-8-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all...
ERROR tests/test_emojis.py::test_use_emojis[0-utf-8-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain al...
ERROR tests/test_emojis.py::test_use_emojis[1-utf-8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all...
ERROR tests/test_emojis.py::test_use_emojis[true-utf-8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain ...
ERROR tests/test_emojis.py::test_use_emojis[tru-utf-8-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain ...
ERROR tests/test_emojis.py::test_use_emojis[True-utf-8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain ...
ERROR tests/test_emojis.py::test_use_emojis[false-utf-8-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contai...
ERROR tests/test_emojis.py::test_use_emojis[None-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not conta...
ERROR tests/test_emojis.py::test_use_emojis[-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain a...
ERROR tests/test_emojis.py::test_use_emojis[0-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain ...
ERROR tests/test_emojis.py::test_use_emojis[1-latin_1-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain a...
ERROR tests/test_emojis.py::test_use_emojis[true-latin_1-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contai...
ERROR tests/test_emojis.py::test_use_emojis[tru-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contai...
ERROR tests/test_emojis.py::test_use_emojis[True-latin_1-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contai...
ERROR tests/test_emojis.py::test_use_emojis[false-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not cont...
ERROR tests/test_emojis.py::test_use_emojis[None-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contai...
ERROR tests/test_emojis.py::test_use_emojis[-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain al...
ERROR tests/test_emojis.py::test_use_emojis[0-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain a...
ERROR tests/test_emojis.py::test_use_emojis[1-cp1252-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain al...
ERROR tests/test_emojis.py::test_use_emojis[true-cp1252-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain...
ERROR tests/test_emojis.py::test_use_emojis[tru-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain...
ERROR tests/test_emojis.py::test_use_emojis[True-cp1252-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain...
ERROR tests/test_emojis.py::test_use_emojis[false-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not conta...
ERROR tests/test_inject.py::test_inject_simple - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package di...
ERROR tests/test_inject.py::test_inject_simple_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not cont...
ERROR tests/test_inject.py::test_inject_simple_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not conta...
ERROR tests/test_inject.py::test_inject_tricky_character - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all ...
ERROR tests/test_inject.py::test_spec - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distributio...
ERROR tests/test_inject.py::test_inject_include_apps[with_suffix0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not co...
ERROR tests/test_inject.py::test_inject_include_apps[with_suffix1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not co...
ERROR tests/test_install.py::test_help_text - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distr...
ERROR tests/test_install.py::test_install_easy_packages[pycowsay-pycowsay] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache doe...
ERROR tests/test_install.py::test_install_easy_packages[black-black==20.8b1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache d...
ERROR tests/test_install.py::test_install_tricky_packages[cloudtoken-cloudtoken==0.1.707] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_install.py::test_install_tricky_packages[awscli-awscli==1.18.168] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_c...
ERROR tests/test_install.py::test_install_tricky_packages[ansible-ansible==2.9.13] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_c...
ERROR tests/test_install.py::test_install_tricky_packages[shell-functools-shell-functools==0.3.0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_...
ERROR tests/test_install.py::test_install_package_specs[pylint-pylint==2.3.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache ...
ERROR tests/test_install.py::test_install_package_specs[black-https://github.com/ambv/black/archive/18.9b0.zip] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx...
ERROR tests/test_install.py::test_force_install - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package d...
ERROR tests/test_install.py::test_install_no_packages_found - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain a...
ERROR tests/test_install.py::test_install_same_package_twice_no_force - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not...
ERROR tests/test_install.py::test_include_deps - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package di...
ERROR tests/test_install.py::test_name_tricky_characters[jaraco-financial-jaraco.financial==2.0.0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx...
ERROR tests/test_install.py::test_name_tricky_characters[tox-ini-fmt-tox-ini-fmt==0.5.0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pac...
ERROR tests/test_install.py::test_extra - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribut...
ERROR tests/test_install.py::test_install_local_extra - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pac...
ERROR tests/test_install.py::test_path_warning - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package di...
ERROR tests/test_install.py::test_existing_symlink_points_to_existing_wrong_location_warning - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests...
ERROR tests/test_install.py::test_existing_symlink_points_to_nothing - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not ...
ERROR tests/test_install.py::test_pip_args_forwarded_to_package_name_determination - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_c...
ERROR tests/test_install.py::test_install_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package ...
ERROR tests/test_install.py::test_install_pip_failure - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pac...
ERROR tests/test_interpreter.py::test_windows_python_venv_present - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not con...
ERROR tests/test_interpreter.py::test_windows_python_no_venv_py_present - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does n...
ERROR tests/test_interpreter.py::test_windows_python_no_venv_python_present - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache do...
ERROR tests/test_interpreter.py::test_windows_python_no_venv_no_python - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does no...
ERROR tests/test_interpreter.py::test_windows_python_no_venv_store_python - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does...
ERROR tests/test_interpreter.py::test_bad_env_python - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_interpreter.py::test_good_env_python - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pac...
ERROR tests/test_list.py::test_cli - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribution f...
ERROR tests/test_list.py::test_missing_interpreter - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all packag...
ERROR tests/test_list.py::test_list_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distri...
ERROR tests/test_list.py::test_list_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pac...
ERROR tests/test_list.py::test_list_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_list.py::test_list_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain a...
ERROR tests/test_list.py::test_list_json - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribu...
ERROR tests/test_main.py::test_help_text - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribu...
ERROR tests/test_main.py::test_version - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distributi...
ERROR tests/test_package_specifier.py::test_valid_pypi_name[Black-black] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does ...
ERROR tests/test_package_specifier.py::test_valid_pypi_name[https://github.com/ambv/black/archive/18.9b0.zip-None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/p...
ERROR tests/test_package_specifier.py::test_valid_pypi_name[black @ https://github.com/ambv/black/archive/18.9b0.zip-None] - Exception: Directory /home/tkloczko/rpmbuild...
ERROR tests/test_package_specifier.py::test_fix_package_name[https://github.com/ambv/black/archive/18.9b0.zip-black-https://github.com/ambv/black/archive/18.9b0.zip] - E...
ERROR tests/test_package_specifier.py::test_fix_package_name[nox@https://github.com/ambv/black/archive/18.9b0.zip-black-black@ https://github.com/ambv/black/archive/18.9b0.zip]
ERROR tests/test_package_specifier.py::test_fix_package_name[nox[extra]@https://github.com/ambv/black/archive/18.9b0.zip-black-black[extra]@ https://github.com/ambv/black/archive/18.9b0.zip]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pac...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[PiPx_stylized.name-pipx-stylized-name-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx==0.15.0-pipx==0.15.0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx>=0.15.0-pipx>=0.15.0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx<=0.15.0-pipx<=0.15.0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx;python_version>="3.6"-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx==0.15.0;python_version>="3.6"-pipx==0.15.0-True] - Exception: Directory /home/tkloczko/rpmb...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx[extra1]-pipx[extra1]-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx[extra1, extra2]-pipx[extra1,extra2]-True] - Exception: Directory /home/tkloczko/rpmbuild/BU...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[src/pipx-/home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/src/pipx-True] - Exception: Directory /home/t...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[git+https://github.com/cs01/nox.git@5ea70723e9e6-git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[nox@git+https://github.com/cs01/nox.git@5ea70723e9e6-nox@ git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[https://github.com/ambv/black/archive/18.9b0.zip-https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[black@https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[black @ https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[black[extra] @ https://github.com/ambv/black/archive/18.9b0.zip-black[extra]@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[my-project[cli] @ git+ssh://[email protected]/my-company/myproject.git ; python_version<"3.7"-my-project[cli]@ git+ssh://[email protected]/my-company/myproject.git-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[path/doesnt/exist-non-existent-path-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[https:/github.com/ambv/black/archive/18.9b0.zip-URL-syntax-error-slash-False] - Exception: Direc...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pack...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[PiPx_stylized.name-pipx-stylized-name-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx==0.15.0-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_te...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx>=0.15.0-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_te...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx<=0.15.0-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_te...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx;python_version>="3.6"-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx==0.15.0;python_version>="3.6"-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUIL...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx[extra1]-pipx[extra1]-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx[extra1, extra2]-pipx[extra1,extra2]-True] - Exception: Directory /home/tkloczko/rpmbuild/BUI...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[src/pipx-/home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/src/pipx-True] - Exception: Directory /home/tk...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[git+https://github.com/cs01/nox.git@5ea70723e9e6-git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[nox@git+https://github.com/cs01/nox.git@5ea70723e9e6-nox@ git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[https://github.com/ambv/black/archive/18.9b0.zip-https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[black@https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[black @ https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[black[extra] @ https://github.com/ambv/black/archive/18.9b0.zip-black[extra]@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[my-project[cli] @ git+ssh://[email protected]/my-company/myproject.git ; python_version<"3.7"-my-project[cli]@ git+ssh://[email protected]/my-company/myproject.git-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[path/doesnt/exist-non-existent-path-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/p...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[https:/github.com/ambv/black/archive/18.9b0.zip-URL-syntax-error-slash-False] - Exception: Direct...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0;python_version>="3.6"-pip_args_in0-pipx==0.15.0-pip_args_expected0-None] - Exception...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0-pip_args_in1-pipx==0.15.0-pip_args_expected1-Ignoring --editable] - Exception: Direc...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0;python_version>="3.6"-pip_args_in2-pipx==0.15.0-pip_args_expected2-Ignoring environment markers (python_version >= "3.6") in package]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0-pip_args_in3-pipx==0.15.0-pip_args_expected3-Ignoring --editable] - Exception: Direc...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[git+https://github.com/cs01/nox.git@5ea70723e9e6-pip_args_in4-git+https://github.com/cs01/nox.git@5ea70723e9e6-pip_args_expected4-Ignoring --editable]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[https://github.com/ambv/black/archive/18.9b0.zip-pip_args_in5-https://github.com/ambv/black/archive/18.9b0.zip-pip_args_expected5-Ignoring --editable]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[src/pipx-pip_args_in6-/home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/src/pipx-pip_args_expected6-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras-pip_args_in7-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>-pip_args_expected7-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras[cow]-pip_args_in8-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>[cow]-pip_args_expected8-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras-pip_args_in9-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>-pip_args_expected9-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras[cow]-pip_args_in10-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>[cow]-pip_args_expected10-None]
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_create - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does no...
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_validation[test_package0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_validation[test_package1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_validation[test_package2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_pipx_metadata_file.py::test_package_install - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain ...
ERROR tests/test_pipx_metadata_file.py::test_package_inject - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain a...
ERROR tests/test_reinstall.py::test_reinstall - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package dis...
ERROR tests/test_reinstall.py::test_reinstall_nonexistent - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all...
ERROR tests/test_reinstall.py::test_reinstall_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not conta...
ERROR tests/test_reinstall.py::test_reinstall_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contai...
ERROR tests/test_reinstall.py::test_reinstall_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_reinstall.py::test_reinstall_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not...
ERROR tests/test_reinstall.py::test_reinstall_specifier - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all p...
ERROR tests/test_reinstall_all.py::test_reinstall_all - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pac...
ERROR tests/test_reinstall_all.py::test_reinstall_all_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does n...
ERROR tests/test_reinstall_all.py::test_reinstall_all_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does no...
ERROR tests/test_reinstall_all.py::test_reinstall_all_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain ...
ERROR tests/test_reinstall_all.py::test_reinstall_all_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache ...
ERROR tests/test_run.py::test_help_text - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribut...
ERROR tests/test_run.py::test_simple_run - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribu...
ERROR tests/test_run.py::test_cache - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribution ...
ERROR tests/test_run.py::test_run_script_from_internet - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args0-expected_app_with_args0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args1-expected_app_with_args1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args2-expected_app_with_args2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args3-expected_app_with_args3] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args4-expected_app_with_args4] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args5-expected_app_with_args5] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args6-expected_app_with_args6] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args7-expected_app_with_args7] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args8-expected_app_with_args8] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args9-expected_app_with_args9] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args10-expected_app_with_args10] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args11-expected_app_with_args11] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args12-expected_app_with_args12] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/...
ERROR tests/test_run.py::test_run_ensure_null_pythonpath - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all ...
ERROR tests/test_run.py::test_package_determination[pycowsay-pycowsay-app_appargs0-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/pa...
ERROR tests/test_run.py::test_package_determination[shell-functools-shell-functools==0.3.0-app_appargs1-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0...
ERROR tests/test_run.py::test_package_determination[black-black==20.8b1-app_appargs2-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/...
ERROR tests/test_run.py::test_package_determination[pylint-pylint==2.3.1-app_appargs3-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests...
ERROR tests/test_run.py::test_package_determination[kaggle-kaggle==1.5.12-app_appargs4-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_test...
ERROR tests/test_run.py::test_package_determination[ipython-ipython==7.16.1-app_appargs5-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_te...
ERROR tests/test_run.py::test_package_determination[cloudtoken-cloudtoken==0.1.707-app_appargs6-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.p...
ERROR tests/test_run.py::test_package_determination[awscli-awscli==1.18.168-app_appargs7-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tes...
ERROR tests/test_runpip.py::test_runpip - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distribut...
ERROR tests/test_shared_libs.py::test_auto_update_shared_libs[-2592300.0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache...
ERROR tests/test_shared_libs.py::test_auto_update_shared_libs[-2591700.0-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cach...
ERROR tests/test_uninstall.py::test_uninstall - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package dis...
ERROR tests/test_uninstall.py::test_uninstall_circular_deps - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain a...
ERROR tests/test_uninstall.py::test_uninstall_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not conta...
ERROR tests/test_uninstall.py::test_uninstall_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contai...
ERROR tests/test_uninstall.py::test_uninstall_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_uninstall.py::test_uninstall_injected - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pa...
ERROR tests/test_uninstall.py::test_uninstall_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not...
ERROR tests/test_uninstall.py::test_uninstall_with_missing_interpreter[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache d...
ERROR tests/test_uninstall.py::test_uninstall_with_missing_interpreter[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache do...
ERROR tests/test_uninstall.py::test_uninstall_with_missing_interpreter[0.2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache do...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does n...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does no...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior[0.2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does no...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior_missing_interpreter[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior_missing_interpreter[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/p...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior_missing_interpreter[0.2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/p...
ERROR tests/test_uninstall_all.py::test_uninstall_all - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all pac...
ERROR tests/test_uninstall_all.py::test_uninstall_all_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does n...
ERROR tests/test_uninstall_all.py::test_uninstall_all_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does no...
ERROR tests/test_upgrade.py::test_upgrade - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package distrib...
ERROR tests/test_upgrade.py::test_upgrade_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain a...
ERROR tests/test_upgrade.py::test_upgrade_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain al...
ERROR tests/test_upgrade.py::test_upgrade_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package ...
ERROR tests/test_upgrade.py::test_upgrade_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not con...
ERROR tests/test_upgrade.py::test_upgrade_specifier - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all packa...
ERROR tests/test_upgrade.py::test_upgrade_include_injected - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain al...
ERROR tests/test_upgrade.py::test_upgrade_no_include_injected - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain...
ERROR tests/test_upgrade_all.py::test_upgrade_all - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not contain all package...
ERROR tests/test_upgrade_all.py::test_upgrade_all_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not c...
ERROR tests/test_upgrade_all.py::test_upgrade_all_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/.pipx_tests/package_cache does not co...
============================================================ 124 deselected, 676 warnings, 214 errors in 3.18s =============================================================

kloczek avatar Dec 26 '21 19:12 kloczek

Even with that script executed before pytest execution all fails with:

============================================================================= warnings summary =============================================================================
../../../../../usr/lib/python3.8/site-packages/pytest_freezegun.py:17: 676 warnings
  /usr/lib/python3.8/site-packages/pytest_freezegun.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion(pytest.__version__) < LooseVersion('3.6.0'):

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
ERROR tests/test_animate.py::test_delay_suppresses_output - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_line_lengths_emoji[45-020406081012141618202224262830323436384...] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_line_lengths_emoji[46-0204060810121416182022242628303234363840] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_line_lengths_emoji[47-0204060810121416182022242628303234363840] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_line_lengths_no_emoji[43-020406081012141618202224262830323436384] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_line_lengths_no_emoji[44-0204060810121416182022242628303234363840] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_line_lengths_no_emoji[45-0204060810121416182022242628303234363840] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_env_no_animate[0-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_env_no_animate[8-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_env_no_animate[16-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_animate.py::test_env_no_animate[17-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_completions.py::test_cli - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[None-utf-8-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[-utf-8-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[0-utf-8-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[1-utf-8-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[true-utf-8-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[tru-utf-8-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[True-utf-8-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[false-utf-8-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[None-latin_1-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[-latin_1-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[0-latin_1-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[1-latin_1-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[true-latin_1-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[tru-latin_1-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[True-latin_1-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[false-latin_1-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[None-cp1252-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[-cp1252-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[0-cp1252-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[1-cp1252-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[true-cp1252-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[tru-cp1252-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[True-cp1252-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_emojis.py::test_use_emojis[false-cp1252-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_inject.py::test_inject_simple - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_inject.py::test_inject_simple_legacy_venv[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_inject.py::test_inject_simple_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_inject.py::test_inject_tricky_character - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_inject.py::test_spec - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_inject.py::test_inject_include_apps[with_suffix0] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_inject.py::test_inject_include_apps[with_suffix1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_help_text - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_easy_packages[pycowsay-pycowsay] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_easy_packages[black-black==20.8b1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_tricky_packages[cloudtoken-cloudtoken==0.1.707] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_tricky_packages[awscli-awscli==1.18.168] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_tricky_packages[ansible-ansible==2.9.13] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_tricky_packages[shell-functools-shell-functools==0.3.0] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_package_specs[pylint-pylint==2.3.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_package_specs[black-https://github.com/ambv/black/archive/18.9b0.zip] - FileNotFoundError: [Errno 2] No such file or directory:...
ERROR tests/test_install.py::test_force_install - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_no_packages_found - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_same_package_twice_no_force - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_include_deps - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_name_tricky_characters[jaraco-financial-jaraco.financial==2.0.0] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_name_tricky_characters[tox-ini-fmt-tox-ini-fmt==0.5.0] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_extra - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_local_extra - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_path_warning - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_existing_symlink_points_to_existing_wrong_location_warning - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_existing_symlink_points_to_nothing - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_pip_args_forwarded_to_package_name_determination - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_suffix - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_install.py::test_install_pip_failure - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_interpreter.py::test_windows_python_venv_present - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_interpreter.py::test_windows_python_no_venv_py_present - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_interpreter.py::test_windows_python_no_venv_python_present - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_interpreter.py::test_windows_python_no_venv_no_python - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_interpreter.py::test_windows_python_no_venv_store_python - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_interpreter.py::test_bad_env_python - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_interpreter.py::test_good_env_python - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_list.py::test_cli - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_list.py::test_missing_interpreter - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_list.py::test_list_suffix - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_list.py::test_list_legacy_venv[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_list.py::test_list_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_list.py::test_list_suffix_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_list.py::test_list_json - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_main.py::test_help_text - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_main.py::test_version - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_package_specifier.py::test_valid_pypi_name[Black-black] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_package_specifier.py::test_valid_pypi_name[https://github.com/ambv/black/archive/18.9b0.zip-None] - FileNotFoundError: [Errno 2] No such file or directo...
ERROR tests/test_package_specifier.py::test_valid_pypi_name[black @ https://github.com/ambv/black/archive/18.9b0.zip-None] - FileNotFoundError: [Errno 2] No such file or...
ERROR tests/test_package_specifier.py::test_fix_package_name[https://github.com/ambv/black/archive/18.9b0.zip-black-https://github.com/ambv/black/archive/18.9b0.zip] - F...
ERROR tests/test_package_specifier.py::test_fix_package_name[nox@https://github.com/ambv/black/archive/18.9b0.zip-black-black@ https://github.com/ambv/black/archive/18.9b0.zip]
ERROR tests/test_package_specifier.py::test_fix_package_name[nox[extra]@https://github.com/ambv/black/archive/18.9b0.zip-black-black[extra]@ https://github.com/ambv/black/archive/18.9b0.zip]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx-pipx-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[PiPx_stylized.name-pipx-stylized-name-True] - FileNotFoundError: [Errno 2] No such file or direc...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx==0.15.0-pipx==0.15.0-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx>=0.15.0-pipx>=0.15.0-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx<=0.15.0-pipx<=0.15.0-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx;python_version>="3.6"-pipx-True] - FileNotFoundError: [Errno 2] No such file or directory: ...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx==0.15.0;python_version>="3.6"-pipx==0.15.0-True] - FileNotFoundError: [Errno 2] No such fil...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx[extra1]-pipx[extra1]-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx[extra1, extra2]-pipx[extra1,extra2]-True] - FileNotFoundError: [Errno 2] No such file or di...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[src/pipx-/home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/src/pipx-True] - FileNotFoundError: [Errno 2]...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[git+https://github.com/cs01/nox.git@5ea70723e9e6-git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[nox@git+https://github.com/cs01/nox.git@5ea70723e9e6-nox@ git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[https://github.com/ambv/black/archive/18.9b0.zip-https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[black@https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[black @ https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[black[extra] @ https://github.com/ambv/black/archive/18.9b0.zip-black[extra]@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[my-project[cli] @ git+ssh://[email protected]/my-company/myproject.git ; python_version<"3.7"-my-project[cli]@ git+ssh://[email protected]/my-company/myproject.git-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[path/doesnt/exist-non-existent-path-False] - FileNotFoundError: [Errno 2] No such file or direct...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[https:/github.com/ambv/black/archive/18.9b0.zip-URL-syntax-error-slash-False] - FileNotFoundErro...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx-pipx-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[PiPx_stylized.name-pipx-stylized-name-True] - FileNotFoundError: [Errno 2] No such file or direct...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx==0.15.0-pipx-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx>=0.15.0-pipx-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx<=0.15.0-pipx-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx;python_version>="3.6"-pipx-True] - FileNotFoundError: [Errno 2] No such file or directory: '...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx==0.15.0;python_version>="3.6"-pipx-True] - FileNotFoundError: [Errno 2] No such file or dire...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx[extra1]-pipx[extra1]-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-s...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx[extra1, extra2]-pipx[extra1,extra2]-True] - FileNotFoundError: [Errno 2] No such file or dir...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[src/pipx-/home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/src/pipx-True] - FileNotFoundError: [Errno 2] ...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[git+https://github.com/cs01/nox.git@5ea70723e9e6-git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[nox@git+https://github.com/cs01/nox.git@5ea70723e9e6-nox@ git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[https://github.com/ambv/black/archive/18.9b0.zip-https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[black@https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[black @ https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[black[extra] @ https://github.com/ambv/black/archive/18.9b0.zip-black[extra]@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[my-project[cli] @ git+ssh://[email protected]/my-company/myproject.git ; python_version<"3.7"-my-project[cli]@ git+ssh://[email protected]/my-company/myproject.git-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[path/doesnt/exist-non-existent-path-False] - FileNotFoundError: [Errno 2] No such file or directo...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[https:/github.com/ambv/black/archive/18.9b0.zip-URL-syntax-error-slash-False] - FileNotFoundError...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0;python_version>="3.6"-pip_args_in0-pipx==0.15.0-pip_args_expected0-None] - FileNotFo...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0-pip_args_in1-pipx==0.15.0-pip_args_expected1-Ignoring --editable] - FileNotFoundErro...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0;python_version>="3.6"-pip_args_in2-pipx==0.15.0-pip_args_expected2-Ignoring environment markers (python_version >= "3.6") in package]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0-pip_args_in3-pipx==0.15.0-pip_args_expected3-Ignoring --editable] - FileNotFoundErro...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[git+https://github.com/cs01/nox.git@5ea70723e9e6-pip_args_in4-git+https://github.com/cs01/nox.git@5ea70723e9e6-pip_args_expected4-Ignoring --editable]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[https://github.com/ambv/black/archive/18.9b0.zip-pip_args_in5-https://github.com/ambv/black/archive/18.9b0.zip-pip_args_expected5-Ignoring --editable]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[src/pipx-pip_args_in6-/home/tkloczko/rpmbuild/BUILD/pipx-0.16.5/src/pipx-pip_args_expected6-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras-pip_args_in7-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>-pip_args_expected7-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras[cow]-pip_args_in8-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>[cow]-pip_args_expected8-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras-pip_args_in9-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>-pip_args_expected9-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras[cow]-pip_args_in10-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>[cow]-pip_args_expected10-None]
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_create - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_validation[test_package0] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_validation[test_package1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_validation[test_package2] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_pipx_metadata_file.py::test_package_install - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_pipx_metadata_file.py::test_package_inject - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall.py::test_reinstall - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall.py::test_reinstall_nonexistent - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall.py::test_reinstall_legacy_venv[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall.py::test_reinstall_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall.py::test_reinstall_suffix - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall.py::test_reinstall_suffix_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall.py::test_reinstall_specifier - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall_all.py::test_reinstall_all - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall_all.py::test_reinstall_all_legacy_venv[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall_all.py::test_reinstall_all_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall_all.py::test_reinstall_all_suffix - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_reinstall_all.py::test_reinstall_all_suffix_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_help_text - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_simple_run - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_cache - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_run_script_from_internet - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args0-expected_app_with_args0] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args1-expected_app_with_args1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args2-expected_app_with_args2] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args3-expected_app_with_args3] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args4-expected_app_with_args4] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args5-expected_app_with_args5] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args6-expected_app_with_args6] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args7-expected_app_with_args7] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args8-expected_app_with_args8] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args9-expected_app_with_args9] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args10-expected_app_with_args10] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args11-expected_app_with_args11] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args12-expected_app_with_args12] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_run_ensure_null_pythonpath - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_package_determination[pycowsay-pycowsay-app_appargs0-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_package_determination[shell-functools-shell-functools==0.3.0-app_appargs1-True] - FileNotFoundError: [Errno 2] No such file or directory: '...
ERROR tests/test_run.py::test_package_determination[black-black==20.8b1-app_appargs2-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_package_determination[pylint-pylint==2.3.1-app_appargs3-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_package_determination[kaggle-kaggle==1.5.12-app_appargs4-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_package_determination[ipython-ipython==7.16.1-app_appargs5-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_run.py::test_package_determination[cloudtoken-cloudtoken==0.1.707-app_appargs6-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-ser...
ERROR tests/test_run.py::test_package_determination[awscli-awscli==1.18.168-app_appargs7-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_runpip.py::test_runpip - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_shared_libs.py::test_auto_update_shared_libs[-2592300.0-True] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_shared_libs.py::test_auto_update_shared_libs[-2591700.0-False] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_circular_deps - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_legacy_venv[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_suffix - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_injected - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_suffix_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_with_missing_interpreter[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_with_missing_interpreter[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_with_missing_interpreter[0.2] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior[0.2] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior_missing_interpreter[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior_missing_interpreter[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior_missing_interpreter[0.2] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall_all.py::test_uninstall_all - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall_all.py::test_uninstall_all_legacy_venv[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_uninstall_all.py::test_uninstall_all_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade.py::test_upgrade - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade.py::test_upgrade_legacy_venv[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade.py::test_upgrade_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade.py::test_upgrade_suffix - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade.py::test_upgrade_suffix_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade.py::test_upgrade_specifier - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade.py::test_upgrade_include_injected - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade.py::test_upgrade_no_include_injected - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade_all.py::test_upgrade_all - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade_all.py::test_upgrade_all_legacy_venv[None] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
ERROR tests/test_upgrade_all.py::test_upgrade_all_legacy_venv[0.1] - FileNotFoundError: [Errno 2] No such file or directory: 'pypi-server'
============================================================ 124 deselected, 676 warnings, 214 errors in 22.67s ============================================================

kloczek avatar Dec 26 '21 19:12 kloczek

Just tested new 1.1.0 and looks like sill all units are failing

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-1.1.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-1.1.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0, configfile: pyproject.toml
collected 345 items / 124 deselected / 221 selected

tests/test_animate.py EEEEEEEEEEE                                                                                                                                    [  4%]
tests/test_completions.py E                                                                                                                                          [  5%]
tests/test_emojis.py EEEEEEEEEEEEEEEEEEEEEEEE                                                                                                                        [ 16%]
tests/test_environment.py EE                                                                                                                                         [ 17%]
tests/test_inject.py EEEEEEE                                                                                                                                         [ 20%]
tests/test_install.py EEEEEEEEEEEEEEEEEEEEEEEE                                                                                                                       [ 31%]
tests/test_interpreter.py EEEEEEE                                                                                                                                    [ 34%]
tests/test_list.py EEEEEEEE                                                                                                                                          [ 38%]
tests/test_main.py EE                                                                                                                                                [ 38%]
tests/test_package_specifier.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE                                                                              [ 63%]
tests/test_pipx_metadata_file.py EEEEEE                                                                                                                              [ 66%]
tests/test_reinstall.py EEEEEEE                                                                                                                                      [ 69%]
tests/test_reinstall_all.py EEEEE                                                                                                                                    [ 71%]
tests/test_run.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEE                                                                                                                      [ 85%]
tests/test_runpip.py E                                                                                                                                               [ 85%]
tests/test_shared_libs.py EE                                                                                                                                         [ 86%]
tests/test_uninstall.py EEEEEEEEEEEEEEEE                                                                                                                             [ 93%]
tests/test_uninstall_all.py EEE                                                                                                                                      [ 95%]
tests/test_upgrade.py EEEEEEEE                                                                                                                                       [ 98%]
tests/test_upgrade_all.py EEE                                                                                                                                        [100%]

================================================================================== ERRORS ==================================================================================
______________________________________________________________ ERROR at setup of test_delay_suppresses_output ______________________________________________________________

request = <SubRequest 'pipx_local_pypiserver' for <Function test_delay_suppresses_output>>

    @pytest.fixture(scope="session", autouse=True)
    def pipx_local_pypiserver(request):
        """Starts local pypiserver once per session unless --net-pypiserver was
        passed to pytest"""
        if request.config.option.net_pypiserver:
            # need both yield and return because other codepath has both
            yield
            return

        pipx_cache_dir = (
            request.config.invocation_params.dir / PIPX_TESTS_DIR / "package_cache"
        )
        check_test_packages_cmd = [
            "python3",
            "scripts/update_package_cache.py",
            "--check-only",
            str(PIPX_TESTS_PACKAGE_LIST_DIR),
            str(pipx_cache_dir),
        ]
        update_test_packages_cmd = [
            "python3",
            "scripts/update_package_cache.py",
            str(PIPX_TESTS_PACKAGE_LIST_DIR),
            str(pipx_cache_dir),
        ]
        check_test_packages_process = subprocess.run(check_test_packages_cmd)
        if check_test_packages_process.returncode != 0:
>           raise Exception(
                f"Directory {str(pipx_cache_dir)} does not contain all "
                "package distribution files necessary to run pipx tests. Please "
                "run the following command to populate it: "
                f"{' '.join(update_test_packages_cmd)}"
            )
E           Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribution files necessary to run pipx tests. Please run the following command to populate it: python3 scripts/update_package_cache.py testdata/tests_packages /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache

tests/conftest.py:104: Exception
-------------------------------------------------------------------------- Captured stderr setup ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "scripts/update_package_cache.py", line 190, in <module>
    status = main(sys.argv)
  File "scripts/update_package_cache.py", line 183, in main
    return update_test_packages_cache(
  File "scripts/update_package_cache.py", line 63, in update_test_packages_cache
    packages_dir_path.mkdir(exist_ok=True)
  File "/usr/lib64/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache/3.8'
_________________________________________ ERROR at setup of test_line_lengths_emoji[45-020406081012141618202224262830323436384...] _________________________________________

request = <SubRequest 'pipx_local_pypiserver' for <Function test_delay_suppresses_output>>

    @pytest.fixture(scope="session", autouse=True)
    def pipx_local_pypiserver(request):
        """Starts local pypiserver once per session unless --net-pypiserver was
        passed to pytest"""
        if request.config.option.net_pypiserver:
            # need both yield and return because other codepath has both
            yield
            return

        pipx_cache_dir = (
            request.config.invocation_params.dir / PIPX_TESTS_DIR / "package_cache"
        )
        check_test_packages_cmd = [
            "python3",
            "scripts/update_package_cache.py",
            "--check-only",
            str(PIPX_TESTS_PACKAGE_LIST_DIR),
            str(pipx_cache_dir),
        ]
        update_test_packages_cmd = [
            "python3",
            "scripts/update_package_cache.py",
            str(PIPX_TESTS_PACKAGE_LIST_DIR),
            str(pipx_cache_dir),
        ]
        check_test_packages_process = subprocess.run(check_test_packages_cmd)
        if check_test_packages_process.returncode != 0:
>           raise Exception(
                f"Directory {str(pipx_cache_dir)} does not contain all "
                "package distribution files necessary to run pipx tests. Please "
                "run the following command to populate it: "
                f"{' '.join(update_test_packages_cmd)}"
            )
E           Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribution files necessary to run pipx tests. Please run the following command to populate it: python3 scripts/update_package_cache.py testdata/tests_packages /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache

tests/conftest.py:104: Exception

[..]

========================================================================= short test summary info ==========================================================================
ERROR tests/test_animate.py::test_delay_suppresses_output - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all ...
ERROR tests/test_animate.py::test_line_lengths_emoji[45-020406081012141618202224262830323436384...] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx...
ERROR tests/test_animate.py::test_line_lengths_emoji[46-0204060810121416182022242628303234363840] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_t...
ERROR tests/test_animate.py::test_line_lengths_emoji[47-0204060810121416182022242628303234363840] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_t...
ERROR tests/test_animate.py::test_line_lengths_no_emoji[43-020406081012141618202224262830323436384] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx...
ERROR tests/test_animate.py::test_line_lengths_no_emoji[44-0204060810121416182022242628303234363840] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pip...
ERROR tests/test_animate.py::test_line_lengths_no_emoji[45-0204060810121416182022242628303234363840] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pip...
ERROR tests/test_animate.py::test_env_no_animate[0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all p...
ERROR tests/test_animate.py::test_env_no_animate[8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all p...
ERROR tests/test_animate.py::test_env_no_animate[16-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all ...
ERROR tests/test_animate.py::test_env_no_animate[17-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all...
ERROR tests/test_completions.py::test_cli - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribu...
ERROR tests/test_emojis.py::test_use_emojis[None-utf-8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain a...
ERROR tests/test_emojis.py::test_use_emojis[-utf-8-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all ...
ERROR tests/test_emojis.py::test_use_emojis[0-utf-8-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all...
ERROR tests/test_emojis.py::test_use_emojis[1-utf-8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all ...
ERROR tests/test_emojis.py::test_use_emojis[true-utf-8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain a...
ERROR tests/test_emojis.py::test_use_emojis[tru-utf-8-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain a...
ERROR tests/test_emojis.py::test_use_emojis[True-utf-8-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain a...
ERROR tests/test_emojis.py::test_use_emojis[false-utf-8-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain...
ERROR tests/test_emojis.py::test_use_emojis[None-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contai...
ERROR tests/test_emojis.py::test_use_emojis[-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_emojis.py::test_use_emojis[0-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain a...
ERROR tests/test_emojis.py::test_use_emojis[1-latin_1-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_emojis.py::test_use_emojis[true-latin_1-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain...
ERROR tests/test_emojis.py::test_use_emojis[tru-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain...
ERROR tests/test_emojis.py::test_use_emojis[True-latin_1-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain...
ERROR tests/test_emojis.py::test_use_emojis[false-latin_1-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not conta...
ERROR tests/test_emojis.py::test_use_emojis[None-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain...
ERROR tests/test_emojis.py::test_use_emojis[-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all...
ERROR tests/test_emojis.py::test_use_emojis[0-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_emojis.py::test_use_emojis[1-cp1252-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all...
ERROR tests/test_emojis.py::test_use_emojis[true-cp1252-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain ...
ERROR tests/test_emojis.py::test_use_emojis[tru-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain ...
ERROR tests/test_emojis.py::test_use_emojis[True-cp1252-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain ...
ERROR tests/test_emojis.py::test_use_emojis[false-cp1252-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contai...
ERROR tests/test_environment.py::test_cli - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribu...
ERROR tests/test_environment.py::test_cli_with_args - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all packag...
ERROR tests/test_inject.py::test_inject_simple - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package dis...
ERROR tests/test_inject.py::test_inject_simple_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not conta...
ERROR tests/test_inject.py::test_inject_simple_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contai...
ERROR tests/test_inject.py::test_inject_tricky_character - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all p...
ERROR tests/test_inject.py::test_spec - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribution...
ERROR tests/test_inject.py::test_inject_include_apps[with_suffix0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not con...
ERROR tests/test_inject.py::test_inject_include_apps[with_suffix1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not con...
ERROR tests/test_install.py::test_help_text - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distri...
ERROR tests/test_install.py::test_install_easy_packages[pycowsay-pycowsay] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does...
ERROR tests/test_install.py::test_install_easy_packages[black-black==20.8b1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache do...
ERROR tests/test_install.py::test_install_tricky_packages[cloudtoken-cloudtoken==0.1.707] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_install.py::test_install_tricky_packages[awscli-awscli==1.18.168] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_ca...
ERROR tests/test_install.py::test_install_tricky_packages[ansible-ansible==2.9.13] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_ca...
ERROR tests/test_install.py::test_install_tricky_packages[shell-functools-shell-functools==0.3.0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_t...
ERROR tests/test_install.py::test_install_package_specs[pylint-pylint==2.3.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache d...
ERROR tests/test_install.py::test_install_package_specs[black-https://github.com/ambv/black/archive/18.9b0.zip] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx...
ERROR tests/test_install.py::test_force_install - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package di...
ERROR tests/test_install.py::test_install_no_packages_found - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_install.py::test_install_same_package_twice_no_force - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not ...
ERROR tests/test_install.py::test_include_deps - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package dis...
ERROR tests/test_install.py::test_name_tricky_characters[jaraco-financial-jaraco.financial==2.0.0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_...
ERROR tests/test_install.py::test_name_tricky_characters[tox-ini-fmt-tox-ini-fmt==0.5.0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pack...
ERROR tests/test_install.py::test_extra - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distributi...
ERROR tests/test_install.py::test_install_local_extra - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_install.py::test_path_warning - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package dis...
ERROR tests/test_install.py::test_existing_symlink_points_to_existing_wrong_location_warning - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/...
ERROR tests/test_install.py::test_existing_symlink_points_to_nothing - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not c...
ERROR tests/test_install.py::test_pip_args_forwarded_to_package_name_determination - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_ca...
ERROR tests/test_install.py::test_pip_args_with_windows_path - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain a...
ERROR tests/test_install.py::test_install_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package d...
ERROR tests/test_install.py::test_install_pip_failure - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_interpreter.py::test_windows_python_venv_present - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not cont...
ERROR tests/test_interpreter.py::test_windows_python_no_venv_py_present - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does no...
ERROR tests/test_interpreter.py::test_windows_python_no_venv_python_present - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache doe...
ERROR tests/test_interpreter.py::test_windows_python_no_venv_no_python - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not...
ERROR tests/test_interpreter.py::test_windows_python_no_venv_store_python - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does ...
ERROR tests/test_interpreter.py::test_bad_env_python - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all packa...
ERROR tests/test_interpreter.py::test_good_env_python - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_list.py::test_cli - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribution fi...
ERROR tests/test_list.py::test_missing_interpreter - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package...
ERROR tests/test_list.py::test_list_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distrib...
ERROR tests/test_list.py::test_list_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_list.py::test_list_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all packa...
ERROR tests/test_list.py::test_list_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_list.py::test_list_json - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribut...
ERROR tests/test_list.py::test_list_short - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribu...
ERROR tests/test_main.py::test_help_text - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribut...
ERROR tests/test_main.py::test_version - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distributio...
ERROR tests/test_package_specifier.py::test_valid_pypi_name[Black-black] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does n...
ERROR tests/test_package_specifier.py::test_valid_pypi_name[https://github.com/ambv/black/archive/18.9b0.zip-None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/p...
ERROR tests/test_package_specifier.py::test_valid_pypi_name[black @ https://github.com/ambv/black/archive/18.9b0.zip-None] - Exception: Directory /home/tkloczko/rpmbuild...
ERROR tests/test_package_specifier.py::test_fix_package_name[https://github.com/ambv/black/archive/18.9b0.zip-black-https://github.com/ambv/black/archive/18.9b0.zip] - E...
ERROR tests/test_package_specifier.py::test_fix_package_name[nox@https://github.com/ambv/black/archive/18.9b0.zip-black-black@ https://github.com/ambv/black/archive/18.9b0.zip]
ERROR tests/test_package_specifier.py::test_fix_package_name[nox[extra]@https://github.com/ambv/black/archive/18.9b0.zip-black-black[extra]@ https://github.com/ambv/black/archive/18.9b0.zip]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pack...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[PiPx_stylized.name-pipx-stylized-name-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx==0.15.0-pipx==0.15.0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx>=0.15.0-pipx>=0.15.0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx<=0.15.0-pipx<=0.15.0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx;python_version>="3.6"-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx==0.15.0;python_version>="3.6"-pipx==0.15.0-True] - Exception: Directory /home/tkloczko/rpmb...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx[extra1]-pipx[extra1]-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[pipx[extra1, extra2]-pipx[extra1,extra2]-True] - Exception: Directory /home/tkloczko/rpmbuild/BU...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[src/pipx-/home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/src/pipx-True] - Exception: Directory /home/tk...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[git+https://github.com/cs01/nox.git@5ea70723e9e6-git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[nox@git+https://github.com/cs01/nox.git@5ea70723e9e6-nox@ git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[https://github.com/ambv/black/archive/18.9b0.zip-https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[black@https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[black @ https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[black[extra] @ https://github.com/ambv/black/archive/18.9b0.zip-black[extra]@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[my-project[cli] @ git+ssh://[email protected]/my-company/myproject.git ; python_version<"3.7"-my-project[cli]@ git+ssh://[email protected]/my-company/myproject.git-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[path/doesnt/exist-non-existent-path-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_metadata[https:/github.com/ambv/black/archive/18.9b0.zip-URL-syntax-error-slash-False] - Exception: Direc...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/packa...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[PiPx_stylized.name-pipx-stylized-name-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx==0.15.0-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tes...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx>=0.15.0-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tes...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx<=0.15.0-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tes...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx;python_version>="3.6"-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx==0.15.0;python_version>="3.6"-pipx-True] - Exception: Directory /home/tkloczko/rpmbuild/BUIL...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx[extra1]-pipx[extra1]-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/....
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[pipx[extra1, extra2]-pipx[extra1,extra2]-True] - Exception: Directory /home/tkloczko/rpmbuild/BUI...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[src/pipx-/home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/src/pipx-True] - Exception: Directory /home/tkl...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[git+https://github.com/cs01/nox.git@5ea70723e9e6-git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[nox@git+https://github.com/cs01/nox.git@5ea70723e9e6-nox@ git+https://github.com/cs01/nox.git@5ea70723e9e6-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[https://github.com/ambv/black/archive/18.9b0.zip-https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[black@https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[black @ https://github.com/ambv/black/archive/18.9b0.zip-black@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[black[extra] @ https://github.com/ambv/black/archive/18.9b0.zip-black[extra]@ https://github.com/ambv/black/archive/18.9b0.zip-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[my-project[cli] @ git+ssh://[email protected]/my-company/myproject.git ; python_version<"3.7"-my-project[cli]@ git+ssh://[email protected]/my-company/myproject.git-True]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[path/doesnt/exist-non-existent-path-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/p...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_upgrade[https:/github.com/ambv/black/archive/18.9b0.zip-URL-syntax-error-slash-False] - Exception: Direct...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0;python_version>="3.6"-pip_args_in0-pipx==0.15.0-pip_args_expected0-None] - Exception...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0-pip_args_in1-pipx==0.15.0-pip_args_expected1-Ignoring --editable] - Exception: Direc...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0;python_version>="3.6"-pip_args_in2-pipx==0.15.0-pip_args_expected2-Ignoring environment markers (python_version >= "3.6") in package]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[pipx==0.15.0-pip_args_in3-pipx==0.15.0-pip_args_expected3-Ignoring --editable] - Exception: Direc...
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[git+https://github.com/cs01/nox.git@5ea70723e9e6-pip_args_in4-git+https://github.com/cs01/nox.git@5ea70723e9e6-pip_args_expected4-Ignoring --editable]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[https://github.com/ambv/black/archive/18.9b0.zip-pip_args_in5-https://github.com/ambv/black/archive/18.9b0.zip-pip_args_expected5-Ignoring --editable]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[src/pipx-pip_args_in6-/home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/src/pipx-pip_args_expected6-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras-pip_args_in7-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>-pip_args_expected7-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras[cow]-pip_args_in8-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>[cow]-pip_args_expected8-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras-pip_args_in9-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>-pip_args_expected9-None]
ERROR tests/test_package_specifier.py::test_parse_specifier_for_install[./testdata/test_package_specifier/local_extras[cow]-pip_args_in10-<bound method Path.resolve of PosixPath('testdata/test_package_specifier/local_extras')>[cow]-pip_args_expected10-None]
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_create - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not...
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_validation[test_package0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_validation[test_package1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_pipx_metadata_file.py::test_pipx_metadata_file_validation[test_package2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_pipx_metadata_file.py::test_package_install - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain a...
ERROR tests/test_pipx_metadata_file.py::test_package_inject - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_reinstall.py::test_reinstall - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package dist...
ERROR tests/test_reinstall.py::test_reinstall_nonexistent - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all ...
ERROR tests/test_reinstall.py::test_reinstall_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contai...
ERROR tests/test_reinstall.py::test_reinstall_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain...
ERROR tests/test_reinstall.py::test_reinstall_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all packa...
ERROR tests/test_reinstall.py::test_reinstall_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not ...
ERROR tests/test_reinstall.py::test_reinstall_specifier - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all pa...
ERROR tests/test_reinstall_all.py::test_reinstall_all - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_reinstall_all.py::test_reinstall_all_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does no...
ERROR tests/test_reinstall_all.py::test_reinstall_all_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not...
ERROR tests/test_reinstall_all.py::test_reinstall_all_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain a...
ERROR tests/test_reinstall_all.py::test_reinstall_all_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache d...
ERROR tests/test_run.py::test_help_text - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distributi...
ERROR tests/test_run.py::test_simple_run[pycowsay] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package...
ERROR tests/test_run.py::test_simple_run[pycowsay==0.0.0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_run.py::test_simple_run[pycowsay>=0.0.0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_run.py::test_cache - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribution f...
ERROR tests/test_run.py::test_cachedir_tag - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distrib...
ERROR tests/test_run.py::test_run_script_from_internet - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args0-expected_app_with_args0] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args1-expected_app_with_args1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args2-expected_app_with_args2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args3-expected_app_with_args3] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args4-expected_app_with_args4] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args5-expected_app_with_args5] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args6-expected_app_with_args6] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args7-expected_app_with_args7] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args8-expected_app_with_args8] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args9-expected_app_with_args9] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args10-expected_app_with_args10] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/p...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args11-expected_app_with_args11] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/p...
ERROR tests/test_run.py::test_appargs_doubledash[input_run_args12-expected_app_with_args12] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/p...
ERROR tests/test_run.py::test_run_ensure_null_pythonpath - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all p...
ERROR tests/test_run.py::test_package_determination[pycowsay-pycowsay-app_appargs0-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pac...
ERROR tests/test_run.py::test_package_determination[shell-functools-shell-functools==0.3.0-app_appargs1-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1...
ERROR tests/test_run.py::test_package_determination[black-black==20.8b1-app_appargs2-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/p...
ERROR tests/test_run.py::test_package_determination[pylint-pylint==2.3.1-app_appargs3-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/...
ERROR tests/test_run.py::test_package_determination[kaggle-kaggle==1.5.12-app_appargs4-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests...
ERROR tests/test_run.py::test_package_determination[ipython-ipython==7.16.1-app_appargs5-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tes...
ERROR tests/test_run.py::test_package_determination[cloudtoken-cloudtoken==0.1.707-app_appargs6-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pi...
ERROR tests/test_run.py::test_package_determination[awscli-awscli==1.18.168-app_appargs7-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_test...
ERROR tests/test_runpip.py::test_runpip - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distributi...
ERROR tests/test_shared_libs.py::test_auto_update_shared_libs[-2592300.0-True] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache ...
ERROR tests/test_shared_libs.py::test_auto_update_shared_libs[-2591700.0-False] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache...
ERROR tests/test_uninstall.py::test_uninstall - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package dist...
ERROR tests/test_uninstall.py::test_uninstall_circular_deps - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_uninstall.py::test_uninstall_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contai...
ERROR tests/test_uninstall.py::test_uninstall_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain...
ERROR tests/test_uninstall.py::test_uninstall_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all packa...
ERROR tests/test_uninstall.py::test_uninstall_injected - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all pac...
ERROR tests/test_uninstall.py::test_uninstall_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not ...
ERROR tests/test_uninstall.py::test_uninstall_with_missing_interpreter[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache do...
ERROR tests/test_uninstall.py::test_uninstall_with_missing_interpreter[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache doe...
ERROR tests/test_uninstall.py::test_uninstall_with_missing_interpreter[0.2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache doe...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does no...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior[0.2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior_missing_interpreter[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/p...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior_missing_interpreter[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pa...
ERROR tests/test_uninstall.py::test_uninstall_proper_dep_behavior_missing_interpreter[0.2] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/pa...
ERROR tests/test_uninstall_all.py::test_uninstall_all - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all pack...
ERROR tests/test_uninstall_all.py::test_uninstall_all_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does no...
ERROR tests/test_uninstall_all.py::test_uninstall_all_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not...
ERROR tests/test_upgrade.py::test_upgrade - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package distribu...
ERROR tests/test_upgrade.py::test_upgrade_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain al...
ERROR tests/test_upgrade.py::test_upgrade_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all...
ERROR tests/test_upgrade.py::test_upgrade_suffix - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package d...
ERROR tests/test_upgrade.py::test_upgrade_suffix_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not cont...
ERROR tests/test_upgrade.py::test_upgrade_specifier - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all packag...
ERROR tests/test_upgrade.py::test_upgrade_include_injected - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all...
ERROR tests/test_upgrade.py::test_upgrade_no_include_injected - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain ...
ERROR tests/test_upgrade_all.py::test_upgrade_all - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not contain all package ...
ERROR tests/test_upgrade_all.py::test_upgrade_all_legacy_venv[None] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not co...
ERROR tests/test_upgrade_all.py::test_upgrade_all_legacy_venv[0.1] - Exception: Directory /home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.pipx_tests/package_cache does not con...
=================================================================== 124 deselected, 221 errors in 1.73s ====================================================================

kloczek avatar May 28 '22 04:05 kloczek

gentle ping ..

kloczek avatar Dec 27 '22 13:12 kloczek

@uranusjr or @meowmeowmeowcat are you able to close the loop on this?

cs01 avatar Dec 27 '22 15:12 cs01

Maybe we can skip this test when PYTHONPATH is not null?

dukecat0 avatar Dec 27 '22 16:12 dukecat0

Maybe we can skip this test when PYTHONPATH is not null?

Hmm .. but there is o in source tree file/directory with pypi-server name 🤔

kloczek avatar Dec 27 '22 17:12 kloczek

Persoinally I view test setup as a part of the test, and if you’re not setting up the test environment in your own way instead of what’s blessed by the project, it’s out of the project scope and you are on your own. If you would like to improve the tests to accomodate your use case, feel free, but don’t expect the project maintainers to provide active support.

uranusjr avatar Dec 28 '22 05:12 uranusjr

OK so where is (as you wrote) "what’s blessed by the project"? 🤔

kloczek avatar Dec 28 '22 14:12 kloczek

https://pypa.github.io/pipx/contributing/#running-tests

uranusjr avatar Dec 28 '22 16:12 uranusjr

OK .. it is well known that correcrly written nox test suite can be correctly handled by pytest.

Second thing is that as I'm running my builds in env which is cut off from access to the public network even nox is failing hecause looks like instead testing only test suite is trying to take care of install and upgrade some modules. 🤔

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-1.1.0-7.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pipx-1.1.0-7.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/nox --no-install
nox > Running session tests-3.7
nox > Missing interpreters will error by default on CI systems.
nox > Session tests-3.7 skipped: Python interpreter 3.7 not found.
nox > Running session tests-3.8
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/tests-3-8
nox > python -m pip install --upgrade pip
Requirement already satisfied: pip in ./.nox/tests-3-8/lib/python3.8/site-packages (22.1.2)
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 0x7f6a73458cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /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 0x7f6a73458f40>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /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 0x7f6a73458a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /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 0x7f6a7348d220>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /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 0x7f6a7348d3d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: There was an error checking the latest version of pip.
nox > python -m pip install wheel
nox > pip wheel --wheel-dir=/home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.nox/tests-3-8/prebuild_wheels jupyter==1.0.0
nox > Command pip wheel --wheel-dir=/home/tkloczko/rpmbuild/BUILD/pipx-1.1.0/.nox/tests-3-8/prebuild_wheels jupyter==1.0.0 failed with exit code 1:
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 0x7fe9f9d2d5b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/jupyter/
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 0x7fe9f9d413a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/jupyter/
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 0x7fe9f9d41670>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/jupyter/
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 0x7fe9f9d41820>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/jupyter/
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 0x7fe9f9d41a00>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/jupyter/
ERROR: Could not find a version that satisfies the requirement jupyter==1.0.0 (from versions: none)
ERROR: No matching distribution found for jupyter==1.0.0
WARNING: There was an error checking the latest version of pip.
nox > Session tests-3.8 failed.
nox > Running session tests-3.9
nox > Missing interpreters will error by default on CI systems.
nox > Session tests-3.9 skipped: Python interpreter 3.9 not found.
nox > Running session tests-3.10
nox > Missing interpreters will error by default on CI systems.
nox > Session tests-3.10 skipped: Python interpreter 3.10 not found.
nox > Running session lint
nox > Missing interpreters will error by default on CI systems.
nox > Session lint skipped: Python interpreter 3.10 not found.
nox > Running session build_docs
nox > Missing interpreters will error by default on CI systems.
nox > Session build_docs skipped: Python interpreter 3.10 not found.
nox > Running session build_man
nox > Missing interpreters will error by default on CI systems.
nox > Session build_man skipped: Python interpreter 3.10 not found.
nox > Ran multiple sessions:
nox > * tests-3.7: skipped
nox > * tests-3.8: failed
nox > * tests-3.9: skipped
nox > * tests-3.10: skipped
nox > * lint: skipped
nox > * build_docs: skipped
nox > * build_man: skipped

Here are two palces where pip is used https://github.com/pypa/pipx/blob/303ff3e6ef171a5d0cd41848f4bd56937100d852/noxfile.py#L50-L51 and https://github.com/pypa/pipx/blob/303ff3e6ef171a5d0cd41848f4bd56937100d852/noxfile.py#L99-L100

kloczek avatar Dec 28 '22 19:12 kloczek

We currently support only running the test suite via nox. If you want other methods PRs welcome, but we don't support it ourselves.

gaborbernat avatar Dec 02 '23 17:12 gaborbernat