Bug 41865 - httplib2/auth.py: module 'pyparsing' has no attribute 'downcaseTokens'
Summary: httplib2/auth.py: module 'pyparsing' has no attribute 'downcaseTokens'
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-module-httplib2 (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-03 16:40 MSK by Andrew Vasilyev
Modified: 2022-02-06 02:37 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Vasilyev 2022-02-03 16:40:00 MSK
При сборке resource-agents происходит ошибка из-за отсутствия атрибута downcaseTokens в модуле pyparsing:

Traceback (most recent call last):
  File "/usr/src/RPM/BUILD/resource-agents-4.10.0/heartbeat/gcp-pd-move", line 35, in <module>
    import googleapiclient.discovery
  File "/usr/lib/python3/site-packages/googleapiclient/discovery.py", line 42, in <module>
    import httplib2
  File "/usr/lib/python3/site-packages/httplib2/__init__.py", line 52, in <module>
    from . import auth
  File "/usr/lib/python3/site-packages/httplib2/auth.py", line 20, in <module>
    auth_param_name = token.copy().setName("auth-param-name").addParseAction(pp.downcaseTokens)
AttributeError: module 'pyparsing' has no attribute 'downcaseTokens'

  См. https://github.com/httplib2/httplib2/issues/207
  
  Исправление: замена pp.downcaseTokens на pp.pyparsing_common.downcase_tokens
  в auth.py пакета python3-modules-httplib2
  (https://askubuntu.com/questions/1371664/attributeerror-pyparsing-on-executing-the-update-manager).
Comment 1 Repository Robot 2022-02-06 02:37:09 MSK
python3-module-httplib2-0.20.4-alt1 -> sisyphus:

 Sat Feb 05 2022 Andrew A. Vasilyev <andy@altlinux> 0.20.4-alt1
 - NMU: new version 0.20.4 (ALT #41865)