Remove iso8601 and update requirements

Change-Id: Idaa7da98ccc4ccfb8c00b048dda477ca654ddbe9
This commit is contained in:
Ivan Anfimov
2025-04-29 13:36:11 +00:00
parent b2b91cf591
commit 84cde4b4a6
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