Skip to content

Use a python venv for tests#106

Draft
traylenator wants to merge 3 commits intoCentOS:masterfrom
traylenator:venv
Draft

Use a python venv for tests#106
traylenator wants to merge 3 commits intoCentOS:masterfrom
traylenator:venv

Conversation

@traylenator
Copy link
Copy Markdown

Currently all tests are failing with:

python3 -m pip install duffy fabric httpx

and

Installing collected packages: pyxdg, wrapt, typing-extensions, sniffio, pycparser, invoke, h11, greenlet, decorator, annotated-types, typing-inspection, pydantic-core, httpcore, deprecated, cffi, anyio, pynacl, pydantic, httpx, paramiko, duffy, fabric
  Attempting uninstall: typing-extensions
    Found existing installation: typing_extensions 4.10.0
ERROR: Cannot uninstall typing_extensions 4.10.0, RECORD file not found. Hint: The package was installed by debian.

Switch to using a python virtual environment to avoid conflicts with installed packages.

Currently all tests are failing with:

```
python3 -m pip install duffy fabric httpx
```

and

```
Installing collected packages: pyxdg, wrapt, typing-extensions, sniffio, pycparser, invoke, h11, greenlet, decorator, annotated-types, typing-inspection, pydantic-core, httpcore, deprecated, cffi, anyio, pynacl, pydantic, httpx, paramiko, duffy, fabric
  Attempting uninstall: typing-extensions
    Found existing installation: typing_extensions 4.10.0
ERROR: Cannot uninstall typing_extensions 4.10.0, RECORD file not found. Hint: The package was installed by debian.
```

Switch to using a python virtual environment to avoid conflicts with
installed packages.
@traylenator
Copy link
Copy Markdown
Author

I cannot persuade this to run my tests... its determined to pick master version of the tests...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant