Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1980013 Details for
Bug 2226645
poetry: FTBFS in Fedora rawhide/f39
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Fedora Release Engineering
on 2023-07-26 04:49:50 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2023-07-26 04:49:50 UTC
Size:
32.00 KB
patch
obsolete
>nv, **kwargs) >../../BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/env.py:1524: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >timeout = None >popenargs = (['/tmp/tmpzvnxw45d/.venv/bin/python', '-m', 'pip', 'install', '--disable-pip-version-check', '--isolated', ...],) >kwargs = {'env': {'CC': 'gcc', 'CFLAGS': '-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -W...e=z14 -fasynchronous-unwind-tables -fstack-clash-protection ', 'CONFIG_SITE': 'NONE', 'CXX': 'g++', ...}, 'stderr': -2} >kw = 'check' > def check_output(*popenargs, timeout=None, **kwargs): > r"""Run command with arguments and return its output. > > If the exit code was non-zero it raises a CalledProcessError. The > CalledProcessError object will have the return code in the returncode > attribute and output in the output attribute. > > The arguments are the same as for the Popen constructor. Example: > > >>> check_output(["ls", "-l", "/dev/null"]) > b'crw-rw-rw- 1 root root 1, 3 Oct 18 2007 /dev/null\n' > > The stdout argument is not allowed as it is used internally. > To capture standard error in the result, use stderr=STDOUT. > > >>> check_output(["/bin/sh", "-c", > ... "ls -l non_existent_file ; exit 0"], > ... stderr=STDOUT) > b'ls: non_existent_file: No such file or directory\n' > > There is an additional optional argument, "input", allowing you to > pass a string to the subprocess's stdin. If you use this argument > you may not also use the Popen constructor's "stdin" argument, as > it too will be used internally. Example: > > >>> check_output(["sed", "-e", "s/foo/bar/"], > ... input=b"when in the course of fooman events\n") > b'when in the course of barman events\n' > > By default, all communication is in bytes, and therefore any "input" > should be bytes, and the return value will be bytes. If in text mode, > any "input" should be a string, and the return value will be a string > decoded according to locale encoding, or by "encoding" if set. Text mode > is triggered by setting any of text, encoding, errors or universal_newlines. > """ > for kw in ('stdout', 'check'): > if kw in kwargs: > raise ValueError(f'{kw} argument not allowed, it will be overridden.') > > if 'input' in kwargs and kwargs['input'] is None: > # Explicitly passing input=None was previously equivalent to passing an > # empty string. That is maintained here for backwards compatibility. > if kwargs.get('universal_newlines') or kwargs.get('text') or kwargs.get('encoding') \ > or kwargs.get('errors'): > empty = '' > else: > empty = b'' > kwargs['input'] = empty > >> return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, > **kwargs).stdout >/usr/lib64/python3.12/subprocess.py:466: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >input = None, capture_output = False, timeout = None, check = True >popenargs = (['/tmp/tmpzvnxw45d/.venv/bin/python', '-m', 'pip', 'install', '--disable-pip-version-check', '--isolated', ...],) >kwargs = {'env': {'CC': 'gcc', 'CFLAGS': '-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -W...ronous-unwind-tables -fstack-clash-protection ', 'CONFIG_SITE': 'NONE', 'CXX': 'g++', ...}, 'stderr': -2, 'stdout': -1} >process = <Popen: returncode: 1 args: ['/tmp/tmpzvnxw45d/.venv/bin/python', '-m', 'pip...> >stdout = b"Obtaining file:///tmp/pytest-of-mockbuild/pytest-0/popen-gw1/test_builder_setup_generation_0/extended_project\n Ins...4\x80> See above for output.\n\nnote: This error originates from a subprocess, and is likely not a problem with pip.\n" >stderr = None, retcode = 1 > def run(*popenargs, > input=None, capture_output=False, timeout=None, check=False, **kwargs): > """Run command with arguments and return a CompletedProcess instance. > > The returned instance will have attributes args, returncode, stdout and > stderr. By default, stdout and stderr are not captured, and those attributes > will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, > or pass capture_output=True to capture both. > > If check is True and the exit code was non-zero, it raises a > CalledProcessError. The CalledProcessError object will have the return code > in the returncode attribute, and output & stderr attributes if those streams > were captured. > > If timeout is given, and the process takes too long, a TimeoutExpired > exception will be raised. > > There is an optional argument "input", allowing you to > pass bytes or a string to the subprocess's stdin. If you use this argument > you may not also use the Popen constructor's "stdin" argument, as > it will be used internally. > > By default, all communication is in bytes, and therefore any "input" should > be bytes, and the stdout and stderr will be bytes. If in text mode, any > "input" should be a string, and stdout and stderr will be strings decoded > according to locale encoding, or by "encoding" if set. Text mode is > triggered by setting any of text, encoding, errors or universal_newlines. > > The other arguments are the same as for the Popen constructor. > """ > if input is not None: > if kwargs.get('stdin') is not None: > raise ValueError('stdin and input arguments may not both be used.') > kwargs['stdin'] = PIPE > > if capture_output: > if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: > raise ValueError('stdout and stderr arguments may not be used ' > 'with capture_output.') > kwargs['stdout'] = PIPE > kwargs['stderr'] = PIPE > > with Popen(*popenargs, **kwargs) as process: > try: > stdout, stderr = process.communicate(input, timeout=timeout) > except TimeoutExpired as exc: > process.kill() > if _mswindows: > # Windows accumulates the output in a single blocking > # read() call run on child threads, with the timeout > # being done in a join() on those threads. communicate() > # _after_ kill() is required to collect that and add it > # to the exception. > exc.stdout, exc.stderr = process.communicate() > else: > # POSIX _communicate already populated the output so > # far into the TimeoutExpired exception. > process.wait() > raise > except: # Including KeyboardInterrupt, communicate handled that. > process.kill() > # We don't call process.wait() as .__exit__ does that for us. > raise > retcode = process.poll() > if check and retcode: >> raise CalledProcessError(retcode, process.args, > output=stdout, stderr=stderr) >E subprocess.CalledProcessError: Command '['/tmp/tmpzvnxw45d/.venv/bin/python', '-m', 'pip', 'install', '--disable-pip-version-check', '--isolated', '--no-input', '--prefix', '/tmp/tmpzvnxw45d/.venv', '--upgrade', '--no-deps', '-e', '/tmp/pytest-of-mockbuild/pytest-0/popen-gw1/test_builder_setup_generation_0/extended_project']' returned non-zero exit status 1. >/usr/lib64/python3.12/subprocess.py:571: CalledProcessError >During handling of the above exception, another exception occurred: >path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw1/test_builder_setup_generation_0/extended_project') >environment = VirtualEnv("/tmp/tmpzvnxw45d/.venv"), editable = True >deps = False, upgrade = True > def pip_install( > path: Path, > environment: Env, > editable: bool = False, > deps: bool = False, > upgrade: bool = False, > ) -> str: > is_wheel = path.suffix == ".whl" > > # We disable version check here as we are already pinning to version available in > # either the virtual environment or the virtualenv package embedded wheel. Version > # checks are a wasteful network call that adds a lot of wait time when installing a > # lot of packages. > args = [ > "install", > "--disable-pip-version-check", > "--isolated", > "--no-input", > "--prefix", > str(environment.path), > ] > > if not is_wheel and not editable: > args.insert(1, "--use-pep517") > > if upgrade: > args.append("--upgrade") > > if not deps: > args.append("--no-deps") > > if editable: > if not path.is_dir(): > raise PoetryException( > "Cannot install non directory dependencies in editable mode" > ) > args.append("-e") > > args.append(str(path)) > > try: >> return environment.run_pip(*args) >../../BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/pip.py:56: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = VirtualEnv("/tmp/tmpzvnxw45d/.venv") >args = ('install', '--disable-pip-version-check', '--isolated', '--no-input', '--prefix', '/tmp/tmpzvnxw45d/.venv', ...) >kwargs = {}, pip = ['/tmp/tmpzvnxw45d/.venv/bin/python', '-m', 'pip'] >cmd = ['/tmp/tmpzvnxw45d/.venv/bin/python', '-m', 'pip', 'install', '--disable-pip-version-check', '--isolated', ...] > def run_pip(self, *args: str, **kwargs: Any) -> str: > pip = self.get_pip_command() > cmd = pip + list(args) >> return self._run(cmd, **kwargs) >../../BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/env.py:1485: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = VirtualEnv("/tmp/tmpzvnxw45d/.venv") >cmd = ['/tmp/tmpzvnxw45d/.venv/bin/python', '-m', 'pip', 'install', '--disable-pip-version-check', '--isolated', ...] >kwargs = {'env': {'CC': 'gcc', 'CFLAGS': '-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -W...arch=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ', 'CONFIG_SITE': 'NONE', 'CXX': 'g++', ...}} > def _run(self, cmd: list[str], **kwargs: Any) -> str: > kwargs["env"] = self.get_temp_environ(environ=kwargs.get("env")) >> return super()._run(cmd, **kwargs) >../../BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/env.py:1732: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = VirtualEnv("/tmp/tmpzvnxw45d/.venv") >cmd = ['/tmp/tmpzvnxw45d/.venv/bin/python', '-m', 'pip', 'install', '--disable-pip-version-check', '--isolated', ...] >kwargs = {}, call = False, input_ = None >env = {'CC': 'gcc', 'CFLAGS': '-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=fo...march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ', 'CONFIG_SITE': 'NONE', 'CXX': 'g++', ...} >stderr = -2 > def _run(self, cmd: list[str], **kwargs: Any) -> str: > """ > Run a command inside the Python environment. > """ > call = kwargs.pop("call", False) > input_ = kwargs.pop("input_", None) > env = kwargs.pop("env", dict(os.environ)) > stderr = kwargs.pop("stderr", subprocess.STDOUT) > > try: > if input_: > output = subprocess.run( > cmd, > stdout=subprocess.PIPE, > stderr=stderr, > input=encode(input_), > check=True, > env=env, > **kwargs, > ).stdout > elif call: > assert stderr != subprocess.PIPE > subprocess.check_call(cmd, stderr=stderr, env=env, **kwargs) > output = "" > else: > output = subprocess.check_output(cmd, stderr=stderr, env=env, **kwargs) > except CalledProcessError as e: >> raise EnvCommandError(e, input=input_) >E poetry.utils.env.EnvCommandError: Command ['/tmp/tmpzvnxw45d/.venv/bin/python', '-m', 'pip', 'install', '--disable-pip-version-check', '--isolated', '--no-input', '--prefix', '/tmp/tmpzvnxw45d/.venv', '--upgrade', '--no-deps', '-e', '/tmp/pytest-of-mockbuild/pytest-0/popen-gw1/test_builder_setup_generation_0/extended_project'] errored with the following return code 1 >E >E Output: >E Obtaining file:///tmp/pytest-of-mockbuild/pytest-0/popen-gw1/test_builder_setup_generation_0/extended_project >E Installing build dependencies: started >E Installing build dependencies: finished with status 'error' >E error: subprocess-exited-with-error >E >E Ã pip subprocess to install build dependencies did not run successfully. >E â exit code: 1 >E â°â> [7 lines of output] >E WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3ffa8a2e540>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ >E WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3ffa8c4a420>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ >E WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3ffa839a150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ >E WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3ffa839b860>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ >E WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3ffa839bb60>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/ >E ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none) >E ERROR: No matching distribution found for setuptools>=40.8.0 >E [end of output] >E >E note: This error originates from a subprocess, and is likely not a problem with pip. >E error: subprocess-exited-with-error >E >E Ã pip subprocess to install build dependencies did not run successfully. >E â exit code: 1 >E â°â> See above for output. >E >E note: This error originates from a subprocess, and is likely not a problem with pip. >../../BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/env.py:1526: EnvCommandError >The above exception was the direct cause of the following exception: >fixture_dir = <function fixture_dir.<locals>._fixture_dir at 0x3ffa9eb0a40> >tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw1/test_builder_setup_generation_0') > def test_builder_setup_generation_runs_with_pip_editable( > fixture_dir: FixtureDirGetter, tmp_path: Path > ) -> None: > # create an isolated copy of the project > fixture = fixture_dir("extended_project") > extended_project = tmp_path / "extended_project" > > shutil.copytree(fixture, extended_project) > assert extended_project.exists() > > poetry = Factory().create_poetry(extended_project) > > # we need a venv with pip and setuptools since we are verifying setup.py builds > with ephemeral_environment(flags={"no-setuptools": False, "no-pip": False}) as venv: > builder = EditableBuilder(poetry, venv, NullIO()) >> builder.build() >tests/masonry/builders/test_editable_builder.py:243: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/masonry/builders/editable.py:63: in build > self._setup_build() >../../BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/masonry/builders/editable.py:111: in _setup_build > pip_install(self._path, self._env, upgrade=True, editable=True) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw1/test_builder_setup_generation_0/extended_project') >environment = VirtualEnv("/tmp/tmpzvnxw45d/.venv"), editable = True >deps = False, upgrade = True > def pip_install( > path: Path, > environment: Env, > editable: bool = False, > deps: bool = False, > upgrade: bool = False, > ) -> str: > is_wheel = path.suffix == ".whl" > > # We disable version check here as we are already pinning to version available in > # either the virtual environment or the virtualenv package embedded wheel. Version > # checks are a wasteful network call that adds a lot of wait time when installing a > # lot of packages. > args = [ > "install", > "--disable-pip-version-check", > "--isolated", > "--no-input", > "--prefix", > str(environment.path), > ] > > if not is_wheel and not editable: > args.insert(1, "--use-pep517") > > if upgrade: > args.append("--upgrade") > > if not deps: > args.append("--no-deps") > > if editable: > if not path.is_dir(): > raise PoetryException( > "Cannot install non directory dependencies in editable mode" > ) > args.append("-e") > > args.append(str(path)) > > try: > return environment.run_pip(*args) > except EnvCommandError as e: >> raise PoetryException(f"Failed to install {path}") from e >E poetry.exceptions.PoetryException: Failed to install /tmp/pytest-of-mockbuild/pytest-0/popen-gw1/test_builder_setup_generation_0/extended_project >../../BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/pip.py:58: PoetryException >=============================== warnings summary =============================== >tests/console/commands/test_add.py: 3 warnings >tests/inspection/test_info.py: 16 warnings >tests/puzzle/test_provider.py: 3 warnings >tests/puzzle/test_solver.py: 4 warnings >tests/repositories/test_legacy_repository.py: 9 warnings >tests/repositories/test_pypi_repository.py: 2 warnings >tests/utils/test_setup_reader.py: 18 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:320: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead > if isinstance(value, ast.Str): >tests/console/commands/test_add.py: 2 warnings >tests/inspection/test_info.py: 16 warnings >tests/puzzle/test_provider.py: 2 warnings >tests/puzzle/test_solver.py: 2 warnings >tests/repositories/test_legacy_repository.py: 9 warnings >tests/repositories/test_pypi_repository.py: 1 warning >tests/utils/test_setup_reader.py: 11 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:321: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead > return value.s >tests/console/commands/test_add.py: 1 warning >tests/inspection/test_info.py: 4 warnings >tests/repositories/test_legacy_repository.py: 18 warnings >tests/utils/test_setup_reader.py: 4 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:216: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead > if isinstance(el, ast.Str): >tests/console/commands/test_add.py: 1 warning >tests/inspection/test_info.py: 4 warnings >tests/repositories/test_legacy_repository.py: 18 warnings >tests/utils/test_setup_reader.py: 4 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:217: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead > install_requires.append(el.s) >tests/console/commands/test_search.py: 1 warning >tests/console/commands/test_publish.py: 6 warnings >tests/installation/test_chooser.py: 26 warnings >tests/publishing/test_uploader.py: 23 warnings >tests/repositories/test_legacy_repository.py: 13 warnings >tests/utils/test_authenticator.py: 71 warnings > /usr/lib/python3.12/site-packages/httpretty/core.py:1077: DeprecationWarning: datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.now(datetime.UTC). > now = datetime.utcnow() >tests/puzzle/test_solver.py::test_solver_does_not_choose_from_secondary_repository_by_default >tests/puzzle/test_solver.py::test_solver_chooses_from_secondary_if_explicit >tests/repositories/test_legacy_repository.py::test_packages_property_returns_empty_list >tests/repositories/test_legacy_repository.py::test_get_package_information_fallback_read_setup >tests/repositories/test_legacy_repository.py::test_get_package_information_skips_dependencies_with_invalid_constraints >tests/repositories/test_legacy_repository.py::test_get_package_retrieves_packages_with_no_hashes >tests/repositories/test_legacy_repository.py::test_package_partial_yank >tests/repositories/test_pypi_repository.py::test_fallback_can_read_setup_to_get_dependencies >tests/repositories/test_pypi_repository.py::test_pypi_repository_supports_reading_bz2_files > /usr/lib64/python3.12/tarfile.py:2213: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. > warnings.warn( >tests/puzzle/test_solver.py::test_solver_does_not_choose_from_secondary_repository_by_default >tests/puzzle/test_solver.py::test_solver_chooses_from_secondary_if_explicit >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_call_in_main >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_call_in_main > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:325: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead > if variable is not None and isinstance(variable, ast.Str): >tests/repositories/test_pypi_repository.py: 9 warnings >tests/utils/test_setup_reader.py: 15 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:261: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead > if not isinstance(key, ast.Str): >tests/repositories/test_pypi_repository.py: 9 warnings >tests/utils/test_setup_reader.py: 24 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:269: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead > e.s for e in val.elts if isinstance(e, ast.Str) >tests/repositories/test_pypi_repository.py: 9 warnings >tests/utils/test_setup_reader.py: 24 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:269: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead > e.s for e in val.elts if isinstance(e, ast.Str) >tests/repositories/test_pypi_repository.py: 9 warnings >tests/utils/test_setup_reader.py: 15 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:268: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead > extras_require[key.s] = [ >tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables >tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables >tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables >tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:223: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead > if isinstance(el, ast.Str): >tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables >tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables >tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables >tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:224: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead > install_requires.append(el.s) >tests/utils/test_setup_reader.py: 33 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:362: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead > if isinstance(key, ast.Str) and key.s == name: >tests/utils/test_setup_reader.py: 33 warnings > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:362: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead > if isinstance(key, ast.Str) and key.s == name: >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:278: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead > if not isinstance(key, ast.Str): >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:286: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead > e.s for e in val.elts if isinstance(e, ast.Str) >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:286: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead > e.s for e in val.elts if isinstance(e, ast.Str) >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:285: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead > extras_require[key.s] = [ >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_call_in_main >tests/utils/test_setup_reader.py::test_setup_reader_read_setup_call_in_main > /builddir/build/BUILDROOT/poetry-1.5.0-4.fc39.noarch/usr/lib/python3.12/site-packages/poetry/utils/setup_reader.py:326: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead > return variable.s >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================== short test summary info ============================ >FAILED tests/inspection/test_info.py::test_info_setup_complex - poetry.inspec... >FAILED tests/utils/test_env.py::test_env_no_pip[flags0-packages0] - Assertion... >FAILED tests/utils/test_env.py::test_env_no_pip[flags3-packages3] - Assertion... >FAILED tests/utils/test_env.py::test_env_no_pip[flags5-packages5] - Assertion... >FAILED tests/utils/test_env.py::test_env_no_pip[flags6-packages6] - Assertion... >FAILED tests/inspection/test_info.py::test_info_setup_complex_pep517_legacy >FAILED tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[version] >FAILED tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[name] >FAILED tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[install_requires] >FAILED tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable >===== 10 failed, 1308 passed, 5 skipped, 503 warnings in 97.20s (0:01:37) ====== >RPM build errors: >error: Bad exit status from /var/tmp/rpm-tmp.AJ4jjO (%check) > Bad exit status from /var/tmp/rpm-tmp.AJ4jjO (%check) >Child return code was: 1 >EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M ed46870eed504d218350ac17fd96c986 -D /var/lib/mock/f39-build-44451330-5281720/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.6ksftvii:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007" --setenv=PS1=<mock-chroot> \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/poetry.spec\n', 1)] >Traceback (most recent call last): > File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace > result = func(*args, **kw) > ^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status > raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) >mockbuild.exception.Error: Command failed: > # /usr/bin/systemd-nspawn -q -M ed46870eed504d218350ac17fd96c986 -D /var/lib/mock/f39-build-44451330-5281720/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.6ksftvii:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/poetry.spec >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2226645
: 1980013 |
1980014
|
1980015