Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
d80f505
chore: bump minimum Python to 3.10
Borda May 20, 2026
4c90f98
Apply suggestions from code review
Borda May 20, 2026
97a277e
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] May 20, 2026
63041da
chore: enable flake8-annotations (ANN) rule in Ruff configuration
Borda May 20, 2026
57fef28
chore: annotate all functions with explicit return types for flake8-a…
Borda May 20, 2026
e6ca7e2
fix: resolve mypy typing issues
Borda May 20, 2026
0de829e
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] May 20, 2026
6155b1c
chore: add per-file-ignore for missing type annotations in test files
Borda May 20, 2026
dca8a7b
chore: reformat code for improved readability and consistency
Borda May 20, 2026
9618cef
Merge branch 'bump/py3.10' of https://github.com/roboflow/supervision…
Borda May 20, 2026
4672a38
chore: enforce consistent typing and formatting across codebase
Borda May 20, 2026
280fac0
chore: remove Python 3.14 from CI test matrix
Borda May 20, 2026
121e83e
chore: add explicit type annotations to improve type safety and reada…
Borda May 20, 2026
3381808
fix: revert public-API breaking changes from py3.10 bump
Borda May 20, 2026
376846b
docs: update user-facing minimum Python version to 3.10
Copilot May 20, 2026
1f32431
fix: address copilot review thread feedback
Copilot May 20, 2026
af76087
fix: enforce explicit type annotations and restore dtype consistency
Borda May 20, 2026
fb36258
fix: update confusion matrix and box spreading to ensure dtype consis…
Borda May 20, 2026
5d1919f
fix: restore Detections compat annotations and fix pre-commit failures
Borda May 20, 2026
cf8bcb1
Potential fix for pull request finding
Borda May 20, 2026
7f3fc54
fix: cast confusion matrix copy to float before NaN masking
Copilot May 20, 2026
da87029
Merge branch 'develop' into bump/py3.10
Borda May 20, 2026
b3be9e1
fix(pre-commit): pin mypy hook dependencies for reproducible installs
Borda May 20, 2026
e9d07c5
fix(pre-commit): set Python version to 3.10 for consistency with proj…
Borda May 20, 2026
78c0ddd
refactor: reduce casts and tighten typing across supervision
Borda May 21, 2026
b517aae
refactor: tighten coco typing boundary
Borda May 21, 2026
404d27a
refactor: remove unused overloads and tighten typing in mask_to_rle
Borda May 21, 2026
4878276
refactor: introduce stricter type aliases and rename internal type de…
Borda May 21, 2026
7af3cfd
refactor: extract typing definitions into dedicated `_typing.py` modu…
Borda May 21, 2026
39b949e
fix: restore Metric.compute API compatibility
Borda May 21, 2026
583fbff
chore: revert non-typing drift from py3.10 typing branch
Borda May 21, 2026
36cc2f4
refactor: narrow converters changes to typing-only adjustments
Borda May 21, 2026
1430819
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] May 21, 2026
47dcdb1
refactor: rename type aliases for consistency and update references a…
Borda May 21, 2026
f223753
Merge branch 'bump/py3.10' of https://github.com/roboflow/supervision…
Borda May 21, 2026
76321b1
fix(dataset): restore isinstance guard in _extract_class_names
Borda May 21, 2026
657ce7b
refactor(metrics): remove redundant CompactMask branch in get_detecti…
Borda May 21, 2026
9f7ff21
chore: drop Python 3.9 from package metadata and CI matrix
Borda May 22, 2026
68f6344
docs: update Python version requirement to 3.10+ in user-facing docs
Borda May 22, 2026
d9bea9d
fix(annotators): revert IconAnnotator _load_icon to cast — avoid sile…
Borda May 22, 2026
ec73564
fix(typing): resolve 24 mypy strict errors across detection and metri…
Borda May 22, 2026
4d30e84
test(metrics): add ValueError tests for missing class_id and confidence
Borda May 22, 2026
51135c4
fix(dataset): add safety guard for RLE segmentation missing 'counts' key
Borda May 22, 2026
381b462
test(detection): add DetectionsSmoother coverage — confidence averagi…
Borda May 22, 2026
2b9a00b
test(draw): add OSError test for load_image on non-image file
Borda May 22, 2026
a4d7e78
docs(changelog): add Python 3.9 end-of-support notice for 0.29.0
Borda May 22, 2026
ba79b43
refine(metrics): align MeanAveragePrecision dtype to float32 throughout
Borda May 22, 2026
09ee44d
fix(boxes): preserve caller dtype in denormalize_boxes
Borda May 22, 2026
5401ce9
test: fix ruff PT011 — add match= to pytest.raises calls
Borda May 22, 2026
e30da42
Merge branch 'develop' into bump/py3.10
Borda May 22, 2026
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 .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
Comment thread
Borda marked this conversation as resolved.
runs-on: ${{ matrix.os }}
steps:
- name: 📥 Checkout the repository
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ maintainers = [
authors = [
{ name = "Roboflow et al.", email = "develop@roboflow.com" },
]
requires-python = ">=3.9"
requires-python = ">=3.10"
Comment thread
Borda marked this conversation as resolved.
Comment thread
Borda marked this conversation as resolved.
Comment thread
Borda marked this conversation as resolved.
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -33,7 +33,6 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down Expand Up @@ -80,7 +79,7 @@ dev = [
]
docs = [
"mike>=2",
"mkdocs-git-committers-plugin-2>=2.4.1; python_version>='3.9' and python_version<'4'",
"mkdocs-git-committers-plugin-2>=2.4.1; python_version>='3.10' and python_version<'4'",
"mkdocs-git-revision-date-localized-plugin>=1.2.4",
"mkdocs-jupyter>=0.24.3",
"mkdocs-material[imaging]>=9.7",
Expand All @@ -101,7 +100,7 @@ packages.find.include = [ "supervision*" ]

# exclude = [ "docs*", "tests*", "examples*" ]
[tool.ruff]
target-version = "py39"
target-version = "py310"
line-length = 88
indent-width = 4
# Exclude a variety of commonly ignored directories.
Expand Down Expand Up @@ -184,7 +183,7 @@ quiet-level = 3
ignore-words-list = "STrack,sTrack,strack"

[tool.mypy]
python_version = "3.9"
python_version = "3.10"
Comment thread
Borda marked this conversation as resolved.
ignore_missing_imports = false
explicit_package_bases = true
strict = true
Expand Down
Loading