Title: AttributeError: module 'collections' has no attribute 'MutableMapping' · Issue #17 · sciserver/SciScript-Python · GitHub
Open Graph Title: AttributeError: module 'collections' has no attribute 'MutableMapping' · Issue #17 · sciserver/SciScript-Python
X Title: AttributeError: module 'collections' has no attribute 'MutableMapping' · Issue #17 · sciserver/SciScript-Python
Description: While executing the UnitTests.py file, the following error is given while using python 3.10: AttributeError: module 'collections' has no attribute 'MutableMapping' This is called due to a conflict in the new version of python where attri...
Open Graph Description: While executing the UnitTests.py file, the following error is given while using python 3.10: AttributeError: module 'collections' has no attribute 'MutableMapping' This is called due to a conflict ...
X Description: While executing the UnitTests.py file, the following error is given while using python 3.10: AttributeError: module 'collections' has no attribute 'MutableMapping' This is called du...
Opengraph URL: https://github.com/sciserver/SciScript-Python/issues/17
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AttributeError: module 'collections' has no attribute 'MutableMapping'","articleBody":"While executing the UnitTests.py file, the following error is given while using python 3.10:\r\nAttributeError: module 'collections' has no attribute 'MutableMapping'\r\n\r\nThis is called due to a conflict in the new version of python where attribute MutableMapping is no longer in the module collections. It was moved to collections.abc.MutableMapping.\r\n\r\nTo work arround this issue, the compatibility.py file in ~/.local/lib/python3.10/site-packages/unittest2 should be edit as in [here](https://stackoverflow.com/questions/70943244/attributeerror-module-collections-has-no-attribute-mutablemapping):\r\n```\r\nimport collections \r\nif sys.version_info.major == 3 and sys.version_info.minor \u003e= 10:\r\n from collections.abc import MutableMapping\r\nelse: \r\n from collections import MutableMapping\r\n```\r\nAdditionally, the class where \"collections.MutableMapping\" is called should be replace by \"MutableMapping\".\r\n","author":{"url":"https://github.com/pedro-acunha","@type":"Person","name":"pedro-acunha"},"datePublished":"2022-07-19T10:36:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/17/SciScript-Python/issues/17"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a71bedc2-e1b7-6ca8-b3ee-7eb750eb6e9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD60:348D9:76713F:A7EF35:696FAFE1 |
| html-safe-nonce | f6f168d7d0b3c83136aa0978bb4f84b2526c4d32472dee4fc652a7441277eb21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDYwOjM0OEQ5Ojc2NzEzRjpBN0VGMzU6Njk2RkFGRTEiLCJ2aXNpdG9yX2lkIjoiNTE4MDA5MDg3NDE0MTMyMzIzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ef263f329ceeed0893109a6990d752ba6fad095d1d35e97940eecb018701544e |
| hovercard-subject-tag | issue:1309321957 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sciserver/SciScript-Python/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1de5503cc82d2d77dfd4f75fc8fb336c8a0f2fc64c838100ecd4ade35c24dd06/sciserver/SciScript-Python/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1de5503cc82d2d77dfd4f75fc8fb336c8a0f2fc64c838100ecd4ade35c24dd06/sciserver/SciScript-Python/issues/17 |
| og:image:alt | While executing the UnitTests.py file, the following error is given while using python 3.10: AttributeError: module 'collections' has no attribute 'MutableMapping' This is called due to a conflict ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pedro-acunha |
| hostname | github.com |
| expected-hostname | github.com |
| None | 356c704aafcc9a6179b2bc62a546ee20a28226cdeddba29d8ae86c3750ef0f76 |
| turbo-cache-control | no-preview |
| go-import | github.com/sciserver/SciScript-Python git https://github.com/sciserver/SciScript-Python.git |
| octolytics-dimension-user_id | 15526376 |
| octolytics-dimension-user_login | sciserver |
| octolytics-dimension-repository_id | 50931595 |
| octolytics-dimension-repository_nwo | sciserver/SciScript-Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 50931595 |
| octolytics-dimension-repository_network_root_nwo | sciserver/SciScript-Python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e19b0670387556fcdd8027326ad85eecb0b536dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width