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

codecov-cli fails with Python 3.11 #413

Closed
xqt opened this issue Apr 14, 2024 · 1 comment
Closed

codecov-cli fails with Python 3.11 #413

xqt opened this issue Apr 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@xqt
Copy link

xqt commented Apr 14, 2024

Steps to reproduce:
pip install codecov-cli

Collecting codecov-cli
  Downloading codecov_cli-0.5.0-cp311-cp311-win_amd64.whl.metadata (19 kB)
...
Successfully installed anyio-4.3.0 click-8.1.7 codecov-cli-0.5.0 h11-0.14.0 httpcore-0.16.3 httpx-0.23.3 ijson-3.2.3
pyyaml-6.0.1 responses-0.21.0 rfc3986-1.5.0 sniffio-1.3.1 tree-sitter-0.20.4

codecovcli do-upload

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Python311-x64\Scripts\codecovcli.exe\__main__.py", line 4, in <module>
  File "C:\Python311-x64\Lib\site-packages\codecov_cli\main.py", line 16, in <module>
    from codecov_cli.commands.staticanalysis import static_analysis
  File "C:\Python311-x64\Lib\site-packages\codecov_cli\commands\staticanalysis.py", line 10, in <module>
    from codecov_cli.services.staticanalysis import run_analysis_entrypoint
  File "C:\Python311-x64\Lib\site-packages\codecov_cli\services\staticanalysis\__init__.py", line 15, in <module>
    from codecov_cli.services.staticanalysis.analyzers import get_best_analyzer
  File "C:\Python311-x64\Lib\site-packages\codecov_cli\services\staticanalysis\analyzers\__init__.py", line 2, in <module>
    from codecov_cli.services.staticanalysis.analyzers.javascript_es6 import ES6Analyzer
  File "C:\Python311-x64\Lib\site-packages\codecov_cli\services\staticanalysis\analyzers\javascript_es6\__init__.py", line 5, in <module>
    import staticcodecov_languages
ModuleNotFoundError: No module named 'staticcodecov_languages'
Command exited with code 1
@thomasrockhu-codecov thomasrockhu-codecov self-assigned this Apr 16, 2024
@thomasrockhu-codecov thomasrockhu-codecov added the bug Something isn't working label Apr 16, 2024
@thomasrockhu-codecov
Copy link
Contributor

thomasrockhu-codecov commented Apr 16, 2024

@xqt marking as duplicate of #404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants