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.2
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
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.20.1
datasets==5.0.1
ultralytics==8.4.117
Comment on lines +1 to +9

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

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== repository files =="
git ls-files | sed -n '1,120p'

echo
echo "== candidate metadata files =="
for f in setup.py setup.cfg pyproject.toml requirements-dev.txt README.md; do
  if [ -f "$f" ]; then
    echo "--- $f ---"
    if [ "$f" = "pyproject.toml" ] || [ "$f" = "requirements-dev.txt" ]; then
      sed -n '1,120p' "$f"
    else
      rg -n "python_requires|requires-python|Programming Language :: Python|python_requires|pytest|setuptools" "$f" -C 3
    fi
  fi
done

echo
echo "== dependency installs from requirements-dev =="
if [ -f requirements-dev.txt ]; then
  sed -n '1,40p' requirements-dev.txt
fi

echo
echo "== CI/python usage =="
git ls-files | rg '(^|/)(\.github/workflows/|tox\.ini|noxfile\.py|mypy\.ini|pyproject\.toml|setup\.py|setup\.cfg)$|README\.md' | xargs -r -I{} sh -c 'echo "--- {} ---"; rg -n "python|3\.9|3\.10|pip install|requirements-dev|tox|nox|setuptools|pytest" "{}" -C 2 || true' | sed -n '1,240p'

Repository: DagsHub/client

Length of output: 5326


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== setup.py relevant lines =="
sed -n '1,90p' setup.py | cat -n

echo
echo "== workflow python references =="
for f in .github/workflows/python-package.yml .github/workflows/python-publish.yml .github/workflows/release.yml .github/workflows/run-linters.yaml; do
  if [ -f "$f" ]; then
    echo "--- $f ---"
    sed -n '1,220p' "$f" | cat -n | rg -n "python|pip|requirements|pytest|tox|nox|setuptools|python_requires" -C 3 || true
  fi
done

echo
echo "== package dependency version hints =="
for f in setup.py pyproject.toml requirements-dev.txt requirements.txt setup.cfg tox.ini noxfile.py; do
  if [ -f "$f" ]; then
    echo "--- $f ---"
    rg -n "setuptools|pytest|requires-python|python_requires|Programming Language :: Python|<3\.10|>=3\.10|3\.9" "$f" -C 2 || true
  fi
done

echo
echo "== dependency metadata from PyPI =="
python3 - <<'PY'
import json, urllib.request
pkgs = {
    "setuptools": "84.0.0",
    "pytest": "9.1.1",
    "pytest-git": "1.8.0",
}
for name, version in pkgs.items():
    url = f"https://pypi.org/pypi/{name}/{version}/json"
    try:
        with urllib.request.urlopen(url, timeout=15) as r:
            data = json.load(r)
        info = data["info"]
        print(f"--- {name}=={version} ---")
        print("Requires-Python:", info.get("requires_python"), ":requires-python" in str(data.get("files")))
        print("Classifier lines:")
        for c in info.get("classifiers", []):
            if "Python ::" in c:
                print(" ", c)
        for url in data.get("files", [])[:3]:
            print(" url:", url.get("url"))
    except Exception as e:
        print(f"--- {name}=={version} UNAVAILABLE ---")
        print(type(e).__name__, e)
PY

Repository: DagsHub/client

Length of output: 9274


🌐 Web query:

PyPI setuptools 84.0.0 Requires Python

πŸ’‘ Result:

The setuptools package version 84.0.0 requires Python 3.10 or later [1][2].

Citations:


🌐 Web query:

PyPI pytest 9.1.1 Requires Python

πŸ’‘ Result:

The pytest version 9.1.1 requires Python 3.10 or newer [1][2][3]. It also maintains support for PyPy3 [1][3].

Citations:


Keep requirements-dev.txt installable on Python 3.9.

.github/workflows/python-package.yml installs requirements-dev.txt on Python 3.9, but setuptools==84.0.0 and pytest==9.1.1 require Python 3.10. On 3.9 jobs, pip rejects installation of requirements-dev.txt, so the test matrix fails before tests run. Use Python-3.9-compatible version pins or remove and document Python-3.9 support consistently.

Source: MCP tools

Loading