2023-09-10T23:29:32,483 Created temporary directory: /tmp/pip-build-tracker-ajk5ysbk 2023-09-10T23:29:32,485 Initialized build tracking at /tmp/pip-build-tracker-ajk5ysbk 2023-09-10T23:29:32,485 Created build tracker: /tmp/pip-build-tracker-ajk5ysbk 2023-09-10T23:29:32,485 Entered build tracker: /tmp/pip-build-tracker-ajk5ysbk 2023-09-10T23:29:32,486 Created temporary directory: /tmp/pip-wheel-wtn69gxy 2023-09-10T23:29:32,489 Created temporary directory: /tmp/pip-ephem-wheel-cache-vakwqqa3 2023-09-10T23:29:32,511 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-10T23:29:32,515 2 location(s) to search for versions of pytuya: 2023-09-10T23:29:32,515 * https://pypi.org/simple/pytuya/ 2023-09-10T23:29:32,515 * https://www.piwheels.org/simple/pytuya/ 2023-09-10T23:29:32,516 Fetching project page and analyzing links: https://pypi.org/simple/pytuya/ 2023-09-10T23:29:32,517 Getting page https://pypi.org/simple/pytuya/ 2023-09-10T23:29:32,518 Found index url https://pypi.org/simple/ 2023-09-10T23:29:32,738 Fetched page https://pypi.org/simple/pytuya/ as application/vnd.pypi.simple.v1+json 2023-09-10T23:29:32,741 Found link https://files.pythonhosted.org/packages/e3/60/b641b305a1e820841de5c8acf0b8fd2b6aa0af8850424999a7ecc283b96f/pytuya-1.0.tar.gz (from https://pypi.org/simple/pytuya/), version: 1.0 2023-09-10T23:29:32,742 Found link https://files.pythonhosted.org/packages/7b/14/0645418e342aa86996cf6d9ded35accb80affa09383bc53e4e3aff584db9/pytuya-2.0.tar.gz (from https://pypi.org/simple/pytuya/), version: 2.0 2023-09-10T23:29:32,743 Found link https://files.pythonhosted.org/packages/ba/c8/63aebcaa950afe19f3afdad34548def070d678e9e803299d7533ad6471d9/pytuya-3.0.tar.gz (from https://pypi.org/simple/pytuya/), version: 3.0 2023-09-10T23:29:32,743 Found link https://files.pythonhosted.org/packages/58/56/ab9a443864e2fe3f2e2f94ff1625a30e2a4eb3c6436896472ccd24a4227a/pytuya-4.0.tar.gz (from https://pypi.org/simple/pytuya/), version: 4.0 2023-09-10T23:29:32,744 Found link https://files.pythonhosted.org/packages/f3/50/b6b387e7755b61407db1e8823001645d3a591602612203ec813ba4db4185/pytuya-5.0.tar.gz (from https://pypi.org/simple/pytuya/), version: 5.0 2023-09-10T23:29:32,745 Found link https://files.pythonhosted.org/packages/5a/c1/7799254e4de55a4117da59ee063f5857b955492b9b444c9b517707769319/pytuya-6.0.tar.gz (from https://pypi.org/simple/pytuya/), version: 6.0 2023-09-10T23:29:32,746 Found link https://files.pythonhosted.org/packages/c0/e4/39132a7ee17bb3906726e4d68c367a24b969b71d891c65e2d50f1886cf56/pytuya-7.0.tar.gz (from https://pypi.org/simple/pytuya/), version: 7.0 2023-09-10T23:29:32,746 Found link https://files.pythonhosted.org/packages/81/7a/a77347f79ab92408acf49d48d15043fa1254405fb501f2ecc6e64f2c7ca9/pytuya-7.0.1.zip (from https://pypi.org/simple/pytuya/), version: 7.0.1 2023-09-10T23:29:32,747 Found link https://files.pythonhosted.org/packages/ad/4c/44be39a4614580e1efd753b423a8cab55167e7ed8177a6e024519d00c54f/pytuya-7.0.2.zip (from https://pypi.org/simple/pytuya/), version: 7.0.2 2023-09-10T23:29:32,748 Found link https://files.pythonhosted.org/packages/71/f3/09e7b1c2cd16c756d0aa16e3382f8909f371aca56176fe3f9ffe36a60808/pytuya-7.0.4.zip (from https://pypi.org/simple/pytuya/), version: 7.0.4 2023-09-10T23:29:32,749 Found link https://files.pythonhosted.org/packages/4a/69/b20175759e97294f694939ab9bc4be378b3c60ef2d1601d80fc3cc6d2daa/pytuya-7.0.5.zip (from https://pypi.org/simple/pytuya/), version: 7.0.5 2023-09-10T23:29:32,749 Found link https://files.pythonhosted.org/packages/35/82/a10d977c4a0879c37275e2793d983a8b7ac0f6738e937cdc159d4f3a15c1/pytuya-7.0.6.zip (from https://pypi.org/simple/pytuya/), version: 7.0.6 2023-09-10T23:29:32,750 Fetching project page and analyzing links: https://www.piwheels.org/simple/pytuya/ 2023-09-10T23:29:32,751 Getting page https://www.piwheels.org/simple/pytuya/ 2023-09-10T23:29:32,752 Found index url https://www.piwheels.org/simple/ 2023-09-10T23:29:33,009 Fetched page https://www.piwheels.org/simple/pytuya/ as text/html 2023-09-10T23:29:33,013 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-1.0-py3-none-any.whl#sha256=8f9c5de2b9f2ee56c89def0a19bf6d39ff1bfaf5ca06d828b8661953c81b254b (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,014 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-2.0-py3-none-any.whl#sha256=996d39387bd3f76216fcdae0539e5d620bd71ed4309cfe5f0515b22eb2f59d55 (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,015 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-3.0-py3-none-any.whl#sha256=b99f99b16e9a7dda8609a18a894ce99b190514d0285b1442549b287bf8bfedd2 (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,016 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-4.0-py3-none-any.whl#sha256=058c8efcb039e5a046ac7100a52fc191e6c8de060496b79287ebeef9cc02a60c (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,016 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-5.0-py3-none-any.whl#sha256=fb9805e5db9bc2b897623c7a6c2b560288f75ea6e1fca5bf8a86900f7f8a8f75 (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,017 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-6.0-py3-none-any.whl#sha256=4a54d18ad0642f6567d03de5544abf0ddd199b9935c1e5bb1b38dbc6bda1bd7b (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,017 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-7.0-py3-none-any.whl#sha256=4cb22ab631ab73ce72101ad0c893c2d70f9f55a14cbe33909478cae72326c9ef (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,018 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-7.0.2-py3-none-any.whl#sha256=550fce04f3a51daa727cbe2ff768971bbc15f3e22c9857136207d58de6f13380 (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,018 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-7.0.4-py3-none-any.whl#sha256=fcf4d52d871ad3741517141b6a3e9be9db87fa545fd3c75d43a43afcb17f68fe (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,019 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-7.0.5-py3-none-any.whl#sha256=02b1bb53f63b4ce7054b7ab3208578c66b5e743429937581f2a1e1c2da9ee26d (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,019 Skipping link: No binaries permitted for pytuya: https://www.piwheels.org/simple/pytuya/pytuya-7.0.6-py3-none-any.whl#sha256=d12e902d236ff1e6315c535e21b52c8dd077f445d9114dcd56cf9aefd147ed99 (from https://www.piwheels.org/simple/pytuya/) 2023-09-10T23:29:33,020 Skipping link: not a file: https://www.piwheels.org/simple/pytuya/ 2023-09-10T23:29:33,021 Skipping link: not a file: https://pypi.org/simple/pytuya/ 2023-09-10T23:29:33,040 Given no hashes to check 1 links for project 'pytuya': discarding no candidates 2023-09-10T23:29:33,058 Collecting pytuya==7.0.1 2023-09-10T23:29:33,060 Created temporary directory: /tmp/pip-unpack-sxre9408 2023-09-10T23:29:33,270 Downloading pytuya-7.0.1.zip (10 kB) 2023-09-10T23:29:33,298 Added pytuya==7.0.1 from https://files.pythonhosted.org/packages/81/7a/a77347f79ab92408acf49d48d15043fa1254405fb501f2ecc6e64f2c7ca9/pytuya-7.0.1.zip to build tracker '/tmp/pip-build-tracker-ajk5ysbk' 2023-09-10T23:29:33,300 Running setup.py (path:/tmp/pip-wheel-wtn69gxy/pytuya_5a509b563ecd4b2d887b30e80d4f18e7/setup.py) egg_info for package pytuya 2023-09-10T23:29:33,301 Created temporary directory: /tmp/pip-pip-egg-info-ke8i23f5 2023-09-10T23:29:33,302 Preparing metadata (setup.py): started 2023-09-10T23:29:33,303 Running command python setup.py egg_info 2023-09-10T23:29:33,729 Traceback (most recent call last): 2023-09-10T23:29:33,729 File "/tmp/pip-wheel-wtn69gxy/pytuya_5a509b563ecd4b2d887b30e80d4f18e7/pytuya/__init__.py", line 23, in 2023-09-10T23:29:33,730 import Crypto 2023-09-10T23:29:33,731 ModuleNotFoundError: No module named 'Crypto' 2023-09-10T23:29:33,732 During handling of the above exception, another exception occurred: 2023-09-10T23:29:33,734 Traceback (most recent call last): 2023-09-10T23:29:33,735 File "", line 2, in 2023-09-10T23:29:33,735 File "", line 34, in 2023-09-10T23:29:33,736 File "/tmp/pip-wheel-wtn69gxy/pytuya_5a509b563ecd4b2d887b30e80d4f18e7/setup.py", line 9, in 2023-09-10T23:29:33,737 import pytuya 2023-09-10T23:29:33,738 File "/tmp/pip-wheel-wtn69gxy/pytuya_5a509b563ecd4b2d887b30e80d4f18e7/pytuya/__init__.py", line 27, in 2023-09-10T23:29:33,738 import pyaes # https://github.com/ricmoo/pyaes 2023-09-10T23:29:33,739 ^^^^^^^^^^^^ 2023-09-10T23:29:33,740 ModuleNotFoundError: No module named 'pyaes' 2023-09-10T23:29:33,802 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-10T23:29:33,815 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-10T23:29:33,815 exec(compile('"'"''"'"''"'"' 2023-09-10T23:29:33,815 # This is -- a caller that pip uses to run setup.py 2023-09-10T23:29:33,815 # 2023-09-10T23:29:33,815 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-10T23:29:33,815 # import from `distutils.core` to work with newer packaging standards. 2023-09-10T23:29:33,815 # - It provides a clear error message when setuptools is not installed. 2023-09-10T23:29:33,815 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-10T23:29:33,815 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-10T23:29:33,815 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-10T23:29:33,815 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-10T23:29:33,815 import os, sys, tokenize 2023-09-10T23:29:33,815 2023-09-10T23:29:33,815 try: 2023-09-10T23:29:33,815 import setuptools 2023-09-10T23:29:33,815 except ImportError as error: 2023-09-10T23:29:33,815 print( 2023-09-10T23:29:33,815 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-10T23:29:33,815 "the build environment.", 2023-09-10T23:29:33,815 file=sys.stderr, 2023-09-10T23:29:33,815 ) 2023-09-10T23:29:33,815 sys.exit(1) 2023-09-10T23:29:33,815 2023-09-10T23:29:33,815 __file__ = %r 2023-09-10T23:29:33,815 sys.argv[0] = __file__ 2023-09-10T23:29:33,815 2023-09-10T23:29:33,815 if os.path.exists(__file__): 2023-09-10T23:29:33,815 filename = __file__ 2023-09-10T23:29:33,815 with tokenize.open(__file__) as f: 2023-09-10T23:29:33,815 setup_py_code = f.read() 2023-09-10T23:29:33,815 else: 2023-09-10T23:29:33,815 filename = "" 2023-09-10T23:29:33,815 setup_py_code = "from setuptools import setup; setup()" 2023-09-10T23:29:33,815 2023-09-10T23:29:33,815 exec(compile(setup_py_code, filename, "exec")) 2023-09-10T23:29:33,815 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-wtn69gxy/pytuya_5a509b563ecd4b2d887b30e80d4f18e7/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-ke8i23f5[/] 2023-09-10T23:29:33,816 [bold magenta]cwd[/]: /tmp/pip-wheel-wtn69gxy/pytuya_5a509b563ecd4b2d887b30e80d4f18e7/ 2023-09-10T23:29:33,816 Preparing metadata (setup.py): finished with status 'error' 2023-09-10T23:29:33,818 ERROR: [present-rich] metadata generation failed 2023-09-10T23:29:33,824 Exception information: 2023-09-10T23:29:33,824 Traceback (most recent call last): 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-10T23:29:33,824 call_subprocess( 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-10T23:29:33,824 raise error 2023-09-10T23:29:33,824 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-10T23:29:33,824 2023-09-10T23:29:33,824 The above exception was the direct cause of the following exception: 2023-09-10T23:29:33,824 2023-09-10T23:29:33,824 Traceback (most recent call last): 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-10T23:29:33,824 status = run_func(*args) 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-10T23:29:33,824 return func(self, options, args) 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-10T23:29:33,824 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-10T23:29:33,824 result = self._result = resolver.resolve( 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-10T23:29:33,824 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-10T23:29:33,824 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-10T23:29:33,824 if not criterion.candidates: 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-10T23:29:33,824 return bool(self._sequence) 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-10T23:29:33,824 return any(self) 2023-09-10T23:29:33,824 ^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-10T23:29:33,824 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-10T23:29:33,824 candidate = func() 2023-09-10T23:29:33,824 ^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-10T23:29:33,824 self._link_candidate_cache[link] = LinkCandidate( 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-10T23:29:33,824 super().__init__( 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-10T23:29:33,824 self.dist = self._prepare() 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-10T23:29:33,824 dist = self._prepare_distribution() 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-10T23:29:33,824 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-10T23:29:33,824 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-10T23:29:33,824 dist = _get_prepared_distribution( 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-10T23:29:33,824 abstract_dist.prepare_distribution_metadata( 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-10T23:29:33,824 self.req.prepare_metadata() 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-10T23:29:33,824 self.metadata_directory = generate_metadata_legacy( 2023-09-10T23:29:33,824 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T23:29:33,824 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-10T23:29:33,824 raise MetadataGenerationFailed(package_details=details) from error 2023-09-10T23:29:33,824 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-10T23:29:33,838 Removed pytuya==7.0.1 from https://files.pythonhosted.org/packages/81/7a/a77347f79ab92408acf49d48d15043fa1254405fb501f2ecc6e64f2c7ca9/pytuya-7.0.1.zip from build tracker '/tmp/pip-build-tracker-ajk5ysbk' 2023-09-10T23:29:33,839 Removed build tracker: '/tmp/pip-build-tracker-ajk5ysbk'