Skip to content

Commit 9916e0a

Browse files
delete default cipher
1 parent e7e9a6f commit 9916e0a

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

autosubmit_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
# You should have received a copy of the GNU General Public License
1818
# along with Autosubmit. If not, see <http://www.gnu.org/licenses/>.
1919

20-
__version__ = "4.0.1b2"
20+
__version__ = "4.2.0a1"
2121
__author__ = "Luiggi Tenorio, Bruno P. Kinoshita, Cristian Gutiérrez, Julian Berlin, Wilmer Uruchi"
2222
__credits__ = "Barcelona Supercomputing Center"

autosubmit_api/app.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22
import sys
3-
import requests
43
from flask_cors import CORS
54
from flask import Flask
65
from autosubmit_api.bgtasks.scheduler import create_bind_scheduler
@@ -41,14 +40,6 @@ def create_app():
4140
# Enforce Language Locale
4241
CommonRequests.enforceLocal(app.logger)
4342

44-
requests.packages.urllib3.util.ssl_.DEFAULT_CIPHERS += "HIGH:!DH:!aNULL"
45-
try:
46-
requests.packages.urllib3.contrib.pyopenssl.DEFAULT_SSL_CIPHER_LIST += (
47-
"HIGH:!DH:!aNULL"
48-
)
49-
except AttributeError:
50-
app.logger.warning("No pyopenssl support used / needed / available")
51-
5243
# Initial read config
5344
APIBasicConfig.read()
5445
app.logger.debug("API Basic config: " + str(APIBasicConfig().props()))

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_authors():
2222
install_requires = [
2323
"Flask~=2.2.5",
2424
"pyjwt~=2.8.0",
25-
"requests~=2.28.1",
25+
"requests<=2.31.0",
2626
"flask_cors~=3.0.10",
2727
"bscearth.utils~=0.5.2",
2828
"pydotplus~=2.0.2",
@@ -31,7 +31,7 @@ def get_authors():
3131
"scipy~=1.11.4",
3232
"python-dotenv~=1.0.1",
3333
"autosubmitconfigparser>=1.0.65",
34-
"autosubmit>=4.2.0",
34+
"autosubmit>=4.2.0a1",
3535
"Flask-APScheduler~=1.13.1",
3636
"gunicorn~=22.0.0",
3737
"pydantic~=2.5.2",

0 commit comments

Comments
 (0)