Merge "Remove iso8601 and update requirements"

This commit is contained in:
Zuul 2025-05-02 19:31:44 +00:00 committed by Gerrit Code Review
commit 2770296359
3 changed files with 4 additions and 7 deletions

View File

@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from dateutil import parser
from django.template.loader import render_to_string
import iso8601
import json
TYPES = {
@ -53,7 +53,7 @@ def booleanfield(x):
def humantime(x):
return render_to_string("mistral/default/_humantime.html",
{"datetime": iso8601.parse_date(x)})
{"datetime": parser.parse(x)})
def prettyprint(x):

View File

@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.
pbr!=2.1.0,>=2.0.0 # Apache-2.0
iso8601>=0.1.11 # MIT
python-mistralclient>=4.3.0 # Apache-2.0
PyYAML>=3.12 # MIT
horizon>=17.1.0 # Apache-2.0
horizon>=23.1.1 # Apache-2.0

View File

@ -6,6 +6,3 @@ nodeenv>=0.9.4 # BSD
selenium>=2.50.1 # Apache-2.0
xvfbwrapper>=0.1.3 #license: MIT
stestr>=2.0.0 # Apache-2.0
# Horizon requirements
django-compressor>=2.0 # MIT