From b58e6855acc406332d1b5539a7e78a314c13aa03 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Thu, 29 Feb 2024 09:27:50 +0800 Subject: [PATCH] Some chore fix * Add new requires in spec file * Remove duplicated requirements * Little pydoc fix --- charon.spec | 2 +- charon/storage.py | 2 +- requirements.txt | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/charon.spec b/charon.spec index dfe39b55..d365774a 100644 --- a/charon.spec +++ b/charon.spec @@ -50,7 +50,7 @@ Requires: python%{python3_pkgversion}-importlib-metadata Requires: python%{python3_pkgversion}-zipp Requires: python%{python3_pkgversion}-attrs Requires: python%{python3_pkgversion}-pyrsistent - +Requires: python%{python3_pkgversion}-beautifulsoup4 %description Simple Python tool with command line interface for charon init, diff --git a/charon/storage.py b/charon/storage.py index 68b73a32..6c2fcfde 100644 --- a/charon/storage.py +++ b/charon/storage.py @@ -676,7 +676,7 @@ def simple_upload_file( ): """ Uploads file to s3 bucket, regardless of any extra information like product and version info. - * Warning: this will directly delete the files even if + * Warning: this will directly overwrite the files even if it has lots of product info, so please be careful to use. If you want to upload product artifact files, please use upload_files diff --git a/requirements.txt b/requirements.txt index 6ae31725..e2c3b87e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,5 +9,4 @@ defusedxml==0.7.1 subresource-integrity==0.2 jsonschema==4.19.0 beautifulsoup4==4.11.1 -requests==2.31.0 urllib3==1.26.18 \ No newline at end of file