Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot install codecov-cli #582

Open
superlopuh opened this issue Jan 7, 2025 · 0 comments
Open

cannot install codecov-cli #582

superlopuh opened this issue Jan 7, 2025 · 0 comments
Assignees
Labels
Area: Report Upload Issues with pre-ingest report uploading Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months

Comments

@superlopuh
Copy link

Something fails in the build process, when installing codecov-cli with uv

uv version: uv 0.5.13 (Homebrew 2024-12-27)
Python version: Python 3.12.7
clang++ version:

Homebrew clang version 19.1.5
Target: arm64-apple-darwin24.2.0
Thread model: posix
InstalledDir: /opt/homebrew/Cellar/llvm/19.1.5/bin
Configuration file: /opt/homebrew/etc/clang/arm64-apple-darwin24.cfg

Mac sw_vers:

ProductName:            macOS
ProductVersion:         15.2
BuildVersion:           24C101

Error message:

Resolved 151 packages in 1ms
  × Failed to build `codecov-cli==9.1.1`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)

      [stdout]
      running bdist_wheel
      running build
      running build_py
      copying codecov_cli/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli
      copying codecov_cli/types.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli
      copying codecov_cli/fallbacks.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli
      copying codecov_cli/main.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli
      copying codecov_cli/plugins/xcode.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/plugins
      copying codecov_cli/plugins/compress_pycoverage_contexts.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/plugins
      copying codecov_cli/plugins/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/plugins
      copying codecov_cli/plugins/types.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/plugins
      copying codecov_cli/plugins/pycoverage.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/plugins
      copying codecov_cli/plugins/gcov.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/plugins
      copying codecov_cli/runners/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/runners
      copying codecov_cli/runners/types.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/runners
      copying codecov_cli/runners/dan_runner.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/runners
      copying codecov_cli/runners/pytest_standard_runner.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/runners
      copying codecov_cli/commands/create_report_result.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/process_test_results.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/base_picking.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/upload.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/upload_process.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/commit.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/staticanalysis.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/labelanalysis.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/get_report_results.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/empty_upload.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/report.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/send_notifications.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/commands/upload_coverage.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/commands
      copying codecov_cli/helpers/options.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/git.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/config.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/versioning_systems.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/validators.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/request.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/encoder.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/folder_searcher.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/args.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/helpers/logging_utils.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers
      copying codecov_cli/services/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services
      copying codecov_cli/helpers/git_services/__init__.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/git_services
      copying codecov_cli/helpers/git_services/github.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/git_services
      copying codecov_cli/helpers/ci_adapters/gitlab_ci.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/local.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/cloudbuild.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/cirrus_ci.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/azure_pipelines.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/github_actions.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/bitbucket_ci.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/codebuild.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/teamcity.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/woodpeckerci.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/heroku.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/jenkins.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/bitrise_ci.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/buildkite.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/droneci.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/circleci.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/appveyor_ci.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/travis_ci.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/helpers/ci_adapters/base.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/helpers/ci_adapters
      copying codecov_cli/services/commit/base_picking.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/commit
      copying codecov_cli/services/commit/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/commit
      copying codecov_cli/services/empty_upload/__init__.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/empty_upload
      copying codecov_cli/services/upload_completion/__init__.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/upload_completion
      copying codecov_cli/services/upload_coverage/__init__.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/upload_coverage
      copying codecov_cli/services/staticanalysis/finders.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis
      copying codecov_cli/services/staticanalysis/__init__.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis
      copying codecov_cli/services/staticanalysis/types.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis
      copying codecov_cli/services/staticanalysis/exceptions.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis
      copying codecov_cli/services/report/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/report
      copying codecov_cli/services/upload/upload_sender.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/upload
      copying codecov_cli/services/upload/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/upload
      copying codecov_cli/services/upload/upload_collector.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/upload
      copying codecov_cli/services/upload/network_finder.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/upload
      copying codecov_cli/services/upload/legacy_upload_sender.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/upload
      copying codecov_cli/services/upload/file_finder.py -> build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/upload
      copying codecov_cli/services/staticanalysis/analyzers/__init__.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis/analyzers
      copying codecov_cli/services/staticanalysis/analyzers/general.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis/analyzers
      copying codecov_cli/services/staticanalysis/analyzers/python/node_wrappers.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis/analyzers/python
      copying codecov_cli/services/staticanalysis/analyzers/python/__init__.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis/analyzers/python
      copying codecov_cli/services/staticanalysis/analyzers/javascript_es6/node_wrappers.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis/analyzers/javascript_es6
      copying codecov_cli/services/staticanalysis/analyzers/javascript_es6/__init__.py ->
      build/lib.macosx-11.0-arm64-cpython-312/codecov_cli/services/staticanalysis/analyzers/javascript_es6
      running build_ext
      building 'staticcodecov_languages' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch arm64
      -mmacosx-version-min=11.0 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC
      -Werror=unguarded-availability-new -I/opt/homebrew/opt/llvm/include -Ilanguages/treesitterpython/src
      -Ilanguages/treesitterjavascript/src -Ilanguages/treesitterjavascript/src/tree_sitter
      -Ilanguages/treesitterpython/src/tree_sitter -I/Users/sasha/.cache/uv/builds-v0/.tmpqNtPXe/include
      -I/Users/sasha/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/include/python3.12 -c languages/languages.c -o
      build/temp.macosx-11.0-arm64-cpython-312/languages/languages.o -Wno-unused-variable
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch arm64
      -mmacosx-version-min=11.0 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC
      -Werror=unguarded-availability-new -I/opt/homebrew/opt/llvm/include -Ilanguages/treesitterpython/src
      -Ilanguages/treesitterjavascript/src -Ilanguages/treesitterjavascript/src/tree_sitter
      -Ilanguages/treesitterpython/src/tree_sitter -I/Users/sasha/.cache/uv/builds-v0/.tmpqNtPXe/include
      -I/Users/sasha/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/include/python3.12
      -c languages/treesitterjavascript/src/parser.c -o
      build/temp.macosx-11.0-arm64-cpython-312/languages/treesitterjavascript/src/parser.o -Wno-unused-variable
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch arm64
      -mmacosx-version-min=11.0 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC
      -Werror=unguarded-availability-new -I/opt/homebrew/opt/llvm/include -Ilanguages/treesitterpython/src
      -Ilanguages/treesitterjavascript/src -Ilanguages/treesitterjavascript/src/tree_sitter
      -Ilanguages/treesitterpython/src/tree_sitter -I/Users/sasha/.cache/uv/builds-v0/.tmpqNtPXe/include
      -I/Users/sasha/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/include/python3.12
      -c languages/treesitterjavascript/src/scanner.c -o
      build/temp.macosx-11.0-arm64-cpython-312/languages/treesitterjavascript/src/scanner.o -Wno-unused-variable
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch arm64
      -mmacosx-version-min=11.0 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC
      -Werror=unguarded-availability-new -I/opt/homebrew/opt/llvm/include -Ilanguages/treesitterpython/src
      -Ilanguages/treesitterjavascript/src -Ilanguages/treesitterjavascript/src/tree_sitter
      -Ilanguages/treesitterpython/src/tree_sitter -I/Users/sasha/.cache/uv/builds-v0/.tmpqNtPXe/include
      -I/Users/sasha/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/include/python3.12 -c
      languages/treesitterpython/src/parser.c -o build/temp.macosx-11.0-arm64-cpython-312/languages/treesitterpython/src/parser.o
      -Wno-unused-variable
      clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch arm64
      -mmacosx-version-min=11.0 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC
      -Werror=unguarded-availability-new -I/opt/homebrew/opt/llvm/include -Ilanguages/treesitterpython/src
      -Ilanguages/treesitterjavascript/src -Ilanguages/treesitterjavascript/src/tree_sitter
      -Ilanguages/treesitterpython/src/tree_sitter -I/Users/sasha/.cache/uv/builds-v0/.tmpqNtPXe/include
      -I/Users/sasha/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/include/python3.12 -c
      languages/treesitterpython/src/scanner.cc -o build/temp.macosx-11.0-arm64-cpython-312/languages/treesitterpython/src/scanner.o
      -Wno-unused-variable
      clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch arm64 -mmacosx-version-min=11.0
      -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC -Werror=unguarded-availability-new
      -I/opt/homebrew/opt/llvm/include -bundle -undefined dynamic_lookup -arch arm64 -mmacosx-version-min=11.0 -isysroot
      /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -LModules/_hacl
      -L/opt/homebrew/opt/llvm/lib -I/opt/homebrew/opt/llvm/include build/temp.macosx-11.0-arm64-cpython-312/languages/languages.o
      build/temp.macosx-11.0-arm64-cpython-312/languages/treesitterjavascript/src/parser.o
      build/temp.macosx-11.0-arm64-cpython-312/languages/treesitterjavascript/src/scanner.o
      build/temp.macosx-11.0-arm64-cpython-312/languages/treesitterpython/src/parser.o
      build/temp.macosx-11.0-arm64-cpython-312/languages/treesitterpython/src/scanner.o -L/install/lib -o
      build/lib.macosx-11.0-arm64-cpython-312/staticcodecov_languages.cpython-312-darwin.so

      [stderr]
      languages/languages.c:6:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
          6 |   NULL
            |   ^~~~
            |   {   }
      /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/_types/_null.h:49:15: note: expanded from macro 'NULL'
         49 | #define NULL  __DARWIN_NULL
            |               ^~~~~~~~~~~~~
      /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/_types.h:64:23: note: expanded from macro
      '__DARWIN_NULL'
         64 | #define __DARWIN_NULL ((void *)0)
            |                       ^~~~~~~~~~~
      1 warning generated.
      languages/treesitterjavascript/src/parser.c:3852:3: warning: variable 'eof' set but not used [-Wunused-but-set-variable]
       3852 |   START_LEXER();
            |   ^
      languages/treesitterpython/src/tree_sitter/parser.h:136:8: note: expanded from macro 'START_LEXER'
        136 |   bool eof = false;             \
            |        ^
      1 warning generated.
      languages/treesitterpython/src/parser.c:5049:3: warning: variable 'eof' set but not used [-Wunused-but-set-variable]
       5049 |   START_LEXER();
            |   ^
      languages/treesitterpython/src/tree_sitter/parser.h:136:8: note: expanded from macro 'START_LEXER'
        136 |   bool eof = false;             \
            |        ^
      1 warning generated.
      Compiling with an SDK that doesn't seem to exist:
      /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
      Please check your Xcode installation
      clang++: warning: no such sysroot directory:
      '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk'
      [-Wmissing-sysroot]
      ld: warning: search path 'Modules/_hacl' not found
      ld: warning: search path '/install/lib' not found
      ld: library 'c++' not found
      clang++: error: linker command failed with exit code 1 (use -v to see invocation)
      error: command '/opt/homebrew/opt/llvm/bin/clang++' failed with exit code 1

      hint: This usually indicates a problem with the package or the build environment.
  help: `codecov-cli` (v9.1.1) was included because `xdsl[codecov]` (v0+dynamic) depends on `codecov-cli`
@thomasrockhu-codecov thomasrockhu-codecov self-assigned this Jan 7, 2025
@thomasrockhu-codecov thomasrockhu-codecov added Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months Area: Report Upload Issues with pre-ingest report uploading labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Report Upload Issues with pre-ingest report uploading Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months
Projects
None yet
Development

No branches or pull requests

2 participants