Skip to content
Closed
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 docs/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ sphinx-autobuild==2025.8.25
sphinx-copybutton==0.5.2
sphinx-sitemap==2.9.0
sphinx-click==6.2.0
sphinx-autodoc-typehints==3.9.9
sphinx-autodoc-typehints==3.13.4
16 changes: 8 additions & 8 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
setuptools==80.9.0
pytest==8.3.5
respx==0.22.0
setuptools==84.0.0
pytest==9.1.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.

🩺 Stability & Availability | 🟠 Major | ⚑ Quick win

πŸ”Ž Supported by static analysis

🏁 Script executed:

#!/bin/bash
set -eu
printf '%s\n' '--- repository conventions and learnings ---'
for f in /tmp/coderabbit-repo-knowledge/dagshub-client-aa1863f7/*/*.md; do
  printf '\n### %s\n' "$f"
  head -80 "$f"
done
printf '%s\n' '--- changed dependency file ---'
cat -n requirements-dev.txt
printf '%s\n' '--- workflow candidates ---'
fd -i 'python-package.yml' . --type f
printf '%s\n' '--- workflow relevant sections ---'
workflow="$(fd -i 'python-package.yml' . --type f | head -1)"
sed -n '1,80p' "$workflow"
printf '%s\n' '--- project metadata files ---'
fd -i -t f 'pyproject.toml' 'setup.py' 'setup.cfg' 'tox.ini' 'Pipfile' .

Repository: DagsHub/client

Length of output: 1188


🏁 Script executed:

#!/bin/bash
set -eu
printf '%s\n' '--- tracked workflow files ---'
git ls-files '.github/workflows/*'
printf '%s\n' '--- workflow matrix and dependency install ---'
workflow="$(git ls-files '.github/workflows/*' | grep -E 'python-package\.yml$' | head -1)"
test -n "$workflow"
grep -n -E -C 4 'python-version|requirements-dev|pip install|matrix|include|exclude' "$workflow"
printf '%s\n' '--- package Requires-Python metadata ---'
python3 - <<'PY'
import json
import urllib.request

for name, version in (
    ("pytest", "9.1.1"),
    ("fiftyone", "1.21.0"),
    ("datasets", "5.0.1"),
):
    url = f"https://pypi.org/pypi/{name}/{version}/json"
    with urllib.request.urlopen(url, timeout=15) as response:
        data = json.load(response)
    print(f"{name}=={version}: requires_python={data['info']['requires_python']!r}")
PY

Repository: DagsHub/client

Length of output: 3628


🏁 Script executed:

#!/bin/bash
set -eu
for spec in \
  'pytest 9.1.1' \
  'fiftyone 1.21.0' \
  'datasets 5.0.1'
do
  set -- $spec
  name="$1"
  version="$2"
  printf '%s: ' "$name==$version"
  curl -fsSLk "https://pypi.org/pypi/$name/$version/json" |
    jq -r '.info.requires_python'
done

Repository: DagsHub/client

Length of output: 225


Keep the Python 3.9 CI job installable.

.github/workflows/python-package.yml installs requirements-dev.txt for every matrix version, including Python 3.9. pytest==9.1.1, fiftyone==1.21.0, and datasets==5.0.1 require Python 3.10 or newer. Pip therefore rejects these pins before linting and tests. If Python 3.9 remains supported, use compatible pins or Python-version markers. Otherwise, remove Python 3.9 from the matrix.

respx==0.23.1
pytest-git==1.8.0
pytest-env==1.1.5
pytest-mock==3.14.0
fiftyone==1.5.2
datasets==3.6.0
ultralytics==8.3.237
pytest-env==1.7.0
pytest-mock==3.15.1
fiftyone==1.21.0
datasets==5.0.1
ultralytics==8.4.136
Loading