Skip to content

Instantly share code, notes, and snippets.

@khaneliman
Created November 8, 2024 03:16
Show Gist options
  • Save khaneliman/323a3f59b62928a9f68e93456e0f06e1 to your computer and use it in GitHub Desktop.
Save khaneliman/323a3f59b62928a9f68e93456e0f06e1 to your computer and use it in GitHub Desktop.
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Using pytestCheckPhase
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/af9wshvv61fb878zyp6s5w0qy7nlgs33-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tox.ini
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing setuptoolsBuildPhase
setup.py:9: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated.
!!
********************************************************************************
Please remove any references to `setuptools.command.test` in all supported versions of the affected package.
By 2024-Nov-15, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
********************************************************************************
!!
from setuptools.command.test import test as TestCommand
/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
/nix/store/k07bkf79yb122qa1hkh3nis7q3zim3b6-python3-3.11.10/bin/python3.11: No module named pip
Traceback (most recent call last):
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/setuptools/installer.py", line 102, in _fetch_build_egg_no_warn
subprocess.check_call(cmd)
File "/nix/store/k07bkf79yb122qa1hkh3nis7q3zim3b6-python3-3.11.10/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/k07bkf79yb122qa1hkh3nis7q3zim3b6-python3-3.11.10/bin/python3.11', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/private/tmp/nix-build-python3.11-clickclick-20.10.2.drv-0/tmpg8c6x_6y', '--quiet', 'flake8']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/private/tmp/nix-build-python3.11-clickclick-20.10.2.drv-0/source/nix_run_setup", line 8, in <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 157, in <module>
setup_package()
File "setup.py", line 133, in setup_package
setup(
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/setuptools/__init__.py", line 116, in setup
_install_setup_requires(attrs)
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/setuptools/__init__.py", line 89, in _install_setup_requires
_fetch_build_eggs(dist)
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/setuptools/__init__.py", line 94, in _fetch_build_eggs
dist.fetch_build_eggs(dist.setup_requires)
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/setuptools/dist.py", line 617, in fetch_build_eggs
return _fetch_build_eggs(self, requires)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/pkg_resources/__init__.py", line 897, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/pkg_resources/__init__.py", line 933, in _resolve_dist
dist = best[req.key] = env.best_match(
^^^^^^^^^^^^^^^
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1271, in best_match
return self.obtain(req, installer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1307, in obtain
return installer(requirement) if installer else None
^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/q4k06pvl06w4lyq5347yrsxn9491gyzw-python3.11-setuptools-75.1.0/lib/python3.11/site-packages/setuptools/installer.py", line 104, in _fetch_build_egg_no_warn
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/nix/store/k07bkf79yb122qa1hkh3nis7q3zim3b6-python3-3.11.10/bin/python3.11', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/private/tmp/nix-build-python3.11-clickclick-20.10.2.drv-0/tmpg8c6x_6y', '--quiet', 'flake8']' returned non-zero exit status 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment