Skip to content

Tests except with system installed dependencies on debian #834

@aeliton

Description

@aeliton

Describe the bug
Tests except when running with system installed dependencies on debian (forky, sid).

This has been found when attempting to package rope 1.14.0 for debian.

To Reproduce
Steps to reproduce the behavior:

  1. git checkout 1.14.0
  2. Install the build dependencies (sudo apt-get build-dep python3-rope)
  3. Run the tests: python3 -m pytest

build-log.txt

The following change fix the issue (MR comming up soon):

diff --git a/ropetest/conftest.py b/ropetest/conftest.py
index 30af57e8..b8b58267 100644
--- a/ropetest/conftest.py
+++ b/ropetest/conftest.py
@@ -105,4 +106,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"])

Editor information:

  • Project Python version: Python 3.13.9
  • Rope version: 1.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected or incorrect user-visible behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions