mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Python3: replace distutils with sysconfig
- `distutils` module is long time deprecated and already deleted
from the CPython mainline.
- To remain compatible with Debian/Ubuntu Python3 packaging style,
try
`distutils.sysconfig.get_python_path(0,0)`
first with fallback on
`sysconfig.get_path('purelib')`
- pyzfs_unittest suite is run unconditionally as a part of ZTS.
- Add pyzfs_unittest suite to sanity tests.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #12833
Closes #13280
Closes #14177
This commit is contained in:
@@ -624,3 +624,7 @@ tags = ['functional', 'zvol', 'zvol_swap']
|
||||
[tests/functional/zpool_influxdb]
|
||||
tests = ['zpool_influxdb']
|
||||
tags = ['functional', 'zpool_influxdb']
|
||||
|
||||
[tests/functional/pyzfs]
|
||||
tests = ['pyzfs_unittest']
|
||||
tags = ['functional', 'pyzfs']
|
||||
|
||||
Reference in New Issue
Block a user