Skip to content

Commit 9b59a1d

Browse files
committed
CH-109 more libraries updates
1 parent f1068f2 commit 9b59a1d

8 files changed

Lines changed: 44 additions & 52 deletions

File tree

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
2-
# 2.3 is the last version that supports python 3.4-3.5
3-
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
4-
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
5-
# we must peg werkzeug versions below to fix connexion
6-
# https://github.com/zalando/connexion/pull/1044
7-
werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4"
1+
connexion[swagger-ui]==2.14.2
82
swagger-ui-bundle >= 0.0.2
93
python_dateutil >= 2.6.0
104
setuptools >= 21.0.0
11-
Flask == 2.1.1
5+
Flask >= 2.1.0
126
flask_sqlalchemy==2.4.4
13-
sqlalchemy<2.0.0
7+
sqlalchemy
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
2-
# 2.3 is the last version that supports python 3.4-3.5
3-
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
4-
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
5-
# we must peg werkzeug versions below to fix connexion
6-
# https://github.com/zalando/connexion/pull/1044
7-
werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4"
1+
connexion[swagger-ui]==2.14.2
82
swagger-ui-bundle >= 0.0.2
93
python_dateutil >= 2.6.0
104
setuptools >= 21.0.0
11-
Flask == 2.1.1
5+
Flask >= 2.1.0

applications/samples/backend/samples/encoder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
from connexion.apps.flask_app import FlaskJSONEncoder
1+
22
import six
33

44
from samples.models.base_model_ import Model
5+
from flask.json import FlaskJSONEncoder
56

67

78
class JSONEncoder(FlaskJSONEncoder):
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
harness:
2+
accounts:
3+
roles:
4+
- role1
5+
- role2
6+
- role3
7+
users:
8+
- username: volumes@testuser.com
9+
clientRoles:
10+
- role1
11+
realmRoles:
12+
- administrator
13+
14+

applications/volumemanager/deploy/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ harness:
1313
dependencies:
1414
build:
1515
- cloudharness-flask
16+
test:
17+
api:
18+
enabled: true
19+
autotest: true
20+
checks:
21+
- all
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
2-
# 2.3 is the last version that supports python 3.4-3.5
3-
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
4-
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
5-
# we must peg werkzeug versions below to fix connexion
6-
# https://github.com/zalando/connexion/pull/1044
7-
werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4"
1+
connexion[swagger-ui]==2.14.2
82
swagger-ui-bundle >= 0.0.2
93
python_dateutil >= 2.6.0
104
setuptools >= 21.0.0
11-
Flask == 2.1.1
5+
Flask >= 2.1.0
Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
2-
# 2.3 is the last version that supports python 3.4-3.5
3-
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
4-
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
5-
# we must peg werkzeug versions below to fix connexion
6-
# https://github.com/zalando/connexion/pull/1044
7-
werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4"
8-
swagger-ui-bundle >= 0.0.2
1+
connexion[swagger-ui]==2.14.2
2+
swagger-ui-bundle > 0.0.2
93
python_dateutil >= 2.6.0
104
setuptools >= 21.0.0
11-
Flask == 2.1.1
5+
Flask >= 2.1.0
Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
connexion==2.6.0
2-
Flask==1.1.2
3-
Flask-Cors==3.0.9
4-
flask-oidc==1.4.0
5-
Flask-Testing==0.6.1
6-
gunicorn==20.1.0
7-
itsdangerous==2.0.1
8-
Jinja2==3.0.3
9-
jsonschema<4.0.0
10-
openapi-spec-validator==0.4.0
11-
pytest==4.6.11
12-
pytest-cov==3.0.0
13-
pytest-randomly==1.2.3
14-
sentry-sdk==0.14.4
15-
SQLAlchemy==1.4.32
16-
swagger-ui-bundle==0.0.8
17-
Werkzeug==2.0.3
1+
connexion[swagger-ui]==2.14.2
2+
Flask>=2.1.0
3+
Flask-Cors>=4.0.0
4+
gunicorn>=21.2.0
5+
itsdangerous>=2.1.2
6+
Jinja2>=3.1.3
7+
jsonschema>=4.20.0
8+
openapi-spec-validator<0.5.0
9+
sentry-sdk>=0.14.4
10+
SQLAlchemy>=2.0.0
11+
swagger-ui-bundle>=0.0.2
12+
werkzeug<2.3

0 commit comments

Comments
 (0)