From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mEUYFDVVfWez2wAAqHPOHw:P1 (envelope-from ) for ; Tue, 07 Jan 2025 16:24:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mEUYFDVVfWez2wAAqHPOHw (envelope-from ) for ; Tue, 07 Jan 2025 17:24:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uNVtavDm; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gxjmPdYZ; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736267061; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Z9KXdqKP3PGPQUbUt0rzFeogJb0nMN5U+xXrXU6O6DA=; b=F2YS/BOKKvwBMHlpHiMpvH04lVc6DkmJ6zBZS22Q43STKDQfhYhWr00GiFCxBU5C6NyiYZ nl51b8+6dnMQ2J1i7KKXj7NvtaDPa7mIWAbS3D5M9I3HLlFoAPB1hjLdDnMr04M+DG2Qud Y9oefJhS6ZAGeyaoMy9IKWu5wrUQPLYSqlOb7j74ikbzEQxprqhQxReJioIcdfRYK0IKxZ d5UOWjTPfBeR2+VFM/JGaw6Wa5Qw9JlOsDBObUz672EwBMuhyEQlPUeExrYFZDZs7P9R0K 0h3kTUv/4M0NzhQX39kE0rmsb67mxFTIs4ThtKp+sQ4owZc9MpiJvP2+ffqeNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uNVtavDm; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gxjmPdYZ; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736267061; a=rsa-sha256; cv=none; b=GKGJVQX+MSe15w9CogAwsyb72+AVid99AwvdoQ3EoiwbZUiZzP6HmbLiUdI5YDwQl1p7AM TqiQS+RibtNoJNaykeq761w/0iBR9P5Hm0S9+CrPDNVxizkNCQIHhdisc5mJ+Z2x3CePJ0 aTuY5Fy5fhBr0Las1v3U1Nh5tKXiZwdcWjTwCStcZf8nH0ZC+VGSzsUSNDiVAqREPfOgDt VRma37jNXXOEn7h3GMbVo1Nnn/nm2uSwviCAYGqzuS6nY3UFeaSOQecHRC3IDQla6BB8cv 1/S3T3VylpSN6ooIGIw67WaT1OXzzYtYlguECWezPJSeYFoV/llDn4XEeTpwaA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B640056232 for ; Tue, 07 Jan 2025 17:24:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVCNA-0000IA-Id; Tue, 07 Jan 2025 11:24:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVCN8-0000I0-Ji for bug-guix@gnu.org; Tue, 07 Jan 2025 11:24:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVCN8-0002Yd-8U for bug-guix@gnu.org; Tue, 07 Jan 2025 11:24:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=Z9KXdqKP3PGPQUbUt0rzFeogJb0nMN5U+xXrXU6O6DA=; b=uNVtavDmEzIfXJKpTPLauH5QdxDHBR11l7yPBQLfuqLOvLcK9HK/6mdL/9IkZOpwMqJKJ0acGdt99cZKTuDHL8qgoDqhaTRrU+u2FYDhbbuJ9MDQNlBH7shYB1O6qKQnX7HWHa6EfVRTZCOF5kiRFEOKW6tpg5uh0uL5B0gP/nFAmRBcrbrDvdStaj7UiJZ5lsrAAmJrSkLg9Cz8R2QqjDe/T7xCWeCt4yHB9PNvyH850Y6eebsA0pJSmtXW/cKt7V1T05Qp33n2/vHsHywCPblgImIXchPX3bzNiOTPoT8W4lVOUeTl5wMP0PfDPsWs6PhiWRbUQYSUyQTg6NV32Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVCN8-00080O-1o for bug-guix@gnu.org; Tue, 07 Jan 2025 11:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#75423: ansible package fails to build due to some tests failing on python-resolvelib package Resent-From: Apoorv Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Jan 2025 16:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75423 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 75423@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173626699630702 (code B ref -1); Tue, 07 Jan 2025 16:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2025 16:23:16 +0000 Received: from localhost ([127.0.0.1]:44352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVCMN-0007z6-0v for submit@debbugs.gnu.org; Tue, 07 Jan 2025 11:23:16 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57438) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVCMJ-0007yk-1l for submit@debbugs.gnu.org; Tue, 07 Jan 2025 11:23:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVCMC-00009y-Tx for bug-guix@gnu.org; Tue, 07 Jan 2025 11:23:04 -0500 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVCM9-0002VX-Jj for bug-guix@gnu.org; Tue, 07 Jan 2025 11:23:04 -0500 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-21a1e6fd923so15283725ad.1 for ; Tue, 07 Jan 2025 08:23:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736266979; x=1736871779; darn=gnu.org; h=mime-version:message-id:date:user-agent:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=Z9KXdqKP3PGPQUbUt0rzFeogJb0nMN5U+xXrXU6O6DA=; b=gxjmPdYZdTQ09cn/JXrM4ZSPiLaApePwC0fKQi6SmkCmL88ZDGZ+sSmIYlYsi81H3g kUjFl1eGGvOUUnqbYAiFRp5mXdzDLhk8wyrRRM1X2zq58u0JNgOFDFRAu/F7TonTIuSK P91aOAiDN9Q7dx4mQvxT7NdWAUOlihNd9HTGyTR9KbgDSyYAVFYEIWXpDAwz7KNpcGEr SQG1Nq4KwIEZTr8XgYhwNCL/HiIFLnEF+Po9dDYgGsGWFPJCoy7WJ0i0ieL/ojIMveSc F4vGW1AjsFVQxcsovKXMPYAf149vNiR0MLdB1hoJiv9eAoL1GRKl9RgXzLDVCduQPI8K w+0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736266979; x=1736871779; h=mime-version:message-id:date:user-agent:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Z9KXdqKP3PGPQUbUt0rzFeogJb0nMN5U+xXrXU6O6DA=; b=m7ii6Aq7UmOa911XOOHMrF1B1zcGPB6aO9iLbW3pbv7nv0pwoYEhisSmWR1TAXLx4x 5WxN48hn1tk3WlIRHSgz/hJkBJb3rBJ/Yd3i+JIxQv7ASF2YqSP7cGz5B1Pl2wlyNH7B vfiewonxipBG6jIfjC1Kb4DNRgQ9vLt0+NeKzS1RRtCGrfNwZaXu6iVn4qQvPL13Pwml FWnoeyudwMpN8QU2/RSZ0CmNHaYWNkXalacFxC1pQfMRHlXnPD+ntJTPbMPFBq5+yHgT Tpj/oy6yHpW4unupc57CWfzV9py0zAblNgdT3nu+3hBDkX8eJHfuBQRDjlOZPu/1Ruus cdoA== X-Gm-Message-State: AOJu0YzI1ik1Y/EPc8xcwHJ909s2elmX6khRvx+wYWaKK0Qz0Gg+Utvy /1axZJzj83yhbXGLicPbZjC6tZFW6Fk7XUwMMGGnSqpRXrZRYO/7/Lcd X-Gm-Gg: ASbGncuPf3tb1Nz+vdN9Qcnm9KhdFF+ABAn0ONNHmHxc4mlcUEOqT+iDWPUUgQMzgwD j/V/Hyk57fWzEYyLXu1FOlH1GMEFUklpc0OQRHgHkp4fvUqTfmcpMqgnxaraF745BOKvfdoyvNO HGi6SLatwx0G7gC9vm9GVJnHrAORH8EJUKZ2tqOroxRFi1aeU1dIkt7FG8oJrJuZTaBoIJro8VK 1vrZ4YwxldpbUly/jSjRzbe2/KwiMr7pYw257ZiK03HFOpPdzc= X-Google-Smtp-Source: AGHT+IHS8N4SjUworgj4Xgn+8VgN41qcLFTP2bUSQYXMwnGeMvswKCUno+Yp+6L4TdKDxuEGuWqmJw== X-Received: by 2002:a05:6a20:e68c:b0:1e1:ab03:8653 with SMTP id adf61e73a8af0-1e5e043f509mr107421220637.9.1736266979204; Tue, 07 Jan 2025 08:22:59 -0800 (PST) Received: from MachineY ([139.5.251.205]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad90c149sm33572283b3a.191.2025.01.07.08.22.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 08:22:58 -0800 (PST) From: Apoorv Singh User-Agent: mu4e 1.12.7; emacs 30.0.92 Date: Tue, 07 Jan 2025 21:52:55 +0530 Message-ID: <87bjwitwyo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=apoorvs569@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FILL_THIS_FORM=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: B640056232 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.97 X-Spam-Score: -2.97 X-TUID: tcPqQfWG3tTD The ansible package fails to build due to some tests failing on python-resolvelib package, here are the logs, starting phase `wrap' find-files: /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/bin: No such file or directory find-files: /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/sbin: No such file or directory phase `wrap' succeeded after 0.0 seconds starting phase `check' ============================= test session starts ============================== platform linux -- Python 3.10.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /tmp/guix-build-python-resolvelib-0.7.1.drv-0/source configfile: pyproject.toml plugins: hypothesis-6.54.5 collected 47 items tests/functional/cocoapods/test_resolvers_cocoapods.py x...F..F.x..F.FF. [ 36%] ...F.... [ 53%] tests/functional/python/test_resolvers_python.py ....xxF. [ 70%] tests/functional/swift-package-manager/test_resolvers_swift.py .... [ 78%] tests/test_resolvers.py ... [ 85%] tests/test_structs.py ....... [100%] =================================== FAILURES =================================== ____________________ test_resolver[conflict_common_parent] _____________________ provider = reporter = def test_resolver(provider, reporter): resolver = Resolver(provider, reporter) if provider.expected_conflicts: with pytest.raises(ResolutionImpossible) as ctx: result = resolver.resolve(provider.root_requirements) print(_format_resolution(result)) # Provide some debugging hints. assert _format_conflicts(ctx.value) == provider.expected_conflicts else: > result = resolver.resolve(provider.root_requirements) tests/functional/cocoapods/test_resolvers_cocoapods.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:472: in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:366: in resolve failure_causes = self._attempt_to_pin_criterion(name) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:212: in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:203: in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:168: in _add_to_criteria candidates=build_iter_view(matches), /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/structs.py:164: in build_iter_view matches = list(matches) tests/functional/cocoapods/test_resolvers_cocoapods.py:133: in find_matches candidates = sorted( tests/functional/cocoapods/test_resolvers_cocoapods.py:118: in _iter_matches version = packaging.version.parse(entry["version"]) /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:56: in parse return Version(version) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'Version' object has no attribute '_version'") raised in repr()] Version object at 0x7ffff5a63be0> version = '5.0.0-beta1.1' def __init__(self, version: str) -> None: """Initialize a Version object. :param version: The string representation of a version which will be parsed and normalized before use. :raises InvalidVersion: If the ``version`` does not conform to PEP 440 in any way then this exception will be raised. """ # Validate the version and parse it into pieces match = self._regex.search(version) if not match: > raise InvalidVersion(f"Invalid version: {version!r}") E packaging.version.InvalidVersion: Invalid version: '5.0.0-beta1.1' /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:202: InvalidVersion _____________________ test_resolver[deep_complex_conflict] _____________________ provider = reporter = def test_resolver(provider, reporter): resolver = Resolver(provider, reporter) if provider.expected_conflicts: with pytest.raises(ResolutionImpossible) as ctx: result = resolver.resolve(provider.root_requirements) print(_format_resolution(result)) # Provide some debugging hints. assert _format_conflicts(ctx.value) == provider.expected_conflicts else: > result = resolver.resolve(provider.root_requirements) tests/functional/cocoapods/test_resolvers_cocoapods.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:472: in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:366: in resolve failure_causes = self._attempt_to_pin_criterion(name) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:212: in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:203: in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:168: in _add_to_criteria candidates=build_iter_view(matches), /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/structs.py:164: in build_iter_view matches = list(matches) tests/functional/cocoapods/test_resolvers_cocoapods.py:133: in find_matches candidates = sorted( tests/functional/cocoapods/test_resolvers_cocoapods.py:118: in _iter_matches version = packaging.version.parse(entry["version"]) /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:56: in parse return Version(version) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'Version' object has no attribute '_version'") raised in repr()] Version object at 0x7ffff5c1ea40> version = '4.0.0-preview2.1' def __init__(self, version: str) -> None: """Initialize a Version object. :param version: The string representation of a version which will be parsed and normalized before use. :raises InvalidVersion: If the ``version`` does not conform to PEP 440 in any way then this exception will be raised. """ # Validate the version and parse it into pieces match = self._regex.search(version) if not match: > raise InvalidVersion(f"Invalid version: {version!r}") E packaging.version.InvalidVersion: Invalid version: '4.0.0-preview2.1' /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:202: InvalidVersion ----------------------------- Captured stdout call ----------------------------- Pin Candidate(name='capybara', ver=, deps=[Requirement(name='nokogiri', spec==1.3.3')>), Requirement(name='mime-types', spec==1.16')>), Requirement(name='rack', spec==1.0.0')>), Requirement(name='rack-test', spec==0.5.4')>), Requirement(name='xpath', spec==2.0,~=2.0')>)]) Pin Candidate(name='xpath', ver=, deps=[Requirement(name='nokogiri', spec==1.3,~=1.3')>)]) Pin Candidate(name='rack-test', ver=, deps=[Requirement(name='rack', spec==1.0')>)]) Pin Candidate(name='mime-types', ver=, deps=[]) Pin Candidate(name='nokogiri', ver=, deps=[Requirement(name='mini_portile', spec==0.6.0,~=0.6.0')>)]) Pin Candidate(name='mini_portile', ver=, deps=[]) Pin Candidate(name='rack', ver=, deps=[]) Pin Candidate(name='rails', ver=, deps=[Requirement(name='bundler', spec==1.0,~=1.0')>), Requirement(name='railties', spec=), Requirement(name='actionmailer', spec=), Requirement(name='activeresource', spec=), Requirement(name='activerecord', spec=), Requirement(name='actionpack', spec=), Requirement(name='activesupport', spec=)]) ___________________ test_resolver[pruned_unresolved_orphan] ____________________ provider = reporter = def test_resolver(provider, reporter): resolver = Resolver(provider, reporter) if provider.expected_conflicts: with pytest.raises(ResolutionImpossible) as ctx: result = resolver.resolve(provider.root_requirements) print(_format_resolution(result)) # Provide some debugging hints. assert _format_conflicts(ctx.value) == provider.expected_conflicts else: > result = resolver.resolve(provider.root_requirements) tests/functional/cocoapods/test_resolvers_cocoapods.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:472: in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:366: in resolve failure_causes = self._attempt_to_pin_criterion(name) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:212: in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:203: in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:168: in _add_to_criteria candidates=build_iter_view(matches), /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/structs.py:164: in build_iter_view matches = list(matches) tests/functional/cocoapods/test_resolvers_cocoapods.py:133: in find_matches candidates = sorted( tests/functional/cocoapods/test_resolvers_cocoapods.py:118: in _iter_matches version = packaging.version.parse(entry["version"]) /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:56: in parse return Version(version) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'Version' object has no attribute '_version'") raised in repr()] Version object at 0x7ffff5a8e2f0> version = '0.18.0-gh.de28323' def __init__(self, version: str) -> None: """Initialize a Version object. :param version: The string representation of a version which will be parsed and normalized before use. :raises InvalidVersion: If the ``version`` does not conform to PEP 440 in any way then this exception will be raised. """ # Validate the version and parse it into pieces match = self._regex.search(version) if not match: > raise InvalidVersion(f"Invalid version: {version!r}") E packaging.version.InvalidVersion: Invalid version: '0.18.0-gh.de28323' /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:202: InvalidVersion ----------------------------- Captured stdout call ----------------------------- Pin Candidate(name='mail', ver=, deps=[Requirement(name='mime-types', spec==1.16')>)]) ___________________ test_resolver[shared_parent_dependency] ____________________ provider = reporter = def test_resolver(provider, reporter): resolver = Resolver(provider, reporter) if provider.expected_conflicts: with pytest.raises(ResolutionImpossible) as ctx: result = resolver.resolve(provider.root_requirements) print(_format_resolution(result)) # Provide some debugging hints. assert _format_conflicts(ctx.value) == provider.expected_conflicts else: > result = resolver.resolve(provider.root_requirements) tests/functional/cocoapods/test_resolvers_cocoapods.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:472: in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:341: in resolve self._add_to_criteria(self.state.criteria, r, parent=None) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:168: in _add_to_criteria candidates=build_iter_view(matches), /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/structs.py:164: in build_iter_view matches = list(matches) tests/functional/cocoapods/test_resolvers_cocoapods.py:133: in find_matches candidates = sorted( tests/functional/cocoapods/test_resolvers_cocoapods.py:118: in _iter_matches version = packaging.version.parse(entry["version"]) /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:56: in parse return Version(version) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'Version' object has no attribute '_version'") raised in repr()] Version object at 0x7ffff5c2e5c0> version = '0.10.0-qs.0' def __init__(self, version: str) -> None: """Initialize a Version object. :param version: The string representation of a version which will be parsed and normalized before use. :raises InvalidVersion: If the ``version`` does not conform to PEP 440 in any way then this exception will be raised. """ # Validate the version and parse it into pieces match = self._regex.search(version) if not match: > raise InvalidVersion(f"Invalid version: {version!r}") E packaging.version.InvalidVersion: Invalid version: '0.10.0-qs.0' /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:202: InvalidVersion ____________ test_resolver[shared_parent_dependency_with_swapping] _____________ provider = reporter = def test_resolver(provider, reporter): resolver = Resolver(provider, reporter) if provider.expected_conflicts: with pytest.raises(ResolutionImpossible) as ctx: result = resolver.resolve(provider.root_requirements) print(_format_resolution(result)) # Provide some debugging hints. assert _format_conflicts(ctx.value) == provider.expected_conflicts else: > result = resolver.resolve(provider.root_requirements) tests/functional/cocoapods/test_resolvers_cocoapods.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:472: in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:366: in resolve failure_causes = self._attempt_to_pin_criterion(name) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:212: in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:203: in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:168: in _add_to_criteria candidates=build_iter_view(matches), /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/structs.py:164: in build_iter_view matches = list(matches) tests/functional/cocoapods/test_resolvers_cocoapods.py:133: in find_matches candidates = sorted( tests/functional/cocoapods/test_resolvers_cocoapods.py:118: in _iter_matches version = packaging.version.parse(entry["version"]) /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:56: in parse return Version(version) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'Version' object has no attribute '_version'") raised in repr()] Version object at 0x7ffff5c0e680> version = '0.3.6-pre.f7e3358' def __init__(self, version: str) -> None: """Initialize a Version object. :param version: The string representation of a version which will be parsed and normalized before use. :raises InvalidVersion: If the ``version`` does not conform to PEP 440 in any way then this exception will be raised. """ # Validate the version and parse it into pieces match = self._regex.search(version) if not match: > raise InvalidVersion(f"Invalid version: {version!r}") E packaging.version.InvalidVersion: Invalid version: '0.3.6-pre.f7e3358' /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:202: InvalidVersion ----------------------------- Captured stdout call ----------------------------- Pin Candidate(name='avro_turf', ver=, deps=[Requirement(name='avro', spec==1.7.7')>), Requirement(name='excon', spec==0.45.4,~=0.45.4')>)]) ____________________ test_resolver[spapping_and_rewinding] _____________________ provider = reporter = def test_resolver(provider, reporter): resolver = Resolver(provider, reporter) if provider.expected_conflicts: with pytest.raises(ResolutionImpossible) as ctx: result = resolver.resolve(provider.root_requirements) print(_format_resolution(result)) # Provide some debugging hints. assert _format_conflicts(ctx.value) == provider.expected_conflicts else: > result = resolver.resolve(provider.root_requirements) tests/functional/cocoapods/test_resolvers_cocoapods.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:472: in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:366: in resolve failure_causes = self._attempt_to_pin_criterion(name) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:212: in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:203: in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:168: in _add_to_criteria candidates=build_iter_view(matches), /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/structs.py:164: in build_iter_view matches = list(matches) tests/functional/cocoapods/test_resolvers_cocoapods.py:133: in find_matches candidates = sorted( tests/functional/cocoapods/test_resolvers_cocoapods.py:118: in _iter_matches version = packaging.version.parse(entry["version"]) /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:56: in parse return Version(version) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'Version' object has no attribute '_version'") raised in repr()] Version object at 0x7ffff5a621a0> version = '2.0.0.pre.develop.2' def __init__(self, version: str) -> None: """Initialize a Version object. :param version: The string representation of a version which will be parsed and normalized before use. :raises InvalidVersion: If the ``version`` does not conform to PEP 440 in any way then this exception will be raised. """ # Validate the version and parse it into pieces match = self._regex.search(version) if not match: > raise InvalidVersion(f"Invalid version: {version!r}") E packaging.version.InvalidVersion: Invalid version: '2.0.0.pre.develop.2' /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/version.py:202: InvalidVersion ----------------------------- Captured stdout call ----------------------------- Pin Candidate(name='ruby', ver=, deps=[]) _________________________ test_resolver[same-package] __________________________ self = <[AttributeError("'Requirement' object has no attribute 'name'") raised in repr()] Requirement object at 0x7ffff5c1feb0> requirement_string = "package-x=='1.2.0'; extra == 'x'" def __init__(self, requirement_string: str) -> None: try: > parsed = _parse_requirement(requirement_string) /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/requirements.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/_parser.py:62: in parse_requirement return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES)) /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/_parser.py:80: in _parse_requirement url, specifier, marker = _parse_requirement_details(tokenizer) /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/_parser.py:124: in _parse_requirement_details marker = _parse_requirement_marker( /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/_parser.py:145: in _parse_requirement_marker tokenizer.raise_syntax_error( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = message = 'Expected end or semicolon (after name and no valid version specifier)' def raise_syntax_error( self, message: str, *, span_start: int | None = None, span_end: int | None = None, ) -> NoReturn: """Raise ParserSyntaxError at the given position.""" span = ( self.position if span_start is None else span_start, self.position if span_end is None else span_end, ) > raise ParserSyntaxError( message, source=self.source, span=span, ) E packaging._tokenizer.ParserSyntaxError: Expected end or semicolon (after name and no valid version specifier) E package-x=='1.2.0'; extra == 'x' E ^ /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/_tokenizer.py:167: ParserSyntaxError The above exception was the direct cause of the following exception: provider = reporter = def test_resolver(provider, reporter): resolver = Resolver(provider, reporter) if provider.expected_confliction: with pytest.raises(ResolutionImpossible) as ctx: result = resolver.resolve(provider.root_requirements) print(_format_resolution(result)) # Provide some debugging hints. assert _format_confliction(ctx.value) == provider.expected_confliction else: > resolution = > resolver.resolve(provider.root_requirements) tests/functional/python/test_resolvers_python.py:170: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:472: in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:366: in resolve failure_causes = self._attempt_to_pin_criterion(name) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:212: in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) /gnu/store/f05w6gxgi0g6aviarivji3glz7xi1skx-python-resolvelib-0.7.1/lib/python3.10/site-packages/resolvelib/resolvers.py:202: in _get_updated_criteria for requirement in self._p.get_dependencies(candidate=candidate): tests/functional/python/test_resolvers_python.py:114: in get_dependencies return list(self._iter_dependencies(candidate)) tests/functional/python/test_resolvers_python.py:108: in _iter_dependencies requirement = packaging.requirements.Requirement(r) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'Requirement' object has no attribute 'name'") raised in repr()] Requirement object at 0x7ffff5c1feb0> requirement_string = "package-x=='1.2.0'; extra == 'x'" def __init__(self, requirement_string: str) -> None: try: parsed = _parse_requirement(requirement_string) except ParserSyntaxError as e: > raise InvalidRequirement(str(e)) from e E packaging.requirements.InvalidRequirement: Expected end or semicolon (after name and no valid version specifier) E package-x=='1.2.0'; extra == 'x' E ^ /gnu/store/p0ivhssrrkxm0w9p5223bi98hz3ddksw-python-packaging-bootstrap-24.2/lib/python3.10/site-packages/packaging/requirements.py:38: InvalidRequirement =========================== short test summary info ============================ FAILED tests/functional/cocoapods/test_resolvers_cocoapods.py::test_resolver[conflict_common_parent] FAILED tests/functional/cocoapods/test_resolvers_cocoapods.py::test_resolver[deep_complex_conflict] FAILED tests/functional/cocoapods/test_resolvers_cocoapods.py::test_resolver[pruned_unresolved_orphan] FAILED tests/functional/cocoapods/test_resolvers_cocoapods.py::test_resolver[shared_parent_dependency] FAILED tests/functional/cocoapods/test_resolvers_cocoapods.py::test_resolver[shared_parent_dependency_with_swapping] FAILED tests/functional/cocoapods/test_resolvers_cocoapods.py::test_resolver[spapping_and_rewinding] FAILED tests/functional/python/test_resolvers_python.py::test_resolver[same-package] =================== 7 failed, 36 passed, 4 xfailed in 10.33s =================== error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "pytest" arguments: () exit-status: 1 term-signal: #f stop-signal: #f> phase `check' failed after 10.6 seconds command "pytest" failed with status 1 build process 10 exited with status 256 builder for `/gnu/store/c4x1xfw1k6df68xgypfjj1x6nf1phx67-python-resolvelib-0.7.1.drv' failed with exit code 1 build of /gnu/store/c4x1xfw1k6df68xgypfjj1x6nf1phx67-python-resolvelib-0.7.1.drv failed View build log at '/var/log/guix/drvs/c4/x1xfw1k6df68xgypfjj1x6nf1phx67-python-resolvelib-0.7.1.drv.gz'. guix shell: error: build of `/gnu/store/c4x1xfw1k6df68xgypfjj1x6nf1phx67-python-resolvelib-0.7.1.drv' failed -- - Apoorv Singh - Sent from Emacs.