Skip to content

Commit

Permalink
CH-109 more libraries updates
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Jan 16, 2024
1 parent f1068f2 commit 9b59a1d
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 52 deletions.
12 changes: 3 additions & 9 deletions applications/common/server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
# 2.3 is the last version that supports python 3.4-3.5
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
# we must peg werkzeug versions below to fix connexion
# https://github.com/zalando/connexion/pull/1044
werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4"
connexion[swagger-ui]==2.14.2
swagger-ui-bundle >= 0.0.2
python_dateutil >= 2.6.0
setuptools >= 21.0.0
Flask == 2.1.1
Flask >= 2.1.0
flask_sqlalchemy==2.4.4
sqlalchemy<2.0.0
sqlalchemy
10 changes: 2 additions & 8 deletions applications/samples/backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
# 2.3 is the last version that supports python 3.4-3.5
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
# we must peg werkzeug versions below to fix connexion
# https://github.com/zalando/connexion/pull/1044
werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4"
connexion[swagger-ui]==2.14.2
swagger-ui-bundle >= 0.0.2
python_dateutil >= 2.6.0
setuptools >= 21.0.0
Flask == 2.1.1
Flask >= 2.1.0
3 changes: 2 additions & 1 deletion applications/samples/backend/samples/encoder.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from connexion.apps.flask_app import FlaskJSONEncoder

import six

from samples.models.base_model_ import Model
from flask.json import FlaskJSONEncoder


class JSONEncoder(FlaskJSONEncoder):
Expand Down
14 changes: 14 additions & 0 deletions applications/volumemanager/deploy/values-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
harness:
accounts:
roles:
- role1
- role2
- role3
users:
- username: [email protected]
clientRoles:
- role1
realmRoles:
- administrator


6 changes: 6 additions & 0 deletions applications/volumemanager/deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ harness:
dependencies:
build:
- cloudharness-flask
test:
api:
enabled: true
autotest: true
checks:
- all
10 changes: 2 additions & 8 deletions applications/volumemanager/server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
# 2.3 is the last version that supports python 3.4-3.5
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
# we must peg werkzeug versions below to fix connexion
# https://github.com/zalando/connexion/pull/1044
werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4"
connexion[swagger-ui]==2.14.2
swagger-ui-bundle >= 0.0.2
python_dateutil >= 2.6.0
setuptools >= 21.0.0
Flask == 2.1.1
Flask >= 2.1.0
12 changes: 3 additions & 9 deletions applications/workflows/server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
# 2.3 is the last version that supports python 3.4-3.5
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
# we must peg werkzeug versions below to fix connexion
# https://github.com/zalando/connexion/pull/1044
werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4"
swagger-ui-bundle >= 0.0.2
connexion[swagger-ui]==2.14.2
swagger-ui-bundle > 0.0.2
python_dateutil >= 2.6.0
setuptools >= 21.0.0
Flask == 2.1.1
Flask >= 2.1.0
29 changes: 12 additions & 17 deletions infrastructure/common-images/cloudharness-flask/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
connexion==2.6.0
Flask==1.1.2
Flask-Cors==3.0.9
flask-oidc==1.4.0
Flask-Testing==0.6.1
gunicorn==20.1.0
itsdangerous==2.0.1
Jinja2==3.0.3
jsonschema<4.0.0
openapi-spec-validator==0.4.0
pytest==4.6.11
pytest-cov==3.0.0
pytest-randomly==1.2.3
sentry-sdk==0.14.4
SQLAlchemy==1.4.32
swagger-ui-bundle==0.0.8
Werkzeug==2.0.3
connexion[swagger-ui]==2.14.2
Flask>=2.1.0
Flask-Cors>=4.0.0
gunicorn>=21.2.0
itsdangerous>=2.1.2
Jinja2>=3.1.3
jsonschema>=4.20.0
openapi-spec-validator<0.5.0
sentry-sdk>=0.14.4
SQLAlchemy>=2.0.0
swagger-ui-bundle>=0.0.2
werkzeug<2.3

0 comments on commit 9b59a1d

Please sign in to comment.