Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ requests==2.32.5
requests-oauthlib ==2.0.0
uvicorn[standard]==0.41.0
prometheus_fastapi_instrumentator==7.1.0
cachetools==7.0.4
cachetools==7.0.5
sentry-sdk>=1.37.1
setuptools>=70.0.0
pydantic-settings==2.13.1
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ install_requires =
requests==2.32.5
requests-oauthlib ==2.0.0
prometheus_fastapi_instrumentator==7.1.0
cachetools==7.0.4
cachetools==7.0.5
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "setup.cfg declared Python support:"
sed -n '13,24p' setup.cfg

echo
echo "cachetools 7.0.5 requires_python from PyPI:"
curl -fsSL https://pypi.org/pypi/cachetools/7.0.5/json | python -c 'import json,sys; d=json.load(sys.stdin); print(d["info"]["version"], d["info"]["requires_python"])'

echo
echo "cachetools 7.0.4 requires_python from PyPI:"
curl -fsSL https://pypi.org/pypi/cachetools/7.0.4/json | python -c 'import json,sys; d=json.load(sys.stdin); print(d["info"]["version"], d["info"]["requires_python"])'

Repository: RedHatInsights/ccx-upgrades-data-eng

Length of output: 524


Align the declared Python version requirement with the cachetools dependency.

Line 23 pins cachetools==7.0.5, which requires Python >=3.10. This conflicts with the project's python_requires = >=3.6 declared on Line 15. The mismatch existed in the prior version (7.0.4 also required Python >=3.10), but persists in this bump. Package installation will fail for Python 3.6–3.9 despite being advertised as supported. Either raise the project's minimum Python version to >=3.10 or revert cachetools to a version compatible with the declared floor.

πŸ€– Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@setup.cfg` at line 23, The project declares python_requires = >=3.6 but pins
cachetools==7.0.5 which demands Python >=3.10; update either the python floor or
the dependency: change python_requires to >=3.10 to match cachetools==7.0.5
(update the python_requires setting) OR revert the cachetools pin to a version
compatible with >=3.6 (replace cachetools==7.0.5 with a compatible release,
e.g., a 4.x/5.x line that supports 3.6–3.9) so that the declared python_requires
and the cachetools dependency are consistent; adjust the value where
python_requires and the cachetools entry are defined.

pydantic-settings==2.13.1

boto3
Expand Down
Loading