Skip to content

Commit

Permalink
Merge remote-tracking branch 'richtja/python3.13_update' into 92lts
Browse files Browse the repository at this point in the history
Signed-off-by: Cleber Rosa <[email protected]>
  • Loading branch information
clebergnu committed Aug 15, 2024
2 parents a4976f8 + f130c76 commit 6f833ec
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions avocado/plugins/legacy/replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ def run(self, config):
'ignore_missing_references',
'execution_order']
if replay_config is None:
LOG_UI.warn('Source job config data not found. These options will '
'not be loaded in this replay job: %s',
', '.join(overridables))
LOG_UI.warning('Source job config data not found. These options will '
'not be loaded in this replay job: %s',
', '.join(overridables))
else:
for option in overridables:
optvalue = config.get(option, None)
Expand All @@ -242,16 +242,16 @@ def run(self, config):
'external_runner_testdir']:
optvalue = config.get('run.{}'.format(option))
if optvalue is not None:
LOG_UI.warn("Overriding the replay %s with the --%s value "
"given on the command line.",
option.replace('_', '-'),
option.replace('_', '-'))
LOG_UI.warning("Overriding the replay %s with the --%s value "
"given on the command line.",
option.replace('_', '-'),
option.replace('_', '-'))
elif option in replay_config:
config[option] = replay_config[option]

if config.get('run.references'):
LOG_UI.warn('Overriding the replay test references with test '
'references given in the command line.')
LOG_UI.warning('Overriding the replay test references with test '
'references given in the command line.')
else:
references = jobdata.retrieve_references(resultsdir)
if references is None:
Expand All @@ -262,14 +262,14 @@ def run(self, config):
config['run.references'] = references

if 'config' in replay_ignore:
LOG_UI.warn("Ignoring configuration from source job with "
"--replay-ignore.")
LOG_UI.warning("Ignoring configuration from source job with "
"--replay-ignore.")
else:
self.load_config(resultsdir)

if 'variants' in replay_ignore:
LOG_UI.warn("Ignoring variants from source job with "
"--replay-ignore.")
LOG_UI.warning("Ignoring variants from source job with "
"--replay-ignore.")
else:
variants = jobdata.get_variants_path(resultsdir)
if variants is None:
Expand Down Expand Up @@ -299,5 +299,5 @@ def run(self, config):
if os.path.exists(pwd):
os.chdir(pwd)
else:
LOG_UI.warn("Directory used in the replay source job '%s' does"
" not exist, using '.' instead", pwd)
LOG_UI.warning("Directory used in the replay source job '%s' does"
" not exist, using '.' instead", pwd)
2 changes: 1 addition & 1 deletion optional_plugins/varianter_yaml_to_mux/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
url='http://avocado-framework.github.io/',
packages=find_packages(exclude=('tests*',)),
include_package_data=True,
install_requires=['avocado-framework==%s' % VERSION, 'PyYAML>=4.2b2'],
install_requires=['avocado-framework==%s' % VERSION, 'PyYAML>=4.2b2,<6.0.2'],
test_suite='tests',
entry_points={
"avocado.plugins.init": [
Expand Down

0 comments on commit 6f833ec

Please sign in to comment.