Skip to content

Commit 440028c

Browse files
committed
Use keystoneauth1 5.7.0 if python version>=3.12
From python3.12, datetime.datetime.utcnow() is unsupported and this causes Ubuntu Noble Keystone images to fail. Using 5.7.0 which includes [1] (and the version 2024.2 Keystone uses) when Python version is 3.12. [1] https://review.opendev.org/c/openstack/keystoneauth/+/903860
1 parent 36fe932 commit 440028c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

upper-constraints.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,8 @@ cachetools===5.3.2
540540
ws4py===0.5.1
541541
sphinxcontrib-qthelp===1.0.3;python_version=='3.8'
542542
sphinxcontrib-qthelp===1.0.7;python_version>='3.9'
543-
keystoneauth1===5.6.1
543+
keystoneauth1===5.6.1;python_version<'3.12'
544+
keystoneauth1===5.7.0;python_version>='3.12'
544545
statsd===4.0.1
545546
python-keystoneclient===5.4.0
546547
ceilometer===22.0.0.0rc1

0 commit comments

Comments
 (0)