From c88de3641cd74a25d2d37285cc646888dc881806 Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Mon, 18 Nov 2024 19:57:41 +0300 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20=F0=9F=93=A6=20assets=20extra=20re?= =?UTF-8?q?moved=20and=20merged=20in=20to=20main=20supervision?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Onuralp SEZER --- docs/assets.md | 5 ++--- poetry.lock | 5 ++--- pyproject.toml | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/assets.md b/docs/assets.md index 2e38ad472..ffc7a7d4e 100644 --- a/docs/assets.md +++ b/docs/assets.md @@ -1,6 +1,5 @@ --- comments: true -status: new --- # Assets @@ -11,12 +10,12 @@ that you can use in your demos. ## Install extra To install the Supervision assets utility, you can use `pip`. This utility is available -as an extra within the Supervision package. +within the Supervision package. !!! example "pip install" ```bash - pip install "supervision[assets]" + pip install "supervision" ```
diff --git a/poetry.lock b/poetry.lock index 0afa448e5..2673f6176 100644 --- a/poetry.lock +++ b/poetry.lock @@ -4561,7 +4561,7 @@ test = ["devpi-process (>=1.0.2)", "pytest (>=8.3.3)", "pytest-mock (>=3.14)"] name = "tqdm" version = "4.67.0" description = "Fast, Extensible Progress Meter" -optional = true +optional = false python-versions = ">=3.7" files = [ {file = "tqdm-4.67.0-py3-none-any.whl", hash = "sha256:0cd8af9d56911acab92182e88d763100d4788bdf421d251616040cc4d44863be"}, @@ -4930,10 +4930,9 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", type = ["pytest-mypy"] [extras] -assets = ["requests", "tqdm"] metrics = ["pandas"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "7661beeb9043afebaa1e53cd4d9ebc7d07b35dfa97b7006295300e9f16dfe437" +content-hash = "4b1374cb6ea9100c5bed238a30153051ae9946a23c8c93e0abe1e80a29bb6860" diff --git a/pyproject.toml b/pyproject.toml index 654809470..d0b8d0bf5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,14 +73,13 @@ matplotlib = ">=3.6.0" pyyaml = ">=5.3" defusedxml = "^0.7.1" pillow = ">=9.4" -requests = { version = ">=2.26.0", optional = true } -tqdm = { version = ">=4.62.3", optional = true } +requests = ">=2.26.0" +tqdm = ">=4.62.3" # pandas: picked lowest major version that supports Python 3.8 pandas = { version = ">=2.0.0", optional = true } opencv-python = ">=4.5.5.64" [tool.poetry.extras] -assets = ["requests", "tqdm"] metrics = ["pandas"] [tool.poetry.group.dev.dependencies] From 742a824d2c946d54a03a6a5d13c96366822cd814 Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Mon, 18 Nov 2024 20:15:38 +0300 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=20install=20section?= =?UTF-8?q?=20removed=20from=20assets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Onuralp SEZER --- docs/assets.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/assets.md b/docs/assets.md index ffc7a7d4e..7135f33f0 100644 --- a/docs/assets.md +++ b/docs/assets.md @@ -7,17 +7,6 @@ comments: true Supervision offers an assets download utility that allows you to download video files that you can use in your demos. -## Install extra - -To install the Supervision assets utility, you can use `pip`. This utility is available -within the Supervision package. - -!!! example "pip install" - - ```bash - pip install "supervision" - ``` -