zuul-jobs/roles/tox/library
Roman Kuznecov 6710f84a90 tox: Do not concat stdout and stderr in getting siblings
Several packages in calling "python setup.py --name ..." may return
warning message, e.g.:

  ...
  _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
  !!

          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
          ********************************************************************************

  !!
  dist.fetch_build_eggs(dist.setup_requires)
  WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
  <PACKAGE_NAME>

and then this huge log places into the package_name variable. But
script expects that package_name will contain only package name. Because of this situation could not find siblings packages and
install them.

Change-Id: I5bf9a19233c48d1260b5ab17d749bfc58a8ef2fa
2023-11-24 06:32:19 +00:00
..
test-cases linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
__init__.py Add a python unit test framework 2018-07-25 09:11:25 -07:00
test_tox_install_sibling_packages.py Fix unittests for python2 and fedora 2020-02-24 10:50:13 -06:00
test_tox_parse_output.py Add test cases for tox line comment parsing 2020-04-03 19:34:24 +02:00
test-constraints.txt Fix unittests for python2 and fedora 2020-02-24 10:50:13 -06:00
tox_install_sibling_packages.py tox: Do not concat stdout and stderr in getting siblings 2023-11-24 06:32:19 +00:00
tox_parse_output.py Add inline comment support to nox 2022-12-19 18:41:16 -08:00