Closed kloczek closed 1 year ago
There are a number of Python 3.12 problems that I'm working on at the moment. Thanks for the report on this one.
This is a duplicate of #91, isn't it? Looks like it just needs a new release.
I've tested release + all patches generated out of commits added after last version and test suite with those commis is not failing.
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pyparted-3.12.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pyparted-3.12.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network'
============================= test session starts ==============================
platform linux -- Python 3.8.17, pytest-7.3.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pyparted-3.12.0
collected 280 items
tests/test__ped_alignment.py ......... [ 3%]
tests/test__ped_chsgeometry.py ... [ 4%]
tests/test__ped_constraint.py ........ [ 7%]
tests/test__ped_device.py .....s...ss............ss. [ 16%]
tests/test__ped_disk.py ..sssss....s..........sssssssssss.. [ 28%]
tests/test__ped_disktype.py .... [ 30%]
tests/test__ped_filesystem.py ... [ 31%]
tests/test__ped_filesystemtype.py ... [ 32%]
tests/test__ped_geometry.py .................. [ 38%]
tests/test__ped_partition.py ................. [ 45%]
tests/test__ped_ped.py ............s............. [ 54%]
tests/test_parted_alignment.py ..ssss..s [ 57%]
tests/test_parted_constraint.py ..ssssss [ 60%]
tests/test_parted_device.py sssssssssssssssss.ssss [ 68%]
tests/test_parted_disk.py ssssssssss.ssssssss.......sssssssssss [ 81%]
tests/test_parted_filesystem.py ssss [ 82%]
tests/test_parted_geometry.py sssssss.sssss.ss [ 88%]
tests/test_parted_parted.py .....ss.ss. [ 92%]
tests/test_parted_partition.py .............sss.ssss [100%]
=========================== short test summary info ============================
SKIPPED [1] tests/test__ped_device.py:104: Unimplemented test case.
SKIPPED [1] tests/test__ped_device.py:159: Unimplemented test case.
SKIPPED [1] tests/test__ped_device.py:166: Unimplemented test case.
SKIPPED [1] tests/test__ped_device.py:554: Unimplemented test case.
SKIPPED [1] tests/test__ped_device.py:561: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:29: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:36: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:43: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:50: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:57: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:84: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:161: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:168: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:175: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:182: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:189: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:196: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:203: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:210: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:217: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:224: Unimplemented test case.
SKIPPED [1] tests/test__ped_disk.py:231: Unimplemented test case.
SKIPPED [1] tests/test__ped_ped.py:248: Requires root
SKIPPED [1] tests/test_parted_alignment.py:70: Unimplemented test case.
SKIPPED [1] tests/test_parted_alignment.py:77: Unimplemented test case.
SKIPPED [1] tests/test_parted_alignment.py:84: Unimplemented test case.
SKIPPED [1] tests/test_parted_alignment.py:91: Unimplemented test case.
SKIPPED [1] tests/test_parted_alignment.py:137: Unimplemented test case.
SKIPPED [1] tests/test_parted_constraint.py:129: Unimplemented test case.
SKIPPED [1] tests/test_parted_constraint.py:136: Unimplemented test case.
SKIPPED [1] tests/test_parted_constraint.py:143: Unimplemented test case.
SKIPPED [1] tests/test_parted_constraint.py:150: Unimplemented test case.
SKIPPED [1] tests/test_parted_constraint.py:157: Unimplemented test case.
SKIPPED [1] tests/test_parted_constraint.py:164: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:16: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:23: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:30: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:37: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:44: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:51: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:58: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:65: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:72: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:79: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:86: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:93: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:100: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:107: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:114: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:121: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:128: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:140: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:147: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:154: Unimplemented test case.
SKIPPED [1] tests/test_parted_device.py:161: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:18: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:25: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:32: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:39: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:46: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:53: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:60: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:67: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:74: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:81: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:104: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:111: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:118: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:125: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:132: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:139: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:146: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:153: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:215: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:222: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:229: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:236: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:243: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:250: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:257: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:264: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:271: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:278: Unimplemented test case.
SKIPPED [1] tests/test_parted_disk.py:285: Unimplemented test case.
SKIPPED [1] tests/test_parted_filesystem.py:15: Unimplemented test case.
SKIPPED [1] tests/test_parted_filesystem.py:22: Unimplemented test case.
SKIPPED [1] tests/test_parted_filesystem.py:29: Unimplemented test case.
SKIPPED [1] tests/test_parted_filesystem.py:36: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:18: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:25: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:32: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:39: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:46: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:53: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:60: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:76: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:83: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:90: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:97: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:104: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:127: Unimplemented test case.
SKIPPED [1] tests/test_parted_geometry.py:134: Unimplemented test case.
SKIPPED [1] tests/test_parted_parted.py:90: Unimplemented test case.
SKIPPED [1] tests/test_parted_parted.py:97: Unimplemented test case.
SKIPPED [1] tests/test_parted_parted.py:129: Unimplemented test case.
SKIPPED [1] tests/test_parted_parted.py:136: Unimplemented test case.
SKIPPED [1] tests/test_parted_partition.py:328: Unimplemented test case.
SKIPPED [1] tests/test_parted_partition.py:335: Unimplemented test case.
SKIPPED [1] tests/test_parted_partition.py:342: Unimplemented test case.
SKIPPED [1] tests/test_parted_partition.py:363: Unimplemented test case.
SKIPPED [1] tests/test_parted_partition.py:370: Unimplemented test case.
SKIPPED [1] tests/test_parted_partition.py:377: Unimplemented test case.
SKIPPED [1] tests/test_parted_partition.py:384: Unimplemented test case.
======================= 167 passed, 113 skipped in 0.80s =======================
This is a duplicate of #91, isn't it? Looks like it just needs a new release.
There are two issues. Yes, #91 is fixed in git and I need to cut a new release. But right now there are problems with the test suite and Python 3.12 which I am sorting out.
pyparted-3.13.0 has been released which works on Python 3.11.x and 3.12.x now.
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesHere is pytest output: