Skip to content

conda_rename Tests Fail in Feature Branches #11905

@beeankha

Description

@beeankha

What happened?

All of the tests in tests/cli/conda_main_rename.py fail on feature branches due to the notify_outdated_conda warning (see below for an example):

___________ ERROR at setup of test_cannot_rename_active_env_by_name ____________
Traceback (most recent call last):
  File "/opt/conda-src/tests/cli/test_main_rename.py", line 33, in env_one
    run(f"conda create -n {TEST_ENV_NAME_1} -y")
  File "/opt/conda-src/conda/testing/helpers.py", line 148, in run_inprocess_conda_command
    with argv(encode_arguments(shlex_split_unicode(command))), captured(disallow_stderr) as c:
  File "/opt/conda/lib/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/opt/conda-src/conda/testing/helpers.py", line 90, in captured
    raise Exception("Got stderr output: %s" % c.stderr)
Exception: Got stderr output: 

==> WARNING: A newer version of conda exists. <==
  current version: 4.14.0.post42+f55209477
  latest version: 22.9.0

Please update conda by running

    $ conda update -n base -c defaults conda

Metadata

Metadata

Labels

in-progressissue is actively being worked onlocked[bot] locked due to inactivitysource::anacondacreated by members of Anaconda, Inc.type::bugdescribes erroneous operation, use severity::* to classify the typetype::testingissues about tests or the test infrastructure

Type

No type

Projects

Status

🏁 Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions