File: 0001-Tear-down-tests-using-python-from-venv.patch

package info (click to toggle)
rope 1.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,244 kB
  • sloc: python: 39,552; makefile: 7
file content (33 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: Aeliton Silva <aeliton@aeliton.com>
Date: Thu, 11 Dec 2025 17:09:30 -0300
Forwarded: https://github.com/python-rope/rope/pull/835
Subject: Tear down tests using python from venv

Tests will except when using system installed dependencies on debain.
---
 CHANGELOG.md         | 2 +-
 ropetest/conftest.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index ef219ac..947df9d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
 # **Upcoming release**
 
-- ...
+- #834 Tear down tests using python from venv (@aeliton)
 
 # Release 1.14.0
 
diff --git a/ropetest/conftest.py b/ropetest/conftest.py
index 30af57e..77d44d6 100644
--- a/ropetest/conftest.py
+++ b/ropetest/conftest.py
@@ -105,4 +105,4 @@ def external_fixturepkg(session_venv, session_venv_python_executable):
         "ropetest-package-fixtures/external_fixturepkg/dist/external_fixturepkg-1.0.0-py3-none-any.whl",
     ])
     yield
-    check_call([sys.executable, "-m", "pip", "uninstall", "--yes", "external-fixturepkg"])
+    check_call([session_venv_python_executable, "-m", "pip", "uninstall", "--yes", "external-fixturepkg"])