[Bug 2123760] Review Request: python-opfunu - Benchmark functions for numerical optimization problems

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

 



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



--- Comment #5 from Ben Beasley <code@xxxxxxxxxxxxxxxxxx> ---
I’m finding that it doesn’t build in mock due to a missing BR on requests:

==================================== ERRORS
====================================
__________________ ERROR collecting examples/test_cec2020.py
___________________
ImportError while importing test module
'/builddir/build/BUILD/opfunu-1.0.0/examples/test_cec2020.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
examples/test_cec2020.py:7: in <module>
    from opfunu.cec.cec2020.constant import benchmark_function as BF
opfunu/__init__.py:35: in <module>
    from .utils import *
opfunu/utils/__init__.py:6: in <module>
    from .visualize import *
opfunu/utils/visualize.py:10: in <module>
    import requests
E   ModuleNotFoundError: No module named 'requests'

Would it be better to patch them into setup.py in the manner of
https://github.com/thieu1995/opfunu/pull/8 ?


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2123760
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




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

  Powered by Linux