From d458db15944f963ee92aa51fb4b965f51b55ff76 Mon Sep 17 00:00:00 2001 From: Gguidini Date: Mon, 6 Nov 2023 08:54:57 -0300 Subject: [PATCH] chore: remove smart-open We want to add codecov-cli to getsentry/pypi. It was asked that we drop the smart-open dependency. I went back and checked that smart-open is really used for dealing with files in remote storage and decompressing things under-the-hood. We don't need any of that, and are well served by the default open function. So it's fine to drop it. --- codecov_cli/plugins/compress_pycoverage_contexts.py | 1 - requirements.txt | 6 +++--- setup.py | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/codecov_cli/plugins/compress_pycoverage_contexts.py b/codecov_cli/plugins/compress_pycoverage_contexts.py index 5455602f..ab9f8b36 100644 --- a/codecov_cli/plugins/compress_pycoverage_contexts.py +++ b/codecov_cli/plugins/compress_pycoverage_contexts.py @@ -5,7 +5,6 @@ from typing import Any, List import ijson -from smart_open import open from codecov_cli.plugins.types import PreparationPluginReturn diff --git a/requirements.txt b/requirements.txt index 20b98444..9fbe99a8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -37,9 +37,9 @@ requests==2.31.0 responses==0.21.0 # via codecov-cli (setup.py) rfc3986[idna2008]==1.5.0 - # via httpx -smart-open==6.4.0 - # via codecov-cli (setup.py) + # via + # httpx + # rfc3986 sniffio==1.3.0 # via # anyio diff --git a/setup.py b/setup.py index 7c05c4fd..988a916c 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,6 @@ "ijson==3.*", "pyyaml==6.*", "responses==0.21.*", - "smart-open==6.*", "tree-sitter==0.20.*", ], entry_points={