Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:Frameworks
libei
test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File test.patch of Package libei
Index: libei-1.1.0/proto/meson.build =================================================================== --- libei-1.1.0.orig/proto/meson.build +++ libei-1.1.0/proto/meson.build @@ -14,7 +14,7 @@ endif pymod = import('python') required_python_modules = ['attr', 'jinja2'] -python = pymod.find_installation('python3', modules: required_python_modules) +python = pymod.find_installation('python3.11', modules: required_python_modules) if python.language_version().version_compare('<3.9') error('Python 3.9 or later required') endif Index: libei-1.1.0/proto/ei-scanner =================================================================== --- libei-1.1.0.orig/proto/ei-scanner +++ libei-1.1.0/proto/ei-scanner @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.11 # # SPDX-License-Identifier: MIT Index: libei-1.1.0/test/eiproto.py.tmpl =================================================================== --- libei-1.1.0.orig/test/eiproto.py.tmpl +++ libei-1.1.0/test/eiproto.py.tmpl @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.11 # # GENERATED FILE, DO NOT EDIT # Index: libei-1.1.0/test/meson.build =================================================================== --- libei-1.1.0.orig/test/meson.build +++ libei-1.1.0/test/meson.build @@ -115,7 +115,7 @@ endif pymod = import('python') required_python_modules = ['pytest', 'attr', 'structlog'] -python = pymod.find_installation('python3', required: get_option('tests')) +python = pymod.find_installation('python3.11', required: get_option('tests')) if python.found() and python.language_version().version_compare('< 3.11') required_python_modules += ['strenum'] endif @@ -123,7 +123,7 @@ if build_oeffis required_python_modules += ['dbusmock'] endif -python = pymod.find_installation('python3', +python = pymod.find_installation('python3.11', modules: required_python_modules, required: get_option('tests')) pytest = find_program('pytest-3', 'pytest', required: get_option('tests')) @@ -135,7 +135,7 @@ if enable_pytest # pytest xdist is nice because it significantly speeds up our # test process, but it's not required optional_python_modules = ['xdist'] - if pymod.find_installation('python3', modules: optional_python_modules, required: false).found() + if pymod.find_installation('python3.11', modules: optional_python_modules, required: false).found() pytest_args += ['-n', 'auto'] configure_file(input: 'conftest.py', output: '@PLAINNAME@', copy: true) endif Index: libei-1.1.0/test/test_oeffis.py =================================================================== --- libei-1.1.0.orig/test/test_oeffis.py +++ libei-1.1.0/test/test_oeffis.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.11 # # SPDX-License-Identifier: MIT # Index: libei-1.1.0/test/test_protocol.py =================================================================== --- libei-1.1.0.orig/test/test_protocol.py +++ libei-1.1.0/test/test_protocol.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/python3.11 # # SPDX-License-Identifier: MIT # Index: libei-1.1.0/test/test_scanner.py =================================================================== --- libei-1.1.0.orig/test/test_scanner.py +++ libei-1.1.0/test/test_scanner.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.11 # We can't import ei-scanner, so let's go via this route. The proper # handling would be to have ei-scanner be the entry point for a ei_scanner
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor