Skip to content

Commit b2b96c9

Browse files
authored
Merge pull request #4494 from StackStorm/python_versions_changelog_entry
Python versions changelog entry
2 parents 5872d6e + 6b080a4 commit b2b96c9

File tree

6 files changed

+22
-1
lines changed

6 files changed

+22
-1
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@ Added
99

1010
* Allow access to user-scoped datastore items using ``{{ st2kv.user.<key name> }}`` Jinja template
1111
notation inside the action parameter default values. (improvement) #4463
12-
12+
1313
Contributed by Hiroyasu OHYAMA (@userlocalhost).
14+
* Add support for new ``python_versions`` (``list`` of ``string``) attribute to pack metadata file
15+
(``pack.yaml``). With this attribute pack declares which major Python versions it supports and
16+
works with (e.g. ``2`` and ``3``).
17+
18+
For backward compatibility reasons, if pack metadata file doesn't contain that attribute, it's
19+
assumed it only works with Python 2. (new feature) #4474
1420

1521
2.10.0 - December 13, 2018
1622
--------------------------

contrib/chatops/pack.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
name: chatops
33
description: ChatOps integration pack
44
version: 1.0.1
5+
python_versions:
6+
- "2"
7+
- "3"
58
author: StackStorm, Inc.
69
contributors:
710
- Anthony Shaw <[email protected]>

contrib/core/pack.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
name : core
33
description : Basic core actions.
44
version : 1.0.0
5+
python_versions:
6+
- "2"
7+
- "3"
58
author : StackStorm, Inc.
69

contrib/hello_st2/pack.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ keywords:
66
- example
77
- test
88
version: 0.1.0
9+
python_versions:
10+
- "2"
11+
- "3"
912
author: StackStorm, Inc.
1013

contrib/linux/pack.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ keywords:
1717
- processes
1818
- ps
1919
version : 1.0.1
20+
python_versions:
21+
- "2"
22+
- "3"
2023
author : StackStorm, Inc.
2124

contrib/packs/pack.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
name : packs
33
description : Pack management functionality.
44
version : 1.0.1
5+
python_versions:
6+
- "2"
7+
- "3"
58
author : StackStorm, Inc.
69

0 commit comments

Comments
 (0)