diff --git a/installation/requirements.txt b/installation/requirements.txt index 416b0d8a86ea9611aa47aa177d13eabe0d77ff34..8ea624beb20478a1d14a60783af2efab73075e9e 100644 --- a/installation/requirements.txt +++ b/installation/requirements.txt @@ -1,24 +1,33 @@ -requests==2.32.3 -PyYAML==6.0.1 -cryptography==38.0.4 -pyOpenSSL==22.1.0 -urllib3==2.2.2 -certifi==2024.7.4 -idna==3.7 -Flask==3.0.3 -Flask-JWT-Extended==4.6.0 -Jinja2==3.1.4 -MarkupSafe==2.1.5 -six==1.16.0 -typing-extensions==3.10.0.2 -Werkzeug==3.0.4 -pytest==8.3.2 -flake8==3.9.2 -coverage==4.5.4 -mccabe==0.6.1 -pycodestyle==2.7.0 -pyflakes==2.3.1 -python-dateutil==2.9.0.post0 +# --- Core web --- +Flask>=3.1.2,<4 +Werkzeug>=3.1.2,<4 +Jinja2>=3.1.4,<4 +MarkupSafe>=2.1.5,<4 + +# --- Auth/JWT --- +Flask-JWT-Extended>=4.6.0,<5 + +# --- HTTP stack --- +requests>=2.32.3,<3 +urllib3>=2.2.2,<3 +certifi>=2024.7.4 +idna>=3.7,<4 + +# --- YAML --- +PyYAML>=6.0.1,<7 + +# --- Crypto/TLS --- +cryptography>=43.0.1,<46 +pyOpenSSL>=25.1.0,<26 + +# --- Utilities --- +python-dateutil>=2.9.0.post0,<3 +six>=1.16.0,<2 +typing-extensions>=4.12.0,<5; python_version<"3.11" + +# --- Dev / QA --- +pytest>=8.3.2,<9 +coverage>=7.4.0,<8 +flake8>=7.1.0,<8 +binaryornot>=0.4.4,<0.5 jinja2-time==0.2.0 -text-unidecode==1.3 -binaryornot==0.4.4 diff --git a/setup.py b/setup.py index fe14cdf2867a9acd527c6e1f23d229c23092f04e..c5eb6b22762657544b9cd0eac4aba4b363c8165c 100644 --- a/setup.py +++ b/setup.py @@ -7,9 +7,9 @@ with open(os.path.join(this_directory, "README_pipy.md"), encoding="utf-8") as f setup( name="opencapif_sdk", - version="0.1.21", - author="JorgeEcheva, dgs-cgm", - author_email="jorge.echevarriauribarri.practicas@telefonica.com, daniel.garciasanchez@telefonica.com", + version="0.1.22", + author="Guillermo Sanz López. Miguel Ángel Adorna Ruiz", + author_email="guillermo.sanzlopez@telefonica.com, miguelangel.adornaruiz@telefonica.com", description=( "This repository develops a Python Software Development Kit(SDK) which focuses on " "connecting to OpenCAPIF (Common API Framework for 3GPP Northbound APIs) in a simple way, " @@ -28,30 +28,35 @@ setup( ], packages=find_packages(include=["opencapif_sdk", "opencapif_sdk.*"]), # Ajusta según tus necesidades install_requires=[ - "requests==2.32.3", - "PyYAML==6.0.1", - "cryptography==38.0.4", - "pyOpenSSL==22.1.0", - "urllib3==2.2.2", - "certifi==2024.7.4", - "idna==3.7", - "Flask==3.0.3", - "Flask-JWT-Extended==4.6.0", - "Jinja2==3.1.4", - "MarkupSafe==2.1.5", - "six==1.16.0", - "typing-extensions>=4.8.0", - "Werkzeug==3.0.4", - "pytest==8.3.2", - "flake8==3.9.2", - "coverage==4.5.4", - "mccabe==0.6.1", - "pycodestyle==2.7.0", - "pyflakes==2.3.1", - "python-dateutil==2.9.0.post0", - "jinja2-time==0.2.0", - "text-unidecode==1.3", - "binaryornot==0.4.4", + "Flask>=3.1.2,<4", + "Werkzeug>=3.1.2,<4", + "Jinja2>=3.1.4,<4", + "MarkupSafe>=2.1.5,<4", + "Flask-JWT-Extended>=4.6.0,<5", + "requests>=2.32.3,<3", + "urllib3>=2.2.2,<3", + "certifi>=2024.7.4", + "idna>=3.7,<4", + "PyYAML>=6.0.1,<7", + "cryptography>=43.0.1,<46", + "pyOpenSSL>=25.1.0,<26", + "python-dateutil>=2.9.0.post0,<3", + "six>=1.16.0,<2", + 'typing-extensions>=4.12.0,<5; python_version<"3.11"', + "connexion[flask]>=3.0.0,<4", + "text-unidecode>=1.3,<2", ], - url="https://github.com/Telefonica/pesp_capif_sdk", + extras_require={ + "dev": [ + "pytest>=8.3.2,<9", + "coverage>=7.4.0,<8", + "flake8>=7.1.0,<8", + "jinja2-time==0.2.0", + "binaryornot>=0.4.4,<0.5", + "pycodestyle>=2.14,<2.15", + "pyflakes>=3.4,<3.5", + "mccabe>=0.7,<0.8", + ], + }, + url="https://labs.etsi.org/rep/ocf/sdk", )