Skip to content
Open
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 pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ auth-kerberos = [

[dependency-groups]
dev = [
"pytest~=8.0",
"pytest~=9.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/sh
set -eu
for version in 9.1.0 9.1.1; do
  printf 'pytest %s: ' "$version"
  curl -fsSL "https://pypi.org/pypi/pytest/$version/json" | jq -r '.info.requires_python'
done

Repository: scylladb/python-driver

Length of output: 202


🏁 Script executed:

#!/bin/bash
set -eu
printf '%s\n' '--- pyproject.toml ---'
sed -n '1,90p' pyproject.toml
printf '%s\n' '--- Python and pytest references ---'
rg -n --glob '!*.lock' 'requires-python|pytest|python-version|3\.9|3\.10' .github pyproject.toml tox.ini setup.cfg setup.py 2>/dev/null || true
printf '%s\n' '--- dependency metadata for pytest releases ---'
python3 - <<'PY'
import json
import urllib.request

for version in ("9.1.0", "9.1.1"):
    with urllib.request.urlopen(f"https://pypi.org/pypi/pytest/{version}/json") as response:
        data = json.load(response)
    print(version, data["info"]["requires_python"])
PY

Repository: scylladb/python-driver

Length of output: 8886


Keep the development dependency compatible with Python 3.9.

requires-python = ">=3.9" still declares Python 3.9 support, but pytest 9.1 requires Python 3.10 or newer. Select a Python 3.9-compatible pytest release or raise requires-python to >=3.10.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@pyproject.toml` at line 45, Update the pytest development dependency
constraint to a release compatible with the project’s declared Python 3.9
support, or consistently raise requires-python to >=3.10; preserve compatibility
between the dependency requirement and the requires-python setting.

"PyYAML",
"pure-sasl",
"twisted[tls]",
Expand Down
Loading