Package Details: python-ibm-platform-services 0.53.2-1

Git Clone URL: https://aur.archlinux.org/python-ibm-platform-services.git (read-only, click to copy)
Package Base: python-ibm-platform-services
Description: Python client library for IBM Cloud Platform Services
Upstream URL: https://github.com/IBM/platform-services-python-sdk
Licenses: Apache-2.0
Submitter: iyanmv
Maintainer: iyanmv
Last Packager: iyanmv
Votes: 1
Popularity: 0.000001
First Submitted: 2022-06-18 20:58 (UTC)
Last Updated: 2024-04-12 13:11 (UTC)

Latest Comments

iyanmv commented on 2024-03-30 15:41 (UTC)

carlosal1015, petronny: this packages depends on python-ibm-cloud-sdk-core which requires urllib3>=2.1.0, but that is not available yet in [extra] so the all those tests fail because backoff_max parameter was only added to the Retry class in version version 2.0.0. For now, I suggest you build the package with --nocheck.

petronny commented on 2024-03-29 08:00 (UTC)

Same error in check(). Full build log: https://github.com/arch4edu/cactus/actions/runs/8467515089/job/23198499930

carlosal1015 commented on 2024-03-14 15:06 (UTC)

Hi, I have the following message error

==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0
rootdir: /build/python-ibm-platform-services/src/platform-services-python-sdk-0.52.0
collected 2090 items

test/unit/test_case_management_v1.py ...F.F...F.F.F.F.F.F.F.F.F.F.F.F.F. [  1%]
F.F.F.F.F.F.F.F...................                                       [  3%]
test/unit/test_catalog_management_v1.py ...F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [  4%]
.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [  8%]
.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [ 11%]
.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [ 15%]
.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [ 18%]
.F.F.F.F.F.F.F.F.F.F.................................................... [ 22%]
.....                                                                    [ 22%]
test/unit/test_common.py .                                               [ 22%]
test/unit/test_context_based_restrictions_v1.py ...F.F.F.F.F.F.F.F.F.F.F [ 23%]
.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.................. [ 26%]
.......                                                                  [ 27%]
test/unit/test_enterprise_billing_units_v1.py ...F.F.F.F...F.F.F...F.F.F [ 28%]
........                                                                 [ 28%]
test/unit/test_enterprise_management_v1.py ...F.F.F.F...F.F.F.F.F.F.F.F. [ 30%]
F.F.F...F.F.F.F.F.F.F.F.F.F...F.F.F.F.F.F..........                      [ 32%]
test/unit/test_enterprise_usage_reports_v1.py ...F.F........             [ 33%]
test/unit/test_global_catalog_v1.py .................................... [ 35%]
.............................................                            [ 37%]
test/unit/test_global_search_v2.py ...F.F..                              [ 37%]
test/unit/test_global_tagging_v1.py ...F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.. [ 39%]
.........                                                                [ 39%]
test/unit/test_iam_access_groups_v2.py ...F.F.F.F.F.F...F.F.F.F.F.F.F.F. [ 41%]
F.F.F.F.F.F.F.F.F.F...F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F. [ 44%]
F.F.F.F.F.F.F.F.F.F.F.F.F.F...F.F.F.F.F.F...F.F.F.F.F.F.F.F.F.F.F.F.F.F. [ 48%]
F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F..................................... [ 51%]
......                                                                   [ 52%]
test/unit/test_iam_identity_v1.py ...F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [ 53%]
.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [ 57%]
.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [ 60%]
.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [ 64%]
.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.......... [ 67%]
...........................................                              [ 69%]
test/unit/test_iam_policy_management_v1.py ...F.F.F.F.F.F.F.F.F.F.F.F.F. [ 71%]
F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F. [ 74%]
F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F..................................... [ 77%]
..............                                                           [ 78%]
test/unit/test_ibm_cloud_shell_v1.py ....                                [ 78%]
test/unit/test_open_service_broker_v1.py ............................... [ 80%]
....                                                                     [ 80%]
test/unit/test_partner_billing_units_v1.py ...F.F.F.F.F.F..........      [ 81%]
test/unit/test_partner_usage_reports_v1.py ...F.F.F.........             [ 82%]
test/unit/test_resource_controller_v2.py ...F.F...F.F.F.F.F.F.F.F.F.F.F. [ 83%]
F.F...F.F.F...F.F.F.F.F.F.F.F...F.F.F.F.F.F.F.F.F.F...F.F.F.F.F.F.F.F.F. [ 87%]
F...F.F.F.F.F.F.F.F.F.F.F.F...F.F.F.F.F...............                   [ 89%]
test/unit/test_resource_manager_v2.py ...F.F.F.F.F.F.F.F.F.F.F.F.F.F.... [ 91%]
..                                                                       [ 91%]
test/unit/test_usage_metering_v4.py ......                               [ 91%]
test/unit/test_usage_reports_v4.py ...F.F.F.F.F.F.F.F.F.F.F...F.F.F...F. [ 93%]
F.F...F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F................................    [ 97%]
test/unit/test_user_management_v1.py ...F.F.F...F.F.F.F.F.F.F.F.F.F.F.F. [ 98%]
F.F.F.F.F.F.F.F.F..........                                              [100%]

=================================== FAILURES ===================================
_____________ TestGetCases.test_get_cases_all_params_with_retries ______________

self = <unit.test_case_management_v1.TestGetCases object at 0x7f4cfc9ad710>

    def test_get_cases_all_params_with_retries(self):
        # Enable retries and run test_get_cases_all_params.
>       _service.enable_retries()

test/unit/test_case_management_v1.py:142: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ibm_platform_services.case_management_v1.CaseManagementV1 object at 0x7f4cfda354d0>
max_retries = 4, retry_interval = 30.0

iyanmv commented on 2022-09-30 14:02 (UTC)

I was curious why it didn't fail to build using extra-x86_64-build, and I guess it was because before this change, python-build was also installing python-setuptools. I will have to double check all my packages here. Thanks for letting me know!

petronny commented on 2022-09-30 10:19 (UTC)

python-setuptools should be in makedepends:

==> Starting build()...
* Getting dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pep517/wrappers.py", line 319, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools'

Full build log: https://github.com/arch4edu/cactus/actions/runs/3156994952/jobs/5137333696