[Bug 1910392] Review Request: python-build - Simple, correct PEP517 package builder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1910392

code@xxxxxxxxxxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@xxxxxxxxxxxxxxxxxx
           Doc Type|---                         |If docs needed, set a value



--- Comment #1 from code@xxxxxxxxxxxxxxxxxx ---
Weird that it built in Koji, since it fails to build in mock for me. Looks like
it’s missing a BR on python3dist(pep517).

The following is excerpted from the output of “fedora-review -b 1910392”:

+ /usr/bin/pytest -v tests -k 'not test_create_isolated_build_host_with_no_pip
and not test_build_isolated   and not test_build_no_isolation_check_deps_empty
and not test_build_no_isolation_with_check_deps   and not
test_build_raises_build_exception and not
test_build_raises_build_backend_exception' --ignore
tests/test_projectbuilder.py
============================= test session starts
==============================
platform linux -- Python 3.9.1, pytest-6.0.2, py-1.10.0, pluggy-0.13.1 --
/usr/bin/python3
cachedir: .pytest_cache
rootdir: /builddir/build/BUILD/build-0.1.0, configfile: setup.cfg
plugins: forked-1.3.0, xdist-2.2.0, cov-2.10.1, mock-3.4.0
collecting ... collected 0 items / 4 errors
==================================== ERRORS
====================================
______________________ ERROR collecting tests/test_env.py
______________________
ImportError while importing test module
'/builddir/build/BUILD/build-0.1.0/tests/test_env.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_env.py:12: in <module>
    import build.env
../../BUILDROOT/python-build-0.1.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/build/__init__.py:16:
in <module>
    import pep517.wrappers
E   ModuleNotFoundError: No module named 'pep517'
__________________ ERROR collecting tests/test_integration.py
__________________
ImportError while importing test module
'/builddir/build/BUILD/build-0.1.0/tests/test_integration.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_integration.py:16: in <module>
    import filelock
E   ModuleNotFoundError: No module named 'filelock'
_____________________ ERROR collecting tests/test_main.py
______________________
ImportError while importing test module
'/builddir/build/BUILD/build-0.1.0/tests/test_main.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_main.py:10: in <module>
    import build
../../BUILDROOT/python-build-0.1.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/build/__init__.py:16:
in <module>
    import pep517.wrappers
E   ModuleNotFoundError: No module named 'pep517'
____________________ ERROR collecting tests/test_module.py
_____________________
ImportError while importing test module
'/builddir/build/BUILD/build-0.1.0/tests/test_module.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_module.py:3: in <module>
    import build
../../BUILDROOT/python-build-0.1.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/build/__init__.py:16:
in <module>
    import pep517.wrappers
E   ModuleNotFoundError: No module named 'pep517'
=========================== short test summary info
============================
ERROR tests/test_env.py
ERROR tests/test_integration.py
ERROR tests/test_main.py
ERROR tests/test_module.py
!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection
!!!!!!!!!!!!!!!!!!!!
============================== 4 errors in 0.32s
===============================
error: Bad exit status from /var/tmp/rpm-tmp.zWPJDu (%check)
    Bad exit status from /var/tmp/rpm-tmp.zWPJDu (%check)


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux