Title: DeprecationWarning for pkg_resources.declare_namespace('telesign') in Python 3.11 · Issue #19 · TeleSign/python_telesign · GitHub
Open Graph Title: DeprecationWarning for pkg_resources.declare_namespace('telesign') in Python 3.11 · Issue #19 · TeleSign/python_telesign
X Title: DeprecationWarning for pkg_resources.declare_namespace('telesign') in Python 3.11 · Issue #19 · TeleSign/python_telesign
Description: Hello, While working with Telesign in a Django project using Python 3.11, I encountered the following DeprecationWarning: /Users/yousefalmutairi/Desktop/dev/fecare-django/venv/lib/python3.11/site-packages/telesign/__init__.py:3: Deprecat...
Open Graph Description: Hello, While working with Telesign in a Django project using Python 3.11, I encountered the following DeprecationWarning: /Users/yousefalmutairi/Desktop/dev/fecare-django/venv/lib/python3.11/site-p...
X Description: Hello, While working with Telesign in a Django project using Python 3.11, I encountered the following DeprecationWarning: /Users/yousefalmutairi/Desktop/dev/fecare-django/venv/lib/python3.11/site-p...
Opengraph URL: https://github.com/TeleSign/python_telesign/issues/19
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DeprecationWarning for pkg_resources.declare_namespace('telesign') in Python 3.11","articleBody":"Hello,\r\n\r\nWhile working with Telesign in a Django project using Python 3.11, I encountered the following DeprecationWarning:\r\n\r\n\r\n```\r\n/Users/yousefalmutairi/Desktop/dev/fecare-django/venv/lib/python3.11/site-packages/telesign/__init__.py:3: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('telesign')`.\r\n Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages\r\n __import__('pkg_resources').declare_namespace(__name__)\r\n```\r\n\r\nIt appears that the method pkg_resources.declare_namespace is deprecated and the recommendation is to implement implicit namespace packages as specified in [PEP 420](https://www.python.org/dev/peps/pep-0420/). This newer method is preferred over the use of pkg_resources.declare_namespace.\r\n\r\nI wanted to bring this to your attention in case it hasn't been reported yet. Addressing this warning would ensure better compatibility with newer Python versions and reduce noise during testing and development.\r\n\r\nThank you for your efforts in maintaining the Telesign package!","author":{"url":"https://github.com/YDA93","@type":"Person","name":"YDA93"},"datePublished":"2023-09-17T23:54:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/19/python_telesign/issues/19"}
| 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:ac114050-57f1-0bd7-44c1-de46d2d18e6d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9802:3B5BF:17B830B:1E76E13:69908C00 |
| html-safe-nonce | a18b170bfbff94877edba85a7c8887890f1839745057d275bdb77660a1ffaa64 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODAyOjNCNUJGOjE3QjgzMEI6MUU3NkUxMzo2OTkwOEMwMCIsInZpc2l0b3JfaWQiOiI4NDE4ODc4ODcxMTQzNzQ2NTYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e248011bc2f7266bbcbb251a110aa6a48281bd7e03afa84e9cc4773bdda7d1bf |
| hovercard-subject-tag | issue:1899968738 |
| 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/TeleSign/python_telesign/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/519b08cd043f9769a01dd25959a7432b12dee17a16a4c7732919b177f3bb7a84/TeleSign/python_telesign/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/519b08cd043f9769a01dd25959a7432b12dee17a16a4c7732919b177f3bb7a84/TeleSign/python_telesign/issues/19 |
| og:image:alt | Hello, While working with Telesign in a Django project using Python 3.11, I encountered the following DeprecationWarning: /Users/yousefalmutairi/Desktop/dev/fecare-django/venv/lib/python3.11/site-p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | YDA93 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/TeleSign/python_telesign git https://github.com/TeleSign/python_telesign.git |
| octolytics-dimension-user_id | 1512676 |
| octolytics-dimension-user_login | TeleSign |
| octolytics-dimension-repository_id | 5373307 |
| octolytics-dimension-repository_nwo | TeleSign/python_telesign |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5373307 |
| octolytics-dimension-repository_network_root_nwo | TeleSign/python_telesign |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width