Skip to content
Open
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.6
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.

🎯 Functional Correctness | 🟠 Major | ⚑ Quick win

πŸ”Ž Supported by static analysis

🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n -C4 'python-version|setup-python|matrix|python:' \
  .github/workflows/docs-publish.yml \
  .github/workflows/python-package.yml

fd -t f | rg '(^|/)(pyproject.toml|setup.cfg|setup.py|tox.ini|noxfile.py|\.python-version|runtime.txt)$' |
  xargs -r rg -n -C3 \
    'requires-python|python_requires|Programming Language :: Python'

Repository: DagsHub/client

Length of output: 2438


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- workflow install steps ---'
sed -n '1,100p' .github/workflows/python-package.yml
sed -n '1,100p' .github/workflows/docs-publish.yml

printf '%s\n' '--- requirement files ---'
cat -n requirements-dev.txt
cat -n docs/requirements-docs.txt

printf '%s\n' '--- package metadata ---'
python3 - <<'PY'
import json
import urllib.request

packages = [
    ("pytest", "9.1.1"),
    ("pytest-env", "1.7.1"),
    ("fiftyone", "1.22.0"),
    ("datasets", "5.0.1"),
    ("sphinx-autodoc-typehints", "3.13.6"),
]
for name, version in packages:
    url = f"https://pypi.org/pypi/{name}/{version}/json"
    try:
        with urllib.request.urlopen(url, timeout=15) as response:
            data = json.load(response)
        info = data["info"]
        print(f"{name}=={version}: requires_python={info.get('requires_python')!r}")
    except Exception as exc:
        print(f"{name}=={version}: ERROR {exc}")
PY

Repository: DagsHub/client

Length of output: 5391


🏁 Script executed:

#!/bin/bash
set -euo pipefail
python3 - <<'PY'
import json
import subprocess

packages = [
    ("pytest", "9.1.1"),
    ("pytest-env", "1.7.1"),
    ("fiftyone", "1.22.0"),
    ("datasets", "5.0.1"),
    ("sphinx-autodoc-typehints", "3.13.6"),
]
for name, version in packages:
    url = f"https://pypi.org/pypi/{name}/{version}/json"
    result = subprocess.run(
        ["curl", "--fail", "--silent", "--show-error", "--insecure", url],
        capture_output=True,
        text=True,
        check=True,
    )
    info = json.loads(result.stdout)["info"]
    print(f"{name}=={version}: requires_python={info.get('requires_python')!r}")
PY

Repository: DagsHub/client

Length of output: 382


Raise the development Python floor to 3.10, or use dependency versions that support Python 3.9.

.github/workflows/python-package.yml installs requirements-dev.txt in its Python 3.9 matrix job. pytest==9.1.1, pytest-env==1.7.1, fiftyone==1.22.0, and datasets==5.0.1 require Python 3.10 or newer, so installation fails before tests. setup.py still declares Python 3.9 support. Remove Python 3.9 from the matrix and raise the project floor, or select dependency versions that support Python 3.9.

πŸ“ Affects 2 files
  • requirements-dev.txt#L2-L2 (this comment)
  • requirements-dev.txt#L5-L5
  • requirements-dev.txt#L7-L8
  • docs/requirements-docs.txt#L7-L7

Source: MCP tools

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.1
pytest-mock==3.15.1
fiftyone==1.22.0
datasets==5.0.1
ultralytics==8.4.152
Loading