Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests also with python3.11 #65

Open
larsevj opened this issue Feb 21, 2024 · 1 comment · Fixed by #66
Open

Run tests also with python3.11 #65

larsevj opened this issue Feb 21, 2024 · 1 comment · Fixed by #66
Assignees

Comments

@larsevj
Copy link
Contributor

larsevj commented Feb 21, 2024

The actual tests explicitly tests for python3.8 by mocking a komodo. Now that we are building releases for python3.11 we should also test with python3.11.

@larsevj
Copy link
Contributor Author

larsevj commented Feb 21, 2024

See:

@pytest.fixture(scope="session")
def python38_path():
    """Locate Python 3.8 executable

    On RHEL 7 python3.8 is found in SCL, but on RHEL 8 and Ubuntu (used by
    Github Actions) has it installed in the system.

    RHEL7        : yum install rh-python38-devel
    RHEL8        : yum install python38-devel
    Ubuntu 18.04 : apt-get install python3-venv python3.8-{dev,venv}
    """
    for exe in "/usr/bin/python3.8", "/opt/rh/rh-python38/root/bin/python3.8":
        if os.path.isfile(exe):
            return exe
    else:
        raise RuntimeError("Could not locate python3.8") 

@larsevj larsevj self-assigned this Feb 29, 2024
@larsevj larsevj mentioned this issue Mar 7, 2024
8 tasks
@larsevj larsevj reopened this Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done-Done
Development

Successfully merging a pull request may close this issue.

1 participant