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

Fix codecov version bug in requirements-dev.txt #158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

takuto-san
Copy link

My Environment

  • OS: macOS(M1) 15.3.1
  • Python: 3.9.6
  • pip: 25.0.1

Problem

While following the official installation guide, running make dev resulted in the following error:

$ make dev
...
ERROR: Could not find a version that satisfies the requirement codecov==2.1.9 (from versions: 2.1.13)
ERROR: No matching distribution found for codecov==2.1.9
...
Full log
$ make dev
python -m venv .venv
run `source .venv/bin/activate` to use virtualenv
source .venv/bin/activate && make setup
python -m pip install -Ur requirements.txt
Collecting attrs
  Using cached attrs-25.1.0-py3-none-any.whl (63 kB)
Collecting click
  Using cached click-8.1.8-py3-none-any.whl (98 kB)
Collecting fissix
  Using cached fissix-24.4.24-py3-none-any.whl (188 kB)
Collecting moreorless>=0.2.0
  Using cached moreorless-0.4.0-py2.py3-none-any.whl (9.3 kB)
Collecting volatile
  Using cached volatile-2.1.0.tar.gz (3.3 kB)
Collecting appdirs>=1.4.4
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Using legacy 'setup.py install' for volatile, since package 'wheel' is not installed.
Installing collected packages: click, appdirs, volatile, moreorless, fissix, attrs
    Running setup.py install for volatile ... done
Successfully installed appdirs-1.4.4 attrs-25.1.0 click-8.1.8 fissix-24.4.24 moreorless-0.4.0 volatile-2.1.0
WARNING: You are using pip version 21.2.4; however, version 25.0.1 is available.
You should consider upgrading via the '/Users/OCUST013/work/bowler/.venv/bin/python -m pip install --upgrade pip' command.
python -m pip install -Ur requirements-dev.txt
Collecting black==20.8b1
  Using cached black-20.8b1-py3-none-any.whl
ERROR: Could not find a version that satisfies the requirement codecov==2.1.9 (from versions: 2.1.13)
ERROR: No matching distribution found for codecov==2.1.9
WARNING: You are using pip version 21.2.4; however, version 25.0.1 is available.
You should consider upgrading via the '/Users/OCUST013/work/bowler/.venv/bin/python -m pip install --upgrade pip' command.
make[1]: *** [setup] Error 1
make: *** [dev] Error 2

Why This Problem Happened

The package codecov version 2.1.9 is no longer available.
Codecov removed all versions older than 2.1.13 from PyPI, so trying to install 2.1.9 causes an error.

https://about.codecov.io/blog/post-mortem-of-codecov-pypi-package-removal/

How I reproduce

$ make dev

Solution

Use the latest available version of the provided package.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants