lintPython fails on darwin #1070

Closed
opened 2023-04-21 15:56:20 +02:00 by dacevedo12 · 0 comments
dacevedo12 commented 2023-04-21 15:56:20 +02:00 (Migrated from github.com)

For some reason it wants setuptools_scm[toml]>=6.2

these 5 derivations will be built:
  /nix/store/apjsixj3f8h7d1i799bnc7d25zv8l08c-lint-python.drv
  /nix/store/d459av97yjk2g1gq4zz3wfa7rx32wg99-make-template-for-make-search-paths.drv
  /nix/store/lbsa4va8154lsyxrnry6p2g854651plk-make-template-for-make-search-paths.drv
  /nix/store/isp52ivapdws7chghznhhak8lh0r25kc-make-template-for-make-search-paths.drv
  /nix/store/js3999189lvhw5s273rgvrn4zp1vq9a2-lint-python-module-for-app.drv
building '/nix/store/d459av97yjk2g1gq4zz3wfa7rx32wg99-make-template-for-make-search-paths.drv'...
building '/nix/store/apjsixj3f8h7d1i799bnc7d25zv8l08c-lint-python.drv'...
Looking in indexes: file:///private/tmp/nix-build-lint-python.drv-0/mirror
Requirement already satisfied: pip in /nix/store/6c7p1rn1ww824hidxrlx9vrdmnypq76k-lint-python/lib/python3.11/site-packages (22.3.1)
Looking in indexes: file:///private/tmp/nix-build-lint-python.drv-0/mirror
Processing ./mirror/astroid/astroid-2.12.13-py3-none-any.whl
Processing ./mirror/colorama/colorama-0.4.6-py2.py3-none-any.whl
Processing ./mirror/dill/dill-0.3.6-py3-none-any.whl
Processing ./mirror/dodgy/dodgy-0.2.1-py3-none-any.whl
Processing ./mirror/flake8/flake8-2.3.0-py2.py3-none-any.whl
Processing ./mirror/flake8-polyfill/flake8_polyfill-1.0.2-py2.py3-none-any.whl
Processing ./mirror/gitdb/gitdb-4.0.10-py3-none-any.whl
Processing ./mirror/gitpython/GitPython-3.1.30-py3-none-any.whl
Processing ./mirror/isort/isort-5.11.4-py3-none-any.whl
Processing ./mirror/lazy-object-proxy/lazy-object-proxy-1.9.0.tar.gz
  Installing build dependencies ... error
  error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      Looking in indexes: file:///private/tmp/nix-build-lint-python.drv-0/mirror
      Processing ./mirror/wheel/wheel-0.37.0-py2.py3-none-any.whl
      Processing ./mirror/setuptools/setuptools-57.4.0-py3-none-any.whl
      ERROR: Could not find a version that satisfies the requirement setuptools_scm[toml]>=6.2 (from versions: 5.0.2)
      ERROR: No matching distribution found for setuptools_scm[toml]>=6.2
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

error: builder for '/nix/store/apjsixj3f8h7d1i799bnc7d25zv8l08c-lint-python.drv' failed with exit code 1;
       last 10 log lines:
       >
       >   note: This error originates from a subprocess, and is likely not a problem with pip.
       > error: subprocess-exited-with-error
       >
       > × pip subprocess to install build dependencies did not run successfully.
       > │ exit code: 1
       > ╰─> See above for output.
       >
       > note: This error originates from a subprocess, and is likely not a problem with pip.
       > 
       For full logs, run 'nix log /nix/store/apjsixj3f8h7d1i799bnc7d25zv8l08c-lint-python.drv'.
error: 1 dependencies of derivation '/nix/store/lbsa4va8154lsyxrnry6p2g854651plk-make-template-for-make-search-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/isp52ivapdws7chghznhhak8lh0r25kc-make-template-for-make-search-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/js3999189lvhw5s273rgvrn4zp1vq9a2-lint-python-module-for-app.drv' failed to build
For some reason it wants setuptools_scm[toml]>=6.2 ``` these 5 derivations will be built: /nix/store/apjsixj3f8h7d1i799bnc7d25zv8l08c-lint-python.drv /nix/store/d459av97yjk2g1gq4zz3wfa7rx32wg99-make-template-for-make-search-paths.drv /nix/store/lbsa4va8154lsyxrnry6p2g854651plk-make-template-for-make-search-paths.drv /nix/store/isp52ivapdws7chghznhhak8lh0r25kc-make-template-for-make-search-paths.drv /nix/store/js3999189lvhw5s273rgvrn4zp1vq9a2-lint-python-module-for-app.drv building '/nix/store/d459av97yjk2g1gq4zz3wfa7rx32wg99-make-template-for-make-search-paths.drv'... building '/nix/store/apjsixj3f8h7d1i799bnc7d25zv8l08c-lint-python.drv'... Looking in indexes: file:///private/tmp/nix-build-lint-python.drv-0/mirror Requirement already satisfied: pip in /nix/store/6c7p1rn1ww824hidxrlx9vrdmnypq76k-lint-python/lib/python3.11/site-packages (22.3.1) Looking in indexes: file:///private/tmp/nix-build-lint-python.drv-0/mirror Processing ./mirror/astroid/astroid-2.12.13-py3-none-any.whl Processing ./mirror/colorama/colorama-0.4.6-py2.py3-none-any.whl Processing ./mirror/dill/dill-0.3.6-py3-none-any.whl Processing ./mirror/dodgy/dodgy-0.2.1-py3-none-any.whl Processing ./mirror/flake8/flake8-2.3.0-py2.py3-none-any.whl Processing ./mirror/flake8-polyfill/flake8_polyfill-1.0.2-py2.py3-none-any.whl Processing ./mirror/gitdb/gitdb-4.0.10-py3-none-any.whl Processing ./mirror/gitpython/GitPython-3.1.30-py3-none-any.whl Processing ./mirror/isort/isort-5.11.4-py3-none-any.whl Processing ./mirror/lazy-object-proxy/lazy-object-proxy-1.9.0.tar.gz Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [5 lines of output] Looking in indexes: file:///private/tmp/nix-build-lint-python.drv-0/mirror Processing ./mirror/wheel/wheel-0.37.0-py2.py3-none-any.whl Processing ./mirror/setuptools/setuptools-57.4.0-py3-none-any.whl ERROR: Could not find a version that satisfies the requirement setuptools_scm[toml]>=6.2 (from versions: 5.0.2) ERROR: No matching distribution found for setuptools_scm[toml]>=6.2 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. error: builder for '/nix/store/apjsixj3f8h7d1i799bnc7d25zv8l08c-lint-python.drv' failed with exit code 1; last 10 log lines: > > note: This error originates from a subprocess, and is likely not a problem with pip. > error: subprocess-exited-with-error > > × pip subprocess to install build dependencies did not run successfully. > │ exit code: 1 > ╰─> See above for output. > > note: This error originates from a subprocess, and is likely not a problem with pip. > For full logs, run 'nix log /nix/store/apjsixj3f8h7d1i799bnc7d25zv8l08c-lint-python.drv'. error: 1 dependencies of derivation '/nix/store/lbsa4va8154lsyxrnry6p2g854651plk-make-template-for-make-search-paths.drv' failed to build error: 1 dependencies of derivation '/nix/store/isp52ivapdws7chghznhhak8lh0r25kc-make-template-for-make-search-paths.drv' failed to build error: 1 dependencies of derivation '/nix/store/js3999189lvhw5s273rgvrn4zp1vq9a2-lint-python-module-for-app.drv' failed to build ```
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
justin/makes#1070
No description provided.