Merge "Bump sqlalchemy minimum version to 1.1.0"

This commit is contained in:
Zuul 2018-11-27 21:56:16 +00:00 committed by Gerrit Code Review
commit ffeb6b3ad7
4 changed files with 16 additions and 2 deletions

View File

@ -374,6 +374,12 @@ class IdentityTests(object):
PROVIDERS.identity_api.delete_user,
uuid.uuid4().hex)
def test_create_user_with_long_password(self):
user = unit.new_user_ref(domain_id=CONF.identity.default_domain_id,
password='a' * 2000)
# success create a user with long password
PROVIDERS.identity_api.create_user(user)
def test_create_user_missed_password(self):
user = unit.new_user_ref(domain_id=CONF.identity.default_domain_id)
user = PROVIDERS.identity_api.create_user(user)

View File

@ -57,7 +57,7 @@ scrypt==0.8.0
six==1.10.0
Sphinx==1.6.5
sqlalchemy-migrate==0.11.0
SQLAlchemy==1.0.13
SQLAlchemy==1.1.0
stestr==1.0.0
stevedore==1.20.0
tempest==17.1.0

View File

@ -0,0 +1,8 @@
---
fixes:
- |
[`bug 1734244 <https://bugs.launchpad.net/keystone/+bug/1735250>`_]
Users can't set password longer than 128 if Keystone using
`Sqlalchemy` < 1.1.0. Update `Sqlalchemy` to a higher version can solve
this problem.
[`Related Sqlalchemy Changelog <https://docs.sqlalchemy.org/en/latest/changelog/migration_11.html#change-3653>`_].

View File

@ -12,7 +12,7 @@ Flask!=0.11,>=1.0.2 # BSD
Flask-RESTful>=0.3.5 # BSD
cryptography>=2.1 # BSD/Apache-2.0
six>=1.10.0 # MIT
SQLAlchemy>=1.0.13 # MIT
SQLAlchemy>=1.1.0 # MIT
sqlalchemy-migrate>=0.11.0 # Apache-2.0
stevedore>=1.20.0 # Apache-2.0
passlib>=1.7.0 # BSD