Package Details: python-ubelt 1.3.4-1

Git Clone URL: https://aur.archlinux.org/python-ubelt.git (read-only, click to copy)
Package Base: python-ubelt
Description: A Python utility belt containing simple tools
Upstream URL: https://github.com/Erotemic/ubelt
Licenses: Apache
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 0
Popularity: 0.000000
First Submitted: 2022-05-24 18:34 (UTC)
Last Updated: 2024-01-08 14:52 (UTC)

Latest Comments

lahwaacz commented on 2024-01-06 16:10 (UTC)

python-setuptools is missing in the makedepends

thrasibule commented on 2024-01-06 12:11 (UTC)

@mboquien tests pass fine here. It looks like you're trying to run the tests with the old python-ubelt. Are you doing anything strange with your PYTHONPATH?

mboquien commented on 2024-01-05 11:14 (UTC)

The package unfortunately fails to build at the moment.

====================================================== short test summary info =======================================================
FAILED test_autoprofile.py::test_single_function_autoprofile - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_autoprofile.py::test_multi_function_autoprofile - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_autoprofile.py::test_duplicate_function_autoprofile - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_autoprofile.py::test_autoprofile_script_with_module - AttributeError: 'dict' object has no attribute 'stdout'
FAILED test_autoprofile.py::test_autoprofile_module - AttributeError: 'dict' object has no attribute 'stdout'
FAILED test_autoprofile.py::test_autoprofile_module_list - AttributeError: 'dict' object has no attribute 'stdout'
FAILED test_autoprofile.py::test_autoprofile_module_with_prof_imports - AttributeError: 'dict' object has no attribute 'stdout'
FAILED test_autoprofile.py::test_autoprofile_script_with_prof_imports - AttributeError: 'dict' object has no attribute 'stdout'
FAILED test_complex_case.py::test_complex_example_python_none - AttributeError: module 'ubelt' has no attribute 'udict'
FAILED test_complex_case.py::test_varied_complex_invocations - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_explicit_profile.py::test_explicit_profile_with_nothing - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_explicit_profile.py::test_explicit_profile_with_environ_on - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_explicit_profile.py::test_explicit_profile_with_environ_off - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_explicit_profile.py::test_explicit_profile_with_cmdline - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_explicit_profile.py::test_explicit_profile_with_kernprof - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_explicit_profile.py::test_explicit_profile_with_in_code_enable - AttributeError: module 'ubelt' has no attribute 'ChDir'
FAILED test_explicit_profile.py::test_explicit_profile_with_duplicate_functions - AttributeError: module 'ubelt' has no attribute 'ChDir'
============================================== 17 failed, 17 passed, 1 warning in 1.60s ==============================================
Restoring cwd = '/home/mederic/.cache/yay/python-lineprofiler/src/line_profiler-4.1.2'
==> ERROR: A failure occurred in check().
    Aborting..

Disabling check solves the issue, allowing the package to build. The module can then be imported without issue.