File tree 4 files changed +12
-13
lines changed
4 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 53
53
msgpack-deps : ' msgpack==0.6.2'
54
54
- tarantool : ' 2.8'
55
55
python : ' 3.10'
56
- msgpack-deps : ' msgpack==1.0.0 '
56
+ msgpack-deps : ' msgpack==1.0.4 '
57
57
58
58
steps :
59
59
- name : Clone the connector
@@ -77,16 +77,12 @@ jobs:
77
77
python-version : ${{ matrix.python }}
78
78
79
79
- name : Install specific version of msgpack package
80
- if : startsWith(matrix.msgpack-deps, 'msgpack==') == true
81
- run : |
82
- pip install ${{ matrix.msgpack-deps }}
83
-
84
- - name : Install specific version of msgpack-python package
85
- # msgpack package is a replacement for deprecated msgpack-python.
86
- # To test compatibility with msgpack-python we must ignore
87
- # requirements.txt install of msgpack package by overwriting it
88
- # with sed.
89
- if : startsWith(matrix.msgpack-deps, 'msgpack-python==') == true
80
+ # We want to enforce using modern msgpack since it has
81
+ # various vulnerability fixes. But the code is compatible
82
+ # with older msgpack versions and msgpack-python package.
83
+ # To this test compatibility we must ignore requirements.txt
84
+ # install of the newer msgpack package by overwriting it with sed.
85
+ if : matrix.msgpack-deps != ''
90
86
run : |
91
87
pip install ${{ matrix.msgpack-deps }}
92
88
sed -i -e "s/^msgpack.*$/${{ matrix.msgpack-deps }}/" requirements.txt
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
### Added
10
10
11
11
### Changed
12
+ - Bump msgpack requirement to 1.0.4 (PR #223 ).
13
+ The only reason of this bump is various vulnerability fixes,
14
+ msgpack>=0.4.0 and msgpack-python==0.4.0 are still supported.
12
15
13
16
### Fixed
14
17
Original file line number Diff line number Diff line change 1
- msgpack >= 0.4.0
1
+ msgpack >= 1. 0.4
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def find_version(*file_paths):
83
83
cmdclass = cmdclass ,
84
84
command_options = command_options ,
85
85
install_requires = [
86
- 'msgpack>=0.4.0 ' ,
86
+ 'msgpack>=1. 0.4' ,
87
87
],
88
88
python_requires = '>=3' ,
89
89
)
You can’t perform that action at this time.
0 commit comments