diff --git a/requirements.txt b/requirements.txt index 043083ce..563abc26 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,10 @@ -setuptools-rust==1.1.2 -jinja2==3.0.3 -boto3==1.20.45 -botocore==1.23.45 -click==8.0.3 -requests==2.27.1 -PyYAML==6.0 +setuptools-rust==1.7.0 +Jinja2==3.1.2 +boto3==1.28.46 +botocore==1.31.46 +click==8.1.7 +requests==2.31.0 +PyYAML==6.0.1 defusedxml==0.7.1 subresource-integrity==0.2 -jsonschema==3.2.0 +jsonschema==4.19.0 diff --git a/setup.py b/setup.py index c9301386..011b7ce3 100755 --- a/setup.py +++ b/setup.py @@ -13,14 +13,9 @@ See the License for the specific language governing permissions and limitations under the License. """ - -# !/usr/bin/env python - -import re - from setuptools import setup, find_packages -version = "1.1.2" +version = "1.2.1" # f = open('README.md') # long_description = f.read().strip() @@ -33,18 +28,6 @@ in future. And Ronda service will be hosted in AWS S3. """ - -def _get_requirements(path): - try: - with open(path, encoding="utf-8") as f: - packages = f.read().splitlines() - except (IOError, OSError) as ex: - raise RuntimeError(f"Can't open file with requirements: {ex}") from ex - packages = (p.strip() for p in packages if not re.match(r'^\s*#', p)) - packages = list(filter(None, packages)) - return packages - - setup( zip_safe=True, name="charon", @@ -62,7 +45,6 @@ def _get_requirements(path): author="RedHat EXD SPMM", license="APLv2", packages=find_packages(exclude=["ez_setup", "examples", "tests"]), - install_requires=_get_requirements('requirements.txt'), package_data={'charon': ['schemas/*.json']}, test_suite="tests", entry_points={