From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UDjYDUNhY2HwNgEAgWs5BA (envelope-from ) for ; Sun, 10 Oct 2021 23:55:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MFSLCUNhY2EKOAAA1q6Kng (envelope-from ) for ; Sun, 10 Oct 2021 21:55:15 +0000 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 4836B30FF0 for ; Sun, 10 Oct 2021 23:55:14 +0200 (CEST) Received: from localhost ([::1]:59110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZgmn-0007R3-7M for larch@yhetil.org; Sun, 10 Oct 2021 17:55:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZgmc-0007Qs-N0 for guix-patches@gnu.org; Sun, 10 Oct 2021 17:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZgmc-0008Im-EU for guix-patches@gnu.org; Sun, 10 Oct 2021 17:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZgmc-00026E-E4 for guix-patches@gnu.org; Sun, 10 Oct 2021 17:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51121] WIP I'll send another patch soon. In-Reply-To: <20211010204824.17388-1-jgart@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Oct 2021 21:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51121 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51121@debbugs.gnu.org Received: via spool by 51121-submit@debbugs.gnu.org id=B51121.16339028447981 (code B ref 51121); Sun, 10 Oct 2021 21:55:02 +0000 Received: (at 51121) by debbugs.gnu.org; 10 Oct 2021 21:54:04 +0000 Received: from localhost ([127.0.0.1]:55951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZglW-000249-VE for submit@debbugs.gnu.org; Sun, 10 Oct 2021 17:54:04 -0400 Received: from mx1.dismail.de ([78.46.223.134]:29777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZglQ-00023q-Ps for 51121@debbugs.gnu.org; Sun, 10 Oct 2021 17:53:53 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id b3c9cf07 for <51121@debbugs.gnu.org>; Sun, 10 Oct 2021 23:53:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:subject:references:mime-version:content-type :content-transfer-encoding; s=20190914; bh=MFcoSYTQgyIFEG5rkQr/i hPQPw1cFGpQUtt/d4mhEYU=; b=qYLwEcEcfsxd9d0PXRoBzUhg7hLTh/Romsefn GMPt5nMMaqjUd47YJ0e/hc5yxwYW3qAtIEho+CdQi2jDLMHdQHQVMnA27vHZu62Y kqSjxfTBb9RKkPRAWwPFgZKu/e7/7jJQIEco4lgHr7uhPYTK0ycjLWu4XZWMIRoR JACEs1yrKuZ3iQlsvmo7HIVPNat66Rg0lp/JQCx3qvNQrgW8Y4B1jPTdE0LB0OYQ jDF1o3Q8gaZbZneeAVZBhLL1iUZ91muyYnhiWoIW8oidSO9ELfZrbQyTcBYNcMsL KOu4fITcAhaISKelq2jUBfXOsLVgBQ2gYVmINMr858teXx/8w== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 110a126a for <51121@debbugs.gnu.org>; Sun, 10 Oct 2021 23:53:40 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 83f76cae for <51121@debbugs.gnu.org>; Sun, 10 Oct 2021 23:53:40 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 0937425c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <51121@debbugs.gnu.org>; Sun, 10 Oct 2021 23:53:39 +0200 (CEST) Date: Sun, 10 Oct 2021 17:53:38 -0400 Message-ID: <20211010175338.GB24443@gac.attlocal.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633902914; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pOnFX2iE5VWaa+fDX8TghFcszjOmgS0YKP8Am6/ZDrs=; b=Ch6OQDTiIB1H7EPg7uFELvKy+wwh7gwwTq6zOaZkkls3vlQsXqpWxMBCiUnutL4czZUQg9 dSuDobkW9ByJf2ngeP030ZYncrdT6Nj5P0E3LQRxBUSDpgsCnJRp30THNk/V/n0+0Fkzf6 9jG6cmKphth1yrEm6GW8kVOzus4eNhGfXYSNrjKwfdr+STfv1XuNZ0kpiB4HK2nQgxmNu5 JLWK4OzEqwC1apJZmxnE4PU39TG9SOZmcKofFP/rQsr6taBRRIwyLbgldMRCkSBmX3ZtbN ADGX9GdSajOdtZW83Zyrh8EBXJxl6bHuPI3xt0HA8u36azCrrRryl6VK2K7JXA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633902914; a=rsa-sha256; cv=none; b=KXnWirfz8gvWe2zFZ46E4Zn/YYY5/oAX/wOwFwp2MSVdtjmjT67TXSmMkPiec/p+C3ghJt Fn3vNR6zjsPwIacx8xH7zE96lh4u06m+ZHTzldA/xMODAS/lECStmZfXFQMvTjnrOZSxgT T0hntTyRucN5Aek0p8i1ZNHUgYBpFx/WqpkJjYn5yO+g8jHcABT5fBtPBw7BXfOFZtM9iP m09yWBw4FxowHJeCsj7yM+hFQDIfst339f1BDHP7qWVa7vv3w9jad1AmyvkkZdTZKDRT/d zId8XSE8LXN3jAl8MAWpLu1HPyGHflMIQiRNa4SgRa03fD8bUi4R3+sSgSsuEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=qYLwEcEc; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=qYLwEcEc; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4836B30FF0 X-Spam-Score: -3.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: qbs4u1aVP8G3 Hi this is a WIP. I'll send another patch soon once I figure it out. Tests are currently failing: phase `wrap' succeeded after 0.0 seconds starting phase `check' ============================= test session starts ============================== platform linux -- Python 3.8.2, pytest-5.3.5, py-1.8.1, pluggy-0.13.1 rootdir: /tmp/guix-build-python-pyproject2setuppy-20.drv-0/source, inifile: setup.cfg plugins: hypothesis-5.4.1, forked-1.3.0 collected 205 items tests/test_common.py ... [ 1%] tests/test_flit.py ...s...s...s...s...s...s...s...s...s...s...s...s...s [ 26%] tests/test_flit_pep621.py ...s...s...s...s...s...s...s...s...s...s...s.. [ 49%] .s...s...s [ 54%] tests/test_main.py ...... [ 57%] tests/test_poetry.py ...s...s...s...s...s...s...s...s...s...s...s...s... [ 81%] s...s...s...s...s...s...s...s [ 96%] tests/test_setuptools.py ...F...F [100%] =================================== FAILURES =================================== ________________ SetuptoolsNoSetupPyTest.test_real_build_system ________________ self = def test_real_build_system(self): """ Perform a self-test using the upstream build backend. Builds a wheel, and verifies its contents. Used to verify that test cases are correct. """ metadata = toml.loads(self.toml_base + self.toml_extra) backend_module = metadata['build-system']['build-backend'] try: backend = importlib.import_module(backend_module) except ImportError: self.skipTest('Required {} module missing'.format(backend_module)) with self.make_package() as d: with open('pyproject.toml', 'w') as f: f.write(self.toml_base + self.toml_extra) if self.expect_exception is not None: # upstream build system uses different exception classes with self.assertRaises(Exception): backend.build_wheel(d) return > whl = backend.build_wheel(d) tests/base.py:271: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/build_meta.py:208: in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/build_meta.py:194: in _build_with_temp_dir self.run_setup() /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/build_meta.py:142: in run_setup exec(compile(code, __file__, 'exec'), locals()) setup.py:1: in ??? /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/__init__.py:145: in setup return distutils.core.setup(**attrs) /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/distutils/core.py:148: in setup dist.run_commands() /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/distutils/dist.py:966: in run_commands self.run_command(cmd) /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/distutils/dist.py:985: in run_command cmd_obj.run() /gnu/store/khi7jd4f8zy3z2mz5i116yyrgc10nwrk-python-wheel-0.36.2/lib/python3.8/site-packages/wheel/bdist_wheel.py:361: in run wf.write_files(archive_root) /gnu/store/khi7jd4f8zy3z2mz5i116yyrgc10nwrk-python-wheel-0.36.2/lib/python3.8/site-packages/wheel/wheelfile.py:124: in write_files self.write(path, arcname) /gnu/store/khi7jd4f8zy3z2mz5i116yyrgc10nwrk-python-wheel-0.36.2/lib/python3.8/site-packages/wheel/wheelfile.py:135: in write zinfo = ZipInfo(arcname or filename, date_time=get_zipinfo_datetime(st.st_mtime)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError('compress_type') raised in repr()] ZipInfo object at 0x7ffff5a86d00> filename = 'test_module.py', date_time = (1970, 1, 1, 0, 0, 1) def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)): self.orig_filename = filename # Original file name in archive # Terminate the file name at the first null byte. Null bytes in file # names are used as tricks by viruses in archives. null_byte = filename.find(chr(0)) if null_byte >= 0: filename = filename[0:null_byte] # This is used to ensure paths in generated ZIP files always use # forward slashes as the directory separator, as required by the # ZIP format specification. if os.sep != "/" and os.sep in filename: filename = filename.replace(os.sep, "/") self.filename = filename # Normalized file name self.date_time = date_time # year, month, day, hour, min, sec if date_time[0] < 1980: > raise ValueError('ZIP does not support timestamps before 1980') E ValueError: ZIP does not support timestamps before 1980 /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/zipfile.py:362: ValueError ----------------------------- Captured stdout call ----------------------------- running bdist_wheel running build running build_py creating build creating build/lib copying test_module.py -> build/lib installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel copying build/lib/test_module.py -> build/bdist.linux-x86_64/wheel running install_egg_info running egg_info creating test_module.egg-info writing test_module.egg-info/PKG-INFO writing dependency_links to test_module.egg-info/dependency_links.txt writing top-level names to test_module.egg-info/top_level.txt writing manifest file 'test_module.egg-info/SOURCES.txt' reading manifest file 'test_module.egg-info/SOURCES.txt' writing manifest file 'test_module.egg-info/SOURCES.txt' Copying test_module.egg-info to build/bdist.linux-x86_64/wheel/test_module-0-py3.8.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/test_module-0.dist-info/WHEEL creating '/tmp/guix-build-python-pyproject2setuppy-20.drv-0/tmpbvokwos2/tmpvllwyjo_/test_module-0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it _________________ SetuptoolsSetupPyTest.test_real_build_system _________________ self = def test_real_build_system(self): """ Perform a self-test using the upstream build backend. Builds a wheel, and verifies its contents. Used to verify that test cases are correct. """ metadata = toml.loads(self.toml_base + self.toml_extra) backend_module = metadata['build-system']['build-backend'] try: backend = importlib.import_module(backend_module) except ImportError: self.skipTest('Required {} module missing'.format(backend_module)) with self.make_package() as d: with open('pyproject.toml', 'w') as f: f.write(self.toml_base + self.toml_extra) if self.expect_exception is not None: # upstream build system uses different exception classes with self.assertRaises(Exception): backend.build_wheel(d) return > whl = backend.build_wheel(d) tests/base.py:271: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/build_meta.py:208: in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/build_meta.py:194: in _build_with_temp_dir self.run_setup() /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/build_meta.py:142: in run_setup exec(compile(code, __file__, 'exec'), locals()) setup.py:2: in ??? /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/__init__.py:145: in setup return distutils.core.setup(**attrs) /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/distutils/core.py:148: in setup dist.run_commands() /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/distutils/dist.py:966: in run_commands self.run_command(cmd) /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/distutils/dist.py:985: in run_command cmd_obj.run() /gnu/store/khi7jd4f8zy3z2mz5i116yyrgc10nwrk-python-wheel-0.36.2/lib/python3.8/site-packages/wheel/bdist_wheel.py:361: in run wf.write_files(archive_root) /gnu/store/khi7jd4f8zy3z2mz5i116yyrgc10nwrk-python-wheel-0.36.2/lib/python3.8/site-packages/wheel/wheelfile.py:124: in write_files self.write(path, arcname) /gnu/store/khi7jd4f8zy3z2mz5i116yyrgc10nwrk-python-wheel-0.36.2/lib/python3.8/site-packages/wheel/wheelfile.py:135: in write zinfo = ZipInfo(arcname or filename, date_time=get_zipinfo_datetime(st.st_mtime)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError('compress_type') raised in repr()] ZipInfo object at 0x7ffff5a89d00> filename = 'test_module.py', date_time = (1970, 1, 1, 0, 0, 1) def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)): self.orig_filename = filename # Original file name in archive # Terminate the file name at the first null byte. Null bytes in file # names are used as tricks by viruses in archives. null_byte = filename.find(chr(0)) if null_byte >= 0: filename = filename[0:null_byte] # This is used to ensure paths in generated ZIP files always use # forward slashes as the directory separator, as required by the # ZIP format specification. if os.sep != "/" and os.sep in filename: filename = filename.replace(os.sep, "/") self.filename = filename # Normalized file name self.date_time = date_time # year, month, day, hour, min, sec if date_time[0] < 1980: > raise ValueError('ZIP does not support timestamps before 1980') E ValueError: ZIP does not support timestamps before 1980 /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/zipfile.py:362: ValueError ----------------------------- Captured stdout call ----------------------------- running bdist_wheel running build running build_py creating build creating build/lib copying test_module.py -> build/lib installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel copying build/lib/test_module.py -> build/bdist.linux-x86_64/wheel running install_egg_info running egg_info creating test_module.egg-info writing test_module.egg-info/PKG-INFO writing dependency_links to test_module.egg-info/dependency_links.txt writing top-level names to test_module.egg-info/top_level.txt writing manifest file 'test_module.egg-info/SOURCES.txt' reading manifest file 'test_module.egg-info/SOURCES.txt' writing manifest file 'test_module.egg-info/SOURCES.txt' Copying test_module.egg-info to build/bdist.linux-x86_64/wheel/test_module-0-py3.8.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/test_module-0.dist-info/WHEEL creating '/tmp/guix-build-python-pyproject2setuppy-20.drv-0/tmpr39dy7_m/tmpapoo2pgz/test_module-0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it =============================== warnings summary =============================== /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/depends.py:2 /gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp tests/base.py:71 /tmp/guix-build-python-pyproject2setuppy-20.drv-0/source/tests/base.py:71: PytestCollectionWarning: cannot collect test class 'TestDirectory' because it has a __init__ constructor (from: tests/test_common.py) class TestDirectory(object): tests/base.py:71 /tmp/guix-build-python-pyproject2setuppy-20.drv-0/source/tests/base.py:71: PytestCollectionWarning: cannot collect test class 'TestDirectory' because it has a __init__ constructor (from: tests/test_main.py) class TestDirectory(object): -- Docs: https://docs.pytest.org/en/latest/warnings.html ============ 2 failed, 156 passed, 47 skipped, 3 warnings in 11.94s ============ command "pytest" "tests" failed with status 1 note: keeping build directory `/tmp/guix-build-python-pyproject2setuppy-20.drv-3' builder for `/gnu/store/g15ah2jd1xlmvg22h3nhfhp7x778n7mw-python-pyproject2setuppy-20.drv' failed with exit code 1 build of /gnu/store/g15ah2jd1xlmvg22h3nhfhp7x778n7mw-python-pyproject2setuppy-20.drv failed Could not find build log for '/gnu/store/g15ah2jd1xlmvg22h3nhfhp7x778n7mw-python-pyproject2setuppy-20.drv'. guix build: error: build of `/gnu/store/g15ah2jd1xlmvg22h3nhfhp7x778n7mw-python-pyproject2setuppy-20.drv' failed all best, jgart 3B1D 7F19 E36B B60C 0F5B 2CA9 A52A A2B4 77B6 DD35