Skip to content
Draft
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
32 changes: 16 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ name = "metrics-utility"
dynamic = ["version"] # from setup.cfg
description = "A metrics utility for Ansible"
dependencies = [
"boto3==1.35.96",
"botocore==1.35.96",
"distro==1.9.0",
"django==5.2.7",
"kubernetes>=33.1.0",
"openpyxl==3.1.2",
"pandas>=2.2.3",
"psycopg==3.3.0",
"requests==2.32.5",
"segment-analytics-python>=2.3.4",
"setuptools==80.9.0",
"boto3~=1.35",
"botocore~=1.35",
"distro~=1.9",
"django~=5.2",
"kubernetes>=33.1",
"openpyxl~=3.1",
"pandas>=2.2.3,<3",
"psycopg~=3.3",
"requests~=2.32",
"segment-analytics-python~=2.3",
"setuptools>=80.9",
]
requires-python = ">=3.12"
readme = "README.md"
Expand Down Expand Up @@ -51,11 +51,11 @@ Changelog = "https://github.com/ansible/metrics-utility/blob/devel/CHANGELOG.md"
[dependency-groups]
dev = [
"django-ansible-base>=2025.1.3",
"pre-commit>=4.0.1",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"pytest>=8.3.4",
"ruff>=0.9.2",
"pre-commit~=4.0",
"pytest-cov~=6.0",
Copy link

Choose a reason for hiding this comment

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

Bug: Unintended downgrade of pytest-cov from 7.0.0 to 6.3.0

The change from pytest-cov>=6.0.0 to pytest-cov~=6.0 causes an unintended major version downgrade. The ~=6.0 constraint means >=6.0, <7.0, which is more restrictive than the original >=6.0.0 that allowed version 7.x. The lock file confirms pytest-cov is downgraded from 7.0.0 to 6.3.0. This conflicts with the PR's stated goal of relaxing version constraints. To maintain compatibility with the latest version, consider using ~=7.0 or >=6.0 instead.

Additional Locations (1)

Fix in Cursor Fix in Web

"pytest-mock~=3.14",
"pytest~=8.3",
"ruff>=0.9.2, <1",
]

# Do not uncomment the line below. We need to be able to override the version via a file, and this
Expand Down
38 changes: 19 additions & 19 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.