docs: writing-python-agents: update required Python version to 3.6+
This commit is contained in:
parent
a6d840cb82
commit
10c6f7f659
27
docs-writing-python-agents-update-required-Python-ve.patch
Normal file
27
docs-writing-python-agents-update-required-Python-ve.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 51370b042e7a7f51c47249f1b2a66f93f0c90c95 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
|
||||||
|
Date: Fri, 12 Apr 2024 12:27:48 +0200
|
||||||
|
Subject: [PATCH] docs: writing-python-agents: update required Python version
|
||||||
|
to 3.6+
|
||||||
|
|
||||||
|
---
|
||||||
|
doc/dev-guides/writing-python-agents.md | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/doc/dev-guides/writing-python-agents.md b/doc/dev-guides/writing-python-agents.md
|
||||||
|
index f26313ff..9bf89d09 100644
|
||||||
|
--- a/doc/dev-guides/writing-python-agents.md
|
||||||
|
+++ b/doc/dev-guides/writing-python-agents.md
|
||||||
|
@@ -5,8 +5,7 @@
|
||||||
|
A simple library for authoring resource agents in Python is
|
||||||
|
provided in the `ocf.py` library.
|
||||||
|
|
||||||
|
-Agents written in Python should be ideally compatible both with Python
|
||||||
|
-2.7+ and Python 3.3+.
|
||||||
|
+Agents written in Python should be compatible with Python 3.6+.
|
||||||
|
|
||||||
|
The library provides various helper constants and functions, a logging
|
||||||
|
implementation as well as a run loop and metadata generation facility.
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
Name: resource-agents
|
Name: resource-agents
|
||||||
Summary: Open Source HA Reusable Cluster Resource Scripts
|
Summary: Open Source HA Reusable Cluster Resource Scripts
|
||||||
Version: 4.13.0
|
Version: 4.13.0
|
||||||
Release: 17
|
Release: 18
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: https://github.com/ClusterLabs/resource-agents
|
URL: https://github.com/ClusterLabs/resource-agents
|
||||||
Source0: https://github.com/ClusterLabs/resource-agents/archive/v%{version}.tar.gz
|
Source0: https://github.com/ClusterLabs/resource-agents/archive/v%{version}.tar.gz
|
||||||
@ -22,6 +22,7 @@ Patch0013: Fix-openstack-info-Ensure-no-newlines-in-openstack.patch
|
|||||||
Patch0014: portblock-remove-write-to-tcp_tw_recycle.patch
|
Patch0014: portblock-remove-write-to-tcp_tw_recycle.patch
|
||||||
Patch0015: findifsh-fix-corner-cases.patch
|
Patch0015: findifsh-fix-corner-cases.patch
|
||||||
Patch0016: fix-OCF_SUCESS-name-in-db2_notify.patch
|
Patch0016: fix-OCF_SUCESS-name-in-db2_notify.patch
|
||||||
|
Patch0017: docs-writing-python-agents-update-required-Python-ve.patch
|
||||||
Obsoletes: heartbeat-resources <= %{version}
|
Obsoletes: heartbeat-resources <= %{version}
|
||||||
Provides: heartbeat-resources = %{version}
|
Provides: heartbeat-resources = %{version}
|
||||||
BuildRequires: automake autoconf pkgconfig gcc perl-interpreter perl-generators python3-devel
|
BuildRequires: automake autoconf pkgconfig gcc perl-interpreter perl-generators python3-devel
|
||||||
@ -119,6 +120,9 @@ export CFLAGS="$(echo '%{optflags}')"
|
|||||||
%{_mandir}/man8/{ocf-tester.8*,ldirectord.8*}
|
%{_mandir}/man8/{ocf-tester.8*,ldirectord.8*}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 22 2024 zouzhimin <zouzhimin@kylinos.cn> - 4.13.0-18
|
||||||
|
- docs: writing-python-agents: update required Python version to 3.6+
|
||||||
|
|
||||||
* Thu Apr 18 2024 bixiaoyan <bixiaoyan@kylinos.cn> - 4.13.0-17
|
* Thu Apr 18 2024 bixiaoyan <bixiaoyan@kylinos.cn> - 4.13.0-17
|
||||||
- db2: fix OCF_SUCESS name in db2_notify
|
- db2: fix OCF_SUCESS name in db2_notify
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user