2023-09-15T03:12:03,318 Created temporary directory: /tmp/pip-build-tracker-0ti_8dxh 2023-09-15T03:12:03,319 Initialized build tracking at /tmp/pip-build-tracker-0ti_8dxh 2023-09-15T03:12:03,319 Created build tracker: /tmp/pip-build-tracker-0ti_8dxh 2023-09-15T03:12:03,320 Entered build tracker: /tmp/pip-build-tracker-0ti_8dxh 2023-09-15T03:12:03,321 Created temporary directory: /tmp/pip-wheel-kk6zrwwu 2023-09-15T03:12:03,324 Created temporary directory: /tmp/pip-ephem-wheel-cache-t5q9b7sd 2023-09-15T03:12:03,345 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-15T03:12:03,349 2 location(s) to search for versions of juju-api: 2023-09-15T03:12:03,349 * https://pypi.org/simple/juju-api/ 2023-09-15T03:12:03,349 * https://www.piwheels.org/simple/juju-api/ 2023-09-15T03:12:03,350 Fetching project page and analyzing links: https://pypi.org/simple/juju-api/ 2023-09-15T03:12:03,351 Getting page https://pypi.org/simple/juju-api/ 2023-09-15T03:12:03,352 Found index url https://pypi.org/simple/ 2023-09-15T03:12:03,614 Fetched page https://pypi.org/simple/juju-api/ as application/vnd.pypi.simple.v1+json 2023-09-15T03:12:03,615 Found link https://files.pythonhosted.org/packages/96/65/7d0b326c306d67978f2dfc19dbe48645df5437d75bf8c79a8a4ef5eeae19/juju-api-1.0.0.tar.gz (from https://pypi.org/simple/juju-api/), version: 1.0.0 2023-09-15T03:12:03,616 Fetching project page and analyzing links: https://www.piwheels.org/simple/juju-api/ 2023-09-15T03:12:03,616 Getting page https://www.piwheels.org/simple/juju-api/ 2023-09-15T03:12:03,617 Found index url https://www.piwheels.org/simple/ 2023-09-15T03:12:03,928 Fetched page https://www.piwheels.org/simple/juju-api/ as text/html 2023-09-15T03:12:03,930 Skipping link: not a file: https://www.piwheels.org/simple/juju-api/ 2023-09-15T03:12:03,930 Skipping link: not a file: https://pypi.org/simple/juju-api/ 2023-09-15T03:12:03,957 Given no hashes to check 1 links for project 'juju-api': discarding no candidates 2023-09-15T03:12:03,983 Collecting juju-api==1.0.0 2023-09-15T03:12:03,986 Created temporary directory: /tmp/pip-unpack-om3n3_wo 2023-09-15T03:12:04,207 Downloading juju-api-1.0.0.tar.gz (922 bytes) 2023-09-15T03:12:04,221 Added juju-api==1.0.0 from https://files.pythonhosted.org/packages/96/65/7d0b326c306d67978f2dfc19dbe48645df5437d75bf8c79a8a4ef5eeae19/juju-api-1.0.0.tar.gz to build tracker '/tmp/pip-build-tracker-0ti_8dxh' 2023-09-15T03:12:04,223 Running setup.py (path:/tmp/pip-wheel-kk6zrwwu/juju-api_eba73b1dc7d946ac9d13f5370be9b803/setup.py) egg_info for package juju-api 2023-09-15T03:12:04,224 Created temporary directory: /tmp/pip-pip-egg-info-stdk678n 2023-09-15T03:12:04,224 Preparing metadata (setup.py): started 2023-09-15T03:12:04,226 Running command python setup.py egg_info 2023-09-15T03:12:04,868 Preparing metadata (setup.py): finished with status 'done' 2023-09-15T03:12:04,872 Source in /tmp/pip-wheel-kk6zrwwu/juju-api_eba73b1dc7d946ac9d13f5370be9b803 has version 1.0.0, which satisfies requirement juju-api==1.0.0 from https://files.pythonhosted.org/packages/96/65/7d0b326c306d67978f2dfc19dbe48645df5437d75bf8c79a8a4ef5eeae19/juju-api-1.0.0.tar.gz 2023-09-15T03:12:04,873 Removed juju-api==1.0.0 from https://files.pythonhosted.org/packages/96/65/7d0b326c306d67978f2dfc19dbe48645df5437d75bf8c79a8a4ef5eeae19/juju-api-1.0.0.tar.gz from build tracker '/tmp/pip-build-tracker-0ti_8dxh' 2023-09-15T03:12:04,877 Created temporary directory: /tmp/pip-unpack-r6v9ford 2023-09-15T03:12:04,879 Created temporary directory: /tmp/pip-unpack-xpspg3p7 2023-09-15T03:12:04,884 Building wheels for collected packages: juju-api 2023-09-15T03:12:04,888 Created temporary directory: /tmp/pip-wheel-a3aah6dz 2023-09-15T03:12:04,888 Building wheel for juju-api (setup.py): started 2023-09-15T03:12:04,890 Destination directory: /tmp/pip-wheel-a3aah6dz 2023-09-15T03:12:04,890 Running command python setup.py bdist_wheel 2023-09-15T03:12:05,723 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-09-15T03:12:05,723 !! 2023-09-15T03:12:05,725 ******************************************************************************** 2023-09-15T03:12:05,725 Please avoid running ``setup.py`` directly. 2023-09-15T03:12:05,726 Instead, use pypa/build, pypa/installer or other 2023-09-15T03:12:05,726 standards-based tools. 2023-09-15T03:12:05,727 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-09-15T03:12:05,727 ******************************************************************************** 2023-09-15T03:12:05,728 !! 2023-09-15T03:12:05,729 self.initialize_options() 2023-09-15T03:12:05,813 warning: install_data: setup script did not provide a directory for 'tool/random_tool.py' -- installing right in 'build/bdist.linux-armv7l/wheel/juju_api-1.0.0.data/data' 2023-09-15T03:12:05,814 error: can't copy 'tool/random_tool.py': doesn't exist or not a regular file 2023-09-15T03:12:05,903 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-15T03:12:05,916 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-15T03:12:05,916 exec(compile('"'"''"'"''"'"' 2023-09-15T03:12:05,916 # This is -- a caller that pip uses to run setup.py 2023-09-15T03:12:05,916 # 2023-09-15T03:12:05,916 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-15T03:12:05,916 # import from `distutils.core` to work with newer packaging standards. 2023-09-15T03:12:05,916 # - It provides a clear error message when setuptools is not installed. 2023-09-15T03:12:05,916 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-15T03:12:05,916 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-15T03:12:05,916 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-15T03:12:05,916 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-15T03:12:05,916 import os, sys, tokenize 2023-09-15T03:12:05,916 2023-09-15T03:12:05,916 try: 2023-09-15T03:12:05,916 import setuptools 2023-09-15T03:12:05,916 except ImportError as error: 2023-09-15T03:12:05,916 print( 2023-09-15T03:12:05,916 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-15T03:12:05,916 "the build environment.", 2023-09-15T03:12:05,916 file=sys.stderr, 2023-09-15T03:12:05,916 ) 2023-09-15T03:12:05,916 sys.exit(1) 2023-09-15T03:12:05,916 2023-09-15T03:12:05,916 __file__ = %r 2023-09-15T03:12:05,916 sys.argv[0] = __file__ 2023-09-15T03:12:05,916 2023-09-15T03:12:05,916 if os.path.exists(__file__): 2023-09-15T03:12:05,916 filename = __file__ 2023-09-15T03:12:05,916 with tokenize.open(__file__) as f: 2023-09-15T03:12:05,916 setup_py_code = f.read() 2023-09-15T03:12:05,916 else: 2023-09-15T03:12:05,916 filename = "" 2023-09-15T03:12:05,916 setup_py_code = "from setuptools import setup; setup()" 2023-09-15T03:12:05,916 2023-09-15T03:12:05,916 exec(compile(setup_py_code, filename, "exec")) 2023-09-15T03:12:05,916 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-kk6zrwwu/juju-api_eba73b1dc7d946ac9d13f5370be9b803/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-a3aah6dz[/] 2023-09-15T03:12:05,917 [bold magenta]cwd[/]: /tmp/pip-wheel-kk6zrwwu/juju-api_eba73b1dc7d946ac9d13f5370be9b803/ 2023-09-15T03:12:05,917 Building wheel for juju-api (setup.py): finished with status 'error' 2023-09-15T03:12:05,918 ERROR: Failed building wheel for juju-api 2023-09-15T03:12:05,920 Running setup.py clean for juju-api 2023-09-15T03:12:05,921 Running command python setup.py clean 2023-09-15T03:12:06,441 'build/scripts-3.11' does not exist -- can't clean it 2023-09-15T03:12:06,512 Failed to build juju-api 2023-09-15T03:12:06,513 ERROR: Failed to build one or more wheels 2023-09-15T03:12:06,515 Exception information: 2023-09-15T03:12:06,515 Traceback (most recent call last): 2023-09-15T03:12:06,515 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-15T03:12:06,515 status = run_func(*args) 2023-09-15T03:12:06,515 ^^^^^^^^^^^^^^^ 2023-09-15T03:12:06,515 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-15T03:12:06,515 return func(self, options, args) 2023-09-15T03:12:06,515 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-15T03:12:06,515 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-15T03:12:06,515 raise CommandError("Failed to build one or more wheels") 2023-09-15T03:12:06,515 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-15T03:12:06,518 Removed build tracker: '/tmp/pip-build-tracker-0ti_8dxh'