2025-09-09T22:37:33,571 Created temporary directory: /tmp/pip-build-tracker-346su_tm 2025-09-09T22:37:33,572 Initialized build tracking at /tmp/pip-build-tracker-346su_tm 2025-09-09T22:37:33,572 Created build tracker: /tmp/pip-build-tracker-346su_tm 2025-09-09T22:37:33,572 Entered build tracker: /tmp/pip-build-tracker-346su_tm 2025-09-09T22:37:33,572 Created temporary directory: /tmp/pip-wheel-gd_0gmsz 2025-09-09T22:37:33,576 Created temporary directory: /tmp/pip-ephem-wheel-cache-e297thom 2025-09-09T22:37:33,633 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-09T22:37:33,635 2 location(s) to search for versions of juju-api: 2025-09-09T22:37:33,635 * https://pypi.org/simple/juju-api/ 2025-09-09T22:37:33,635 * https://www.piwheels.org/simple/juju-api/ 2025-09-09T22:37:33,636 Fetching project page and analyzing links: https://pypi.org/simple/juju-api/ 2025-09-09T22:37:33,636 Getting page https://pypi.org/simple/juju-api/ 2025-09-09T22:37:33,637 Found index url https://pypi.org/simple/ 2025-09-09T22:37:33,785 Fetched page https://pypi.org/simple/juju-api/ as application/vnd.pypi.simple.v1+json 2025-09-09T22:37:33,786 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 2025-09-09T22:37:33,787 Fetching project page and analyzing links: https://www.piwheels.org/simple/juju-api/ 2025-09-09T22:37:33,787 Getting page https://www.piwheels.org/simple/juju-api/ 2025-09-09T22:37:33,789 Found index url https://www.piwheels.org/simple/ 2025-09-09T22:37:33,893 Fetched page https://www.piwheels.org/simple/juju-api/ as text/html 2025-09-09T22:37:33,894 Skipping link: not a file: https://www.piwheels.org/simple/juju-api/ 2025-09-09T22:37:33,894 Skipping link: not a file: https://pypi.org/simple/juju-api/ 2025-09-09T22:37:33,920 Given no hashes to check 1 links for project 'juju-api': discarding no candidates 2025-09-09T22:37:33,922 Collecting juju-api==1.0.0 2025-09-09T22:37:33,923 Created temporary directory: /tmp/pip-unpack-t9nbsogi 2025-09-09T22:37:34,064 Downloading juju-api-1.0.0.tar.gz (922 bytes) 2025-09-09T22:37:34,080 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-346su_tm' 2025-09-09T22:37:34,082 Running setup.py (path:/tmp/pip-wheel-gd_0gmsz/juju-api_85dce902ac704f19b3623a1a843c92b8/setup.py) egg_info for package juju-api 2025-09-09T22:37:34,083 Created temporary directory: /tmp/pip-pip-egg-info-jvvohbhp 2025-09-09T22:37:34,084 Preparing metadata (setup.py): started 2025-09-09T22:37:34,085 Running command python setup.py egg_info 2025-09-09T22:37:35,588 Preparing metadata (setup.py): finished with status 'done' 2025-09-09T22:37:35,592 Source in /tmp/pip-wheel-gd_0gmsz/juju-api_85dce902ac704f19b3623a1a843c92b8 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 2025-09-09T22:37:35,593 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-346su_tm' 2025-09-09T22:37:35,596 Created temporary directory: /tmp/pip-unpack-kn3t6i7t 2025-09-09T22:37:35,597 Created temporary directory: /tmp/pip-unpack-3_slu2tf 2025-09-09T22:37:35,597 Building wheels for collected packages: juju-api 2025-09-09T22:37:35,598 Created temporary directory: /tmp/pip-wheel-bp_sxma8 2025-09-09T22:37:35,598 DEPRECATION: Building 'juju-api' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'juju-api'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-09T22:37:35,600 Building wheel for juju-api (setup.py): started 2025-09-09T22:37:35,600 Destination directory: /tmp/pip-wheel-bp_sxma8 2025-09-09T22:37:35,600 Running command python setup.py bdist_wheel 2025-09-09T22:37:37,098 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2025-09-09T22:37:37,098 !! 2025-09-09T22:37:37,099 ******************************************************************************** 2025-09-09T22:37:37,099 Please avoid running ``setup.py`` directly. 2025-09-09T22:37:37,099 Instead, use pypa/build, pypa/installer or other 2025-09-09T22:37:37,099 standards-based tools. 2025-09-09T22:37:37,099 By 2025-Oct-31, you need to update your project and remove deprecated calls 2025-09-09T22:37:37,099 or your builds will no longer be supported. 2025-09-09T22:37:37,099 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2025-09-09T22:37:37,100 ******************************************************************************** 2025-09-09T22:37:37,100 !! 2025-09-09T22:37:37,100 self.initialize_options() 2025-09-09T22:37:37,349 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' 2025-09-09T22:37:37,350 error: can't copy 'tool/random_tool.py': doesn't exist or not a regular file 2025-09-09T22:37:37,462 ERROR: python setup.py bdist_wheel exited with 1 2025-09-09T22:37:37,474 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-09T22:37:37,474 exec(compile('"'"''"'"''"'"' 2025-09-09T22:37:37,474 # This is -- a caller that pip uses to run setup.py 2025-09-09T22:37:37,474 # 2025-09-09T22:37:37,474 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-09T22:37:37,474 # import from `distutils.core` to work with newer packaging standards. 2025-09-09T22:37:37,474 # - It provides a clear error message when setuptools is not installed. 2025-09-09T22:37:37,474 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-09T22:37:37,474 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-09T22:37:37,474 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-09T22:37:37,474 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-09T22:37:37,474 import os, sys, tokenize, traceback 2025-09-09T22:37:37,474 2025-09-09T22:37:37,474 try: 2025-09-09T22:37:37,474 import setuptools 2025-09-09T22:37:37,474 except ImportError: 2025-09-09T22:37:37,474 print( 2025-09-09T22:37:37,474 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-09T22:37:37,474 "the build environment with exception:", 2025-09-09T22:37:37,474 file=sys.stderr, 2025-09-09T22:37:37,474 ) 2025-09-09T22:37:37,474 traceback.print_exc() 2025-09-09T22:37:37,474 sys.exit(1) 2025-09-09T22:37:37,474 2025-09-09T22:37:37,474 __file__ = %r 2025-09-09T22:37:37,474 sys.argv[0] = __file__ 2025-09-09T22:37:37,474 2025-09-09T22:37:37,474 if os.path.exists(__file__): 2025-09-09T22:37:37,474 filename = __file__ 2025-09-09T22:37:37,474 with tokenize.open(__file__) as f: 2025-09-09T22:37:37,474 setup_py_code = f.read() 2025-09-09T22:37:37,474 else: 2025-09-09T22:37:37,474 filename = "" 2025-09-09T22:37:37,474 setup_py_code = "from setuptools import setup; setup()" 2025-09-09T22:37:37,474 2025-09-09T22:37:37,474 exec(compile(setup_py_code, filename, "exec")) 2025-09-09T22:37:37,474 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-gd_0gmsz/juju-api_85dce902ac704f19b3623a1a843c92b8/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-bp_sxma8[/] 2025-09-09T22:37:37,474 [bold magenta]cwd[/]: /tmp/pip-wheel-gd_0gmsz/juju-api_85dce902ac704f19b3623a1a843c92b8/ 2025-09-09T22:37:37,474 Building wheel for juju-api (setup.py): finished with status 'error' 2025-09-09T22:37:37,475 ERROR: Failed building wheel for juju-api 2025-09-09T22:37:37,476 Running setup.py clean for juju-api 2025-09-09T22:37:37,476 Running command python setup.py clean 2025-09-09T22:37:38,682 'build/scripts-3.13' does not exist -- can't clean it 2025-09-09T22:37:38,794 Failed to build juju-api 2025-09-09T22:37:38,795 ERROR: Failed to build one or more wheels 2025-09-09T22:37:38,796 Exception information: 2025-09-09T22:37:38,796 Traceback (most recent call last): 2025-09-09T22:37:38,796 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-09T22:37:38,796 status = _inner_run() 2025-09-09T22:37:38,796 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-09T22:37:38,796 return self.run(options, args) 2025-09-09T22:37:38,796 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-09T22:37:38,796 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-09T22:37:38,796 return func(self, options, args) 2025-09-09T22:37:38,796 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-09T22:37:38,796 raise CommandError("Failed to build one or more wheels") 2025-09-09T22:37:38,796 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-09T22:37:38,800 Removed build tracker: '/tmp/pip-build-tracker-346su_tm'