taskcat icon indicating copy to clipboard operation
taskcat copied to clipboard

[ERROR ] : AttributeError module 'collections' has no attribute 'Mapping'

Open mjkubba opened this issue 3 years ago • 2 comments

Describe the bug Getting [ERROR ] : AttributeError module 'collections' has no attribute 'Mapping' with python 3.10

To Reproduce Steps to reproduce the behavior:

  • With Python 3.10
  • Install using pip,
  • run taskcat test run
  1. Are you testing a QuickStart or Custom template? Custom
  2. Attach or link a copy of the template if possible (remove any sensitive info) Same behavior with any template
  3. Provide the parameters that you passed. (remove any sensitive info) none
  4. How did you install taskcat? (docker or pip3) pip3
  5. Are you using a profile, an instance role or access keys to run taskcat? profile
  6. Is your AWS environment configured via aws configure? yes Expected behavior running the test

Screenshots If applicable, add screenshots to help explain your problem.

**Version (Please make sure you are running the latest version of taskcat)

  • Taskcat Version (version 0.9.29)

Note: Python Version (python3 required)

To find versions: Via taskcat: taskcat -V Via pip3: pip3 show taskcat

Note: both version should match

To update taskcat run: for docker : docker pull taskcat/taskcat for pip3: pip3 install --upgrade taskcat

Additional context Add any other context about the problem here.

mjkubba avatar Jan 13 '22 20:01 mjkubba

Try running with Python 3.8 - seems like an issue with newer versions

brianloyal avatar May 26 '22 21:05 brianloyal

Ended up doing that, using cloud9 with python3.7 instead, but I think this should be fixed longterm.

mjkubba avatar May 26 '22 21:05 mjkubba

3.9+ support is pending #626

andrew-glenn avatar Aug 10 '22 18:08 andrew-glenn