We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92155a1 commit 872ba52Copy full SHA for 872ba52
src/setup.rs
@@ -115,7 +115,9 @@ fn setup_python_deps(kani_dir: &Path, os: &os_info::Info) -> Result<()> {
115
let pkg_versions = &["cbmc-viewer==3.5", "colorama==0.4.3"];
116
117
if os.os_type() == os_info::Type::Ubuntu
118
- && *os.version() == os_info::Version::Semantic(18, 4, 0)
+ // Check both versions: https://github.com/stanislav-tkach/os_info/issues/318
119
+ && (*os.version() == os_info::Version::Semantic(18, 4, 0)
120
+ || *os.version() == os_info::Version::Custom("18.04".into()))
121
{
122
os_hacks::setup_python_deps_on_ubuntu_18_04(&pyroot, pkg_versions)?;
123
return Ok(());
0 commit comments