New review comment by icp1994 on void-packages repository https://github.com/void-linux/void-packages/pull/40569#discussion_r1025190470 Comment: There are a couple extra tests being run by the setup,py test method. Here's the output in the current state: ``` => python3-pplpy-0.8.7_3: running do_check ... /builddir/python3-pplpy-0.8.7/setup.py:14: SetuptoolsDeprecationWarning: As setuptools moves its configuration towards `pyproject.toml`, `setuptools.config.read_configuration` became deprecated. For the time being, you can use the `setuptools.config.setupcfg` module to access a backward compatible API, but this module is provisional and might be removed in the future. conf_dict = read_configuration(os.path.join(dir_path, "setup.cfg")) running test copying ./tests/testpplpy.pyx -> /tmp/tmp3ane4nvz creating /tmp/tmp3ane4nvz/__pycache__ copying ./tests/__pycache__/test_constraint.cpython-311-pytest-7.1.3.pyc -> /tmp/tmp3ane4nvz/__pycache__ copying ./tests/__pycache__/test_variable.cpython-311-pytest-7.1.3.pyc -> /tmp/tmp3ane4nvz/__pycache__ copying ./tests/testpplpy2.pyx -> /tmp/tmp3ane4nvz copying ./tests/setup2.py -> /tmp/tmp3ane4nvz copying ./tests/test_constraint.py -> /tmp/tmp3ane4nvz copying ./tests/runtests.py -> /tmp/tmp3ane4nvz copying ./tests/setup.py -> /tmp/tmp3ane4nvz copying ./tests/test_variable.py -> /tmp/tmp3ane4nvz test_creation_invalid (test_variable.TestVariable.test_creation_invalid) ... ok test_creation_valid (test_variable.TestVariable.test_creation_valid) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK test_creation_empty (test_constraint.TestConstraint.test_creation_empty) ... ok test_creation_invalid (test_constraint.TestConstraint.test_creation_invalid) ... ok test_creation_other (test_constraint.TestConstraint.test_creation_other) ... ok test_creation_empty (test_constraint.TestConstraint_System.test_creation_empty) ... ok test_creation_invalid (test_constraint.TestConstraint_System.test_creation_invalid) ... ok test_creation_other (test_constraint.TestConstraint_System.test_creation_other) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.001s OK Running pplpy doctests -------------------------------------------------------------------------------- TestResults(failed=0, attempted=34) -------------------------------------------------------------------------------- TestResults(failed=0, attempted=402) -------------------------------------------------------------------------------- TestResults(failed=0, attempted=394) -------------------------------------------------------------------------------- TestResults(failed=0, attempted=1204) -------------------------------------------------------------------------------- TestResults(failed=0, attempted=468) -------------------------------------------------------------------------------- TestResults(failed=0, attempted=478) -------------------------------------------------------------------------------- TestResults(failed=0, attempted=156) -------------------------------------------------------------------------------- TestResults(failed=0, attempted=102) -------------------------------------------------------------------------------- Running unittests -------------------------------------------------------------------------------- /usr/lib/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/tmp3ane4nvz/testpplpy.pyx tree = Parsing.p_module(s, pxd, full_module_name) Compiling testpplpy.pyx because it changed. [1/1] Cythonizing testpplpy.pyx running build_ext building 'testpplpy' extension creating build creating build/temp.linux-x86_64-cpython-311 cc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -fdebug-prefix-map=/builddir/python3-pplpy-0.8.7=. -fPIC -I/builddir/python3-pplpy-0.8.7/build/lib.linux-x86_64-cpython-311/ppl -I/usr/include/python3.11 -c testpplpy.cpp -o build/temp.linux-x86_64-cpython-311/testpplpy.o creating build/lib.linux-x86_64-cpython-311 g++ -shared -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -fdebug-prefix-map=/builddir/python3-pplpy-0.8.7=. build/temp.linux-x86_64-cpython-311/testpplpy.o -L/usr/lib64 -lppl -o build/lib.linux-x86_64-cpython-311/testpplpy.cpython-311-x86_64-linux-gnu.so copying build/lib.linux-x86_64-cpython-311/testpplpy.cpython-311-x86_64-linux-gnu.so -> -------------------------------------------------------------------------------- Cython test 1 OK -------------------------------------------------------------------------------- Generator_System {ray(1, 0, -1), ray(0, 1, -1), point(0/1, 0/1, 1/1)} dim = 3 -------------------------------------------------------------------------------- Cython example 1 OK -------------------------------------------------------------------------------- /usr/lib/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/tmp3ane4nvz/testpplpy2.pyx tree = Parsing.p_module(s, pxd, full_module_name) Compiling testpplpy2.pyx because it changed. [1/1] Cythonizing testpplpy2.pyx running build_ext building 'testpplpy2' extension cc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -fdebug-prefix-map=/builddir/python3-pplpy-0.8.7=. -fPIC -I/builddir/python3-pplpy-0.8.7/build/lib.linux-x86_64-cpython-311/ppl -I/usr/include/python3.11 -c testpplpy2.cpp -o build/temp.linux-x86_64-cpython-311/testpplpy2.o g++ -shared -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -fdebug-prefix-map=/builddir/python3-pplpy-0.8.7=. build/temp.linux-x86_64-cpython-311/testpplpy2.o -L/usr/lib64 -lppl -o build/lib.linux-x86_64-cpython-311/testpplpy2.cpython-311-x86_64-linux-gnu.so copying build/lib.linux-x86_64-cpython-311/testpplpy2.cpython-311-x86_64-linux-gnu.so -> -------------------------------------------------------------------------------- Cython test 2 OK -------------------------------------------------------------------------------- Generator_System {ray(1, 0, -1), ray(0, 1, -1), point(0/1, 0/1, 1/1)} dim = 3 -------------------------------------------------------------------------------- Cython example 2 OK -------------------------------------------------------------------------------- => python3-pplpy-0.8.7_3: running pre-install hook: 00-libdir ... ``` The pytest output in comparison: ``` => python3-pplpy-0.8.7_3: running do_check ... ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/python3-pplpy-0.8.7 collected 8 items tests/test_constraint.py ...... [ 75%] tests/test_variable.py .. [100%] ============================== 8 passed in 0.04s =============================== => python3-pplpy-0.8.7_3: running pre-install hook: 00-libdir ... ```