File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
integration_tests/functional Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change 8
8
from pathlib import Path
9
9
from typing import Iterator
10
10
11
- import packaging .version
12
11
import pytest
13
12
14
13
from framework .defs import ARTIFACT_DIR
@@ -98,9 +97,6 @@ def snapshot_version_tuple(self):
98
97
# independent of Firecracker versions. For these Firecracker versions, use
99
98
# the --snapshot-version Firecracker flag, to figure out which snapshot version
100
99
# it supports.
101
- # TODO: remove this check once all version up to (and including) 1.6.0 go out of support.
102
- if packaging .version .parse (self .version ) < packaging .version .parse ("1.7.0" ):
103
- return self .version_tuple [:2 ] + (0 ,)
104
100
105
101
return (
106
102
check_output ([self .path , "--snapshot-version" ])
Original file line number Diff line number Diff line change 5
5
import subprocess
6
6
from pathlib import Path
7
7
8
- import packaging .version
9
8
import pytest
10
9
11
10
from framework .utils import check_output
@@ -22,14 +21,6 @@ def test_describe_snapshot_all_versions(
22
21
snapshot state file.
23
22
"""
24
23
25
- # TODO: remove this check once all versions prior to 1.6.0 go out of support.
26
- if packaging .version .parse (firecracker_release .version ) < packaging .version .parse (
27
- "1.7.0"
28
- ):
29
- pytest .skip (
30
- "We can't parse snapshot files created from Firecracker with version < 1.7.0."
31
- )
32
-
33
24
target_version = firecracker_release .snapshot_version
34
25
vm = microvm_factory .build (
35
26
guest_kernel ,
You can’t perform that action at this time.
0 commit comments