cloud-init: 23.4.4 -> 24.1
https://raw.githubusercontent.com/canonical/cloud-init/24.1/ChangeLog
This commit is contained in:
parent
7e75fc3cd6
commit
8f013b9871
1 changed files with 11 additions and 8 deletions
|
@ -1,6 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, buildPythonApplication
|
|
||||||
, cloud-utils
|
, cloud-utils
|
||||||
, dmidecode
|
, dmidecode
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
@ -17,14 +16,16 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "cloud-init";
|
pname = "cloud-init";
|
||||||
version = "23.4.4";
|
version = "24.1";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "canonical";
|
owner = "canonical";
|
||||||
repo = "cloud-init";
|
repo = "cloud-init";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-imA3C2895W4vbBT9TsELT1H9QfNIxntNQLsniv+/FGg=";
|
hash = "sha256-gcqo8q3BxxqXU7WnoOnTgTJ3QHF9h/p20zTJUhsCL2A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -53,6 +54,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
build-system = with python3.pkgs; [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
configobj
|
configobj
|
||||||
jinja2
|
jinja2
|
||||||
|
@ -66,7 +71,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = with python3.pkgs; [
|
nativeCheckInputs = with python3.pkgs; [
|
||||||
pytestCheckHook
|
(pytestCheckHook.override { pytest = pytest_7; })
|
||||||
httpretty
|
httpretty
|
||||||
dmidecode
|
dmidecode
|
||||||
# needed for tests; at runtime we rather want the setuid wrapper
|
# needed for tests; at runtime we rather want the setuid wrapper
|
||||||
|
@ -88,8 +93,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
"test_dhcp_client_failover"
|
"test_dhcp_client_failover"
|
||||||
# clears path and fails because mkdir is not found
|
# clears path and fails because mkdir is not found
|
||||||
"test_path_env_gets_set_from_main"
|
"test_path_env_gets_set_from_main"
|
||||||
# fails to find cat
|
|
||||||
"test_subp_combined_stderr_stdout"
|
|
||||||
# tries to read from /etc/ca-certificates.conf while inside the sandbox
|
# tries to read from /etc/ca-certificates.conf while inside the sandbox
|
||||||
"test_handler_ca_certs"
|
"test_handler_ca_certs"
|
||||||
"TestRemoveDefaultCaCerts"
|
"TestRemoveDefaultCaCerts"
|
||||||
|
@ -100,8 +103,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
"TestConsumeUserDataHttp"
|
"TestConsumeUserDataHttp"
|
||||||
# Chef Omnibus
|
# Chef Omnibus
|
||||||
"TestInstallChefOmnibus"
|
"TestInstallChefOmnibus"
|
||||||
# https://github.com/canonical/cloud-init/pull/893
|
|
||||||
"TestGetPackageMirrorInfo"
|
|
||||||
# Disable failing VMware and PuppetAio tests
|
# Disable failing VMware and PuppetAio tests
|
||||||
"test_get_data_iso9660_with_network_config"
|
"test_get_data_iso9660_with_network_config"
|
||||||
"test_get_data_vmware_guestinfo_with_network_config"
|
"test_get_data_vmware_guestinfo_with_network_config"
|
||||||
|
@ -112,6 +113,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
"test_install_with_default_arguments"
|
"test_install_with_default_arguments"
|
||||||
"test_install_with_no_cleanup"
|
"test_install_with_no_cleanup"
|
||||||
"test_install_with_version"
|
"test_install_with_version"
|
||||||
|
# https://github.com/canonical/cloud-init/issues/5002
|
||||||
|
"test_found_via_userdata"
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
|
Loading…
Reference in a new issue