tarantool / tarantool-python

Python client library for Tarantool
https://www.tarantool.io
BSD 2-Clause "Simplified" License
100 stars 48 forks source link

Dependencies update patch #223

Closed DifferentialOrange closed 2 years ago

DifferentialOrange commented 2 years ago

ci: remove unused msgpack variable in EE test

Tests with Tarantool EE runs only with latest msgpack, so "msgpack-deps" variable and Actions steps for it are not used.

deps: bump msgpack requirement to 1.0.4

In this patch we bump msgpack requirement since version 1.0.4 has various vulnerability fixes (for example, [1]). Since the code is still compatible with msgpack-python and older msgpack, tests are not removed in this patch.

  1. https://github.com/msgpack/msgpack-python/pull/153

deps: bump test PyYAML requirement to 6.0

In this patch we bump PyYAML requirement since version 6.0 has various vulnerability fixes (see [1-3]). Since PyYAML is used only in tests, the only reason of this patch is to remove Dependabot alerts. After migrating to GitHub Actions issue [4] is no longer relevant, so we are not restricted to using 5.2b1 version. There is no PyYAML 6.0 for Python 3.5 since it reached the end of its life on September 13th, 2020. So this patch removed Python 3.5 pipeline as well.

  1. https://github.com/tarantool/tarantool-python/security/dependabot/1
  2. https://github.com/tarantool/tarantool-python/security/dependabot/2
  3. https://github.com/tarantool/tarantool-python/security/dependabot/3
  4. https://github.com/tarantool/tarantool-python/commit/4f79627ef23e6fc8c77562cc9072a5c385afc521

ci: install Tarantool 2.10 with GitHub Actions

After update [1] and Tarantool 2.10 release it is possible to install it with setup-tarantool tools. This patch uses setup-tarantool to install release Tarantool 2.10 instead of pre-release one.

  1. https://github.com/tarantool/setup-tarantool/commit/6c88e714dad96108ac3cb6f704249c7482435efa