Merge pull request #1735 from roboflow/hotfix/v0_25_1

release:  📦  supervision version to 0.25.1 for hotfix dependencies
This commit is contained in:
LinasKo 2024-12-13 15:10:13 +02:00 committed by GitHub
commit a4a2d8c05d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1042 additions and 722 deletions

1717
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "supervision" name = "supervision"
version = "0.25.0" version = "0.25.1"
description = "A set of easy-to-use utils that will come in handy in any Computer Vision project" description = "A set of easy-to-use utils that will come in handy in any Computer Vision project"
authors = ["Piotr Skalski <piotr.skalski92@gmail.com>"] authors = ["Piotr Skalski <piotr.skalski92@gmail.com>"]
maintainers = [ maintainers = [
@ -43,11 +43,14 @@ classifiers = [
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
# For Python versions 3.13 and above, use numpy versions 2.1.0,
# required for poetry to not fail.
numpy = [ numpy = [
{ version = ">=1.21.2,<1.23.3", python = "<=3.10" }, { version = ">=1.21.2", python = "<3.13" },
{ version = ">=1.23.3", python = ">3.10" },
{ version = ">=2.1.0", python = ">=3.13" }, { version = ">=2.1.0", python = ">=3.13" },
] ]
scipy = [ scipy = [
{ version = "1.10.0", python = "<3.9" }, { version = "1.10.0", python = "<3.9" },
{ version = "^1.10.0", python = ">=3.9" }, { version = "^1.10.0", python = ">=3.9" },
@ -62,27 +65,42 @@ scipy = [
# For Python 3.8 and above, we use version 1.0.7 or higher, as it is the lowest major version that supports Python 3.8. # For Python 3.8 and above, we use version 1.0.7 or higher, as it is the lowest major version that supports Python 3.8.
# For Python 3.13 and above, we use version 1.3.0 or higher, as it is the first version that explicitly supports Python 3.13. # For Python 3.13 and above, we use version 1.3.0 or higher, as it is the first version that explicitly supports Python 3.13.
contourpy = [ contourpy = [
{ version = ">=1.0.7", python = ">=3.8" }, { version = ">=1.0.7", python = ">=3.8,<3.13" },
{ version = ">=1.3.0", python = ">=3.13" }, { version = ">=1.3.0", python = ">=3.13" },
] ]
matplotlib = ">=3.6.0" matplotlib = [
{ version = ">=3.6.0,<3.8.0", python = "3.8" },
{ version = ">=3.6.0", python = ">=3.9" },
{ version = ">=3.7.3", python = ">=3.12" },
{ version = ">=3.9.2", python = ">=3.13" },
]
pyyaml = ">=5.3" pyyaml = ">=5.3"
defusedxml = "^0.7.1" defusedxml = "^0.7.1"
pillow = ">=9.4" pillow = ">=9.4"
requests = { version = ">=2.26.0,<=2.32.3", optional = true } requests = ">=2.26.0"
tqdm = { version = ">=4.62.3,<=4.67.0", optional = true } tqdm = ">=4.62.3"
# pandas: picked lowest major version that supports Python 3.8 # pandas: picked lowest major version that supports Python 3.8
pandas = { version = ">=2.0.0", optional = true } # pandas 2.2.3 has been released with support for Python 3.13
pandas-stubs = { version = ">=2.0.0.230412", optional = true } pandas = [
{ version = ">=2.0.0", python = "<3.13", optional = true },
{ version = ">=2.2.3", python = ">=3.13", optional = true },
]
opencv-python = ">=4.5.5.64" opencv-python = ">=4.5.5.64"
[tool.poetry.extras] [tool.poetry.extras]
assets = ["requests", "tqdm"] metrics = ["pandas"]
metrics = ["pandas", "pandas-stubs"]
[tool.poetry.group.test.dependencies]
pytest = ">=7.2.2,<9.0.0"
pytest-md = "^0.2.0"
pytest-emoji = "^0.2.0"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
twine = "^5.1.1" twine = ">=5.1.1,<7.0.0"
pytest = ">=7.2.2,<9.0.0" pytest = ">=7.2.2,<9.0.0"
wheel = ">=0.40,<0.46" wheel = ">=0.40,<0.46"
build = ">=0.10,<1.3" build = ">=0.10,<1.3"
@ -105,7 +123,7 @@ mkdocstrings = ">=0.25.2,<0.27.0"
mkdocstrings-python = "^1.10.9" mkdocstrings-python = "^1.10.9"
mike = "^2.0.0" mike = "^2.0.0"
# For Documentation Development use Python 3.10 or above # For Documentation Development use Python 3.10 or above
# Use Latest mkdocs-jupyter min 0.24.6 for Jupyter Notebook Theme support # Use Latest mkdocs-jupyter min 0.24.6 for Jupyter Notebook Theme support
mkdocs-jupyter = "^0.24.3" mkdocs-jupyter = "^0.24.3"
mkdocs-git-committers-plugin-2 = "^2.4.1" mkdocs-git-committers-plugin-2 = "^2.4.1"
mkdocs-git-revision-date-localized-plugin = "^1.2.4" mkdocs-git-revision-date-localized-plugin = "^1.2.4"
@ -118,7 +136,10 @@ types-pyyaml = "^6.0.12.20240808"
types-cffi = "^1.16.0.20240331" types-cffi = "^1.16.0.20240331"
types-requests = "^2.32.0.20240712" types-requests = "^2.32.0.20240712"
types-tqdm = "^4.66.0.20240417" types-tqdm = "^4.66.0.20240417"
pandas-stubs = ">=2.0.0.230412"
[tool.poetry.group.build.dependencies]
twine = ">=5.1.1,<7.0.0"
[tool.bandit] [tool.bandit]
target = ["test", "supervision"] target = ["test", "supervision"]