googleapis / python-pubsub

Apache License 2.0
392 stars 205 forks source link

pubsub library in python 3.9.12 causing a potential circular import error #665

Closed catsarebetter98 closed 2 years ago

catsarebetter98 commented 2 years ago

Environment details

Only happening when deploying to Render, local is working fine.

Steps to reproduce

  1. ?
  2. ?

Stack trace

Apr 21 01:24:15 AM  ==> Using Python version: 3.9.12
Apr 21 01:24:21 AM  ==> Running build command './build.sh'...
Apr 21 01:24:24 AM  Installing dependencies from lock file
Apr 21 01:24:26 AM  Package operations: 82 installs, 0 updates, 0 removals
Apr 21 01:24:26 AM    • Installing pyasn1 (0.4.8)
Apr 21 01:24:26 AM    • Installing pyparsing (3.0.8)
Apr 21 01:24:28 AM    • Installing httplib2 (0.20.4)
Apr 21 01:24:28 AM    • Installing protobuf (3.20.0)
Apr 21 01:24:28 AM    • Installing pyasn1-modules (0.2.8)
Apr 21 01:24:28 AM    • Installing pycparser (2.21)
Apr 21 01:24:28 AM    • Installing rsa (4.8)
Apr 21 01:24:28 AM    • Installing six (1.16.0)
Apr 21 01:24:32 AM    • Installing cffi (1.15.0)
Apr 21 01:24:32 AM    • Installing future (0.18.2)
Apr 21 01:24:32 AM    • Installing googleapis-common-protos (1.56.0)
Apr 21 01:24:32 AM    • Installing grpcio (1.45.0)
Apr 21 01:24:32 AM    • Installing oauth2client (4.1.3)
Apr 21 01:24:32 AM    • Installing ply (3.8)
Apr 21 01:24:32 AM    • Installing vine (5.0.0)
Apr 21 01:24:32 AM    • Installing wcwidth (0.2.5)
Apr 21 01:24:32 AM    • Installing wrapt (1.14.0)
Apr 21 01:24:39 AM    • Installing amqp (5.1.1)
Apr 21 01:24:39 AM    • Installing asgiref (3.5.0)
Apr 21 01:24:39 AM    • Installing cachetools (5.0.0)
Apr 21 01:24:39 AM    • Installing certifi (2021.10.8)
Apr 21 01:24:39 AM    • Installing charset-normalizer (2.0.12)
Apr 21 01:24:39 AM    • Installing click (8.1.2)
Apr 21 01:24:39 AM    • Installing cryptography (36.0.2)
Apr 21 01:24:39 AM    • Installing deprecated (1.2.13)
Apr 21 01:24:39 AM    • Installing google-gax (0.12.5)
Apr 21 01:24:39 AM    • Installing grpc-google-logging-v2 (0.8.1)
Apr 21 01:24:39 AM    • Installing idna (3.3)
Apr 21 01:24:39 AM    • Installing grpc-google-pubsub-v1 (0.8.1)
Apr 21 01:24:45 AM    • Installing prompt-toolkit (3.0.29)
Apr 21 01:24:45 AM    • Installing pytz (2022.1)
Apr 21 01:24:45 AM    • Installing sqlparse (0.4.2)
Apr 21 01:24:45 AM    • Installing urllib3 (1.26.9)
Apr 21 01:24:50 AM    • Installing async-timeout (4.0.2)
Apr 21 01:24:50 AM    • Installing billiard (3.6.4.0)
Apr 21 01:24:50 AM    • Installing click-didyoumean (0.3.0)
Apr 21 01:24:50 AM    • Installing click-plugins (1.1.1)
Apr 21 01:24:50 AM    • Installing click-repl (0.2.0)
Apr 21 01:24:50 AM    • Installing defusedxml (0.7.1)
Apr 21 01:24:50 AM    • Installing django (3.2.13)
Apr 21 01:24:50 AM    • Installing gax-google-logging-v2 (0.8.3)
Apr 21 01:24:50 AM    • Installing google-auth (2.6.5)
Apr 21 01:24:50 AM    • Installing gax-google-pubsub-v1 (0.8.3)
Apr 21 01:24:50 AM    • Installing jwcrypto (1.0)
Apr 21 01:24:50 AM    • Installing grpcio-status (1.45.0)
Apr 21 01:24:56 AM    • Installing kombu (5.2.4)
Apr 21 01:24:57 AM    • Installing oauthlib (3.2.0)
Apr 21 01:24:57 AM    • Installing packaging (21.3)
Apr 21 01:24:57 AM    • Installing python-dateutil (2.8.2)
Apr 21 01:24:57 AM    • Installing requests (2.27.1)
Apr 21 01:25:03 AM    • Installing celery (5.2.6)
Apr 21 01:25:03 AM    • Installing django-crispy-forms (1.14.0)
Apr 21 01:25:03 AM    • Installing django-timezone-field (4.2.3)
Apr 21 01:25:03 AM    • Installing djangorestframework (3.13.1)
Apr 21 01:25:03 AM    • Installing gcloud (0.18.3)
Apr 21 01:25:03 AM    • Installing google-api-core (2.7.2)
Apr 21 01:25:04 AM    • Installing grpc-google-iam-v1 (0.12.4)
Apr 21 01:25:04 AM    • Installing proto-plus (1.20.3)
Apr 21 01:25:04 AM    • Installing pycryptodome (3.14.1)
Apr 21 01:25:04 AM    • Installing pyjwt (2.3.0)
Apr 21 01:25:04 AM    • Installing python-jwt (3.3.2)
Apr 21 01:25:04 AM    • Installing python-crontab (2.6.0)
Apr 21 01:25:09 AM    • Installing python3-openid (3.2.0)
Apr 21 01:25:09 AM    • Installing redis (4.2.2)
Apr 21 01:25:09 AM    • Installing requests-oauthlib (1.3.1)
Apr 21 01:25:10 AM    • Installing requests-toolbelt (0.9.1)
Apr 21 01:25:16 AM    • Installing crispy-bootstrap5 (0.6)
Apr 21 01:25:16 AM    • Installing dj-database-url (0.5.0)
Apr 21 01:25:16 AM    • Installing django-allauth (0.50.0)
Apr 21 01:25:16 AM    • Installing django-anymail (8.5)
Apr 21 01:25:16 AM    • Installing django-cors-headers (3.11.0)
Apr 21 01:25:16 AM    • Installing django-celery-beat (2.2.1)
Apr 21 01:25:16 AM    • Installing django-environ (0.8.1)
Apr 21 01:25:16 AM    • Installing django-debug-toolbar (3.2.4)
Apr 21 01:25:16 AM    • Installing django-extensions (3.1.5)
Apr 21 01:25:16 AM    • Installing django-hosts (5.1)
Apr 21 01:25:16 AM    • Installing django-rest-framework (0.1.0)
Apr 21 01:25:16 AM    • Installing django-redis (5.2.0)
Apr 21 01:25:22 AM    • Installing google-cloud-pubsub (2.12.0)
Apr 21 01:25:22 AM    • Installing psycopg2 (2.9.3)
Apr 21 01:25:23 AM    • Installing pyrebase4 (4.5.0)
Apr 21 01:25:23 AM    • Installing whitenoise (6.0.0)
==> Uploading build...
Apr 21 01:26:08 AM  Traceback (most recent call last):
  File "/usr/bin/../lib/google-cloud-sdk/bin/bootstrapping/gsutil.py", line 16, in <module>
    import bootstrapping
  File "/usr/lib/google-cloud-sdk/bin/bootstrapping/bootstrapping.py", line 46, in <module>
    from googlecloudsdk.core.updater import update_manager
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/updater/update_manager.py", line 40, in <module>
    from googlecloudsdk.core.resource import resource_printer
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/resource/resource_printer.py", line 42, in <module>
    from googlecloudsdk.core.resource import config_printer
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/resource/config_printer.py", line 25, in <module>
    from googlecloudsdk.core.resource import resource_printer_base
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/resource/resource_printer_base.py", line 47, in <module>
    from googlecloudsdk.core.resource import resource_projector
  File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/resource/resource_projector.py", line 71, in <module>
    import proto  # pylint: disable=g-import-not-at-top
  File "/usr/lib/google-cloud-sdk/lib/third_party/proto/__init__.py", line 15, in <module>
    from .enums import Enum
  File "/usr/lib/google-cloud-sdk/lib/third_party/proto/enums.py", line 17, in <module>
    from google.protobuf import descriptor_pb2
  File "/usr/lib/google-cloud-sdk/lib/third_party/google/protobuf/__init__.py", line 37, in <module>
    __import__('pkg_resources').declare_namespace(__name__)
  File "/usr/lib/google-cloud-sdk/lib/third_party/pkg_resources/__init__.py", line 3031, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/google-cloud-sdk/lib/third_party/pkg_resources/__init__.py", line 3014, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/google-cloud-sdk/lib/third_party/pkg_resources/__init__.py", line 3056, in _initialize_master_working_set
    tuple(
  File "/usr/lib/google-cloud-sdk/lib/third_party/pkg_resources/__init__.py", line 3057, in <genexpr>
    dist.activate(replace=False)
  File "/usr/lib/google-cloud-sdk/lib/third_party/pkg_resources/__init__.py", line 2588, in activate
    declare_namespace(pkg)
  File "/usr/lib/google-cloud-sdk/lib/third_party/pkg_resources/__init__.py", line 2156, in declare_namespace
    _handle_ns(packageName, path_item)
  File "/usr/lib/google-cloud-sdk/lib/third_party/pkg_resources/__init__.py", line 2091, in _handle_ns
    loader.load_module(packageName)
  File "/usr/lib/google-cloud-sdk/lib/third_party/google/pubsub/__init__.py", line 18, in <module>
    from google.pubsub_v1.services.publisher.async_client import PublisherAsyncClient
  File "/usr/lib/google-cloud-sdk/lib/third_party/google/pubsub_v1/__init__.py", line 18, in <module>
    from .services.publisher import PublisherClient
  File "/usr/lib/google-cloud-sdk/lib/third_party/google/pubsub_v1/services/publisher/__init__.py", line 18, in <module>
    from .client import PublisherClient
  File "/usr/lib/google-cloud-sdk/lib/third_party/google/pubsub_v1/services/publisher/client.py", line 37, in <module>
    from google.pubsub_v1.services.publisher import pagers
  File "/usr/lib/google-cloud-sdk/lib/third_party/google/pubsub_v1/services/publisher/pagers.py", line 20, in <module>
    from google.pubsub_v1.types import pubsub
  File "/usr/lib/google-cloud-sdk/lib/third_party/google/pubsub_v1/types/__init__.py", line 18, in <module>
    from .schema import (
  File "/usr/lib/google-cloud-sdk/lib/third_party/google/pubsub_v1/types/schema.py", line 21, in <module>
    __protobuf__ = proto.module(
AttributeError: partially initialized module 'proto' has no attribute 'module' (most likely due to a circular import)
acocuzzo commented 2 years ago

Hi @catsarebetter98 Thank you for the trace. A couple of questions for you:

  1. What are the steps to reproduce (aka what commands are you running on the Render deploy)?
  2. Is there any difference on Python 3.10, Python <3.9.12, or an older version of the library?
  3. Can you please attach your pip freeze from your working environment and the Render environment?
catsarebetter98 commented 2 years ago

@acocuzzo Hi, sorry for the late response!

  1. Build commands:
    
    #!/usr/bin/env bash
    # exit on error
    set -o errexit

poetry install python manage.py collectstatic --no-input python manage.py migrate

2. Yes, on 3.10, there was a different error but it was on local. [This issue](https://stackoverflow.com/questions/70870041/cannot-import-name-mutablemapping-from-collections)

3. On local (working environment)

(blog-HyLcIuQK-py3.9) bash-3.2$ pip freeze amqp @ file:///Users/hide/Library/Caches/pypoetry/artifacts/f1/e8/62/38ad28965576800ba76a7b1edcc99b1c32c3386d645a5ab6a72073cac0/amqp-5.1.1-py3-none-any.whl asgiref @ file:///Users/hide/Library/Caches/pypoetry/artifacts/97/19/96/6fe4e79be71b46c24f8ad1d77086edd058efc60976b764fcac45c2e160/asgiref-3.5.0-py3-none-any.whl async-timeout @ file:///Users/hide/Library/Caches/pypoetry/artifacts/62/ff/30/bd0ec891880d93bf40cf6e7c53ab08dd9eb6af45fa532c030731e6eed0/async_timeout-4.0.2-py3-none-any.whl billiard @ file:///Users/hide/Library/Caches/pypoetry/artifacts/cf/59/06/55d38419b5aa6e1fe731cb9d5dfdc4fa930000cc089eb421e3d039cfc2/billiard-3.6.4.0-py3-none-any.whl blog==0.1.0 cachetools @ file:///Users/hide/Library/Caches/pypoetry/artifacts/8a/c3/ee/4c03d5398d7858010aa0573d8e7ef7d1ff2a39ee05b48344ca931bb3a4/cachetools-5.0.0-py3-none-any.whl celery @ file:///Users/hide/Library/Caches/pypoetry/artifacts/ac/d5/68/ee9c7f4340f8b22449102a69d685295aa192ba0a94289433c2ce459ae5/celery-5.2.6-py3-none-any.whl certifi @ file:///Users/hide/Library/Caches/pypoetry/artifacts/71/9a/ba/a51b34ce9aacf9ac5dbb90d7c7335877522ee188189d9a521ee1a9c411/certifi-2021.10.8-py2.py3-none-any.whl cffi @ file:///Users/hide/Library/Caches/pypoetry/artifacts/a2/7a/43/2b033e3d3a6a9dd99e9eb48d37dba59612128e68b7fea38f2aa6108865/cffi-1.15.0-cp39-cp39-macosx_11_0_arm64.whl charset-normalizer @ file:///Users/hide/Library/Caches/pypoetry/artifacts/2b/25/ee/fa64b49cb44c9c392acf26e69ee8314d3b386932de86a9945f4ad2e633/charset_normalizer-2.0.12-py3-none-any.whl click @ file:///Users/hide/Library/Caches/pypoetry/artifacts/c1/84/b3/e7705da6adc67a18c1140d92bf8b4477ee2308a09e5eabd7fedba9bec6/click-8.1.2-py3-none-any.whl click-didyoumean @ file:///Users/hide/Library/Caches/pypoetry/artifacts/fc/14/66/e0f912d7ee8b42454ca7c5b7b2a5b9cec16198ea38cb018c904fc95c87/click_didyoumean-0.3.0-py3-none-any.whl click-plugins @ file:///Users/hide/Library/Caches/pypoetry/artifacts/87/75/c3/fb63a9b9f496004a8bf69eb791be6e419ca0cd59f1d7e250a1bd8322e3/click_plugins-1.1.1-py2.py3-none-any.whl click-repl @ file:///Users/hide/Library/Caches/pypoetry/artifacts/36/62/78/c7266ac6c43eed045786703622efa441aeb52948537f4332c66609e511/click_repl-0.2.0-py3-none-any.whl crispy-bootstrap5 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/6e/67/29/2b4623b0858d5fa6b3417f39e2b43b681f1adbbc500a4e5bf95ff4d8ab/crispy_bootstrap5-0.6-py3-none-any.whl cryptography @ file:///Users/hide/Library/Caches/pypoetry/artifacts/7e/79/67/39da4a3091504c1726a91816af3374ef35b4a4732826aaaf1e008951c6/cryptography-36.0.2-cp36-abi3-macosx_10_10_universal2.whl defusedxml @ file:///Users/hide/Library/Caches/pypoetry/artifacts/2b/69/07/7b13f7eaf3a4d7af737dcebe24d3d17b1c2a2f457fbddf746f5642bc43/defusedxml-0.7.1-py2.py3-none-any.whl Deprecated @ file:///Users/hide/Library/Caches/pypoetry/artifacts/02/6c/d9/698c9c1be5d7e779bb2ff730bae7fb601b8d636233ca2ba1548761a514/Deprecated-1.2.13-py2.py3-none-any.whl dj-database-url @ file:///Users/hide/Library/Caches/pypoetry/artifacts/45/63/a9/658183194fc3125fc68440060966adc5dd0a3fc4ce8fed4192341b49bf/dj_database_url-0.5.0-py2.py3-none-any.whl Django @ file:///Users/hide/Library/Caches/pypoetry/artifacts/47/01/d7/153742013844a035ecb592b343a62819d92393a1944a692773005efea8/Django-3.2.13-py3-none-any.whl django-allauth @ file:///Users/hide/Library/Caches/pypoetry/artifacts/9c/9c/86/332f973f2451a57672cfdfc4d9c80d6174760661f16984e88ce27fd669/django-allauth-0.50.0.tar.gz django-anymail @ file:///Users/hide/Library/Caches/pypoetry/artifacts/a5/01/ca/14459dfd3d618f9fe061b89b0b73d0d25683bfb69b0f9543018cfcb224/django_anymail-8.5-py3-none-any.whl django-celery-beat @ file:///Users/hide/Library/Caches/pypoetry/artifacts/82/ac/53/4609ac74ed15e18d1dbdf0e742e24b921cece2579cffb9e5596a211af9/django_celery_beat-2.2.1-py2.py3-none-any.whl django-cors-headers @ file:///Users/hide/Library/Caches/pypoetry/artifacts/fa/e5/56/9198ecd14af0ca2cc975c0e8570374addcdbcb45de6b9cc456156fa487/django_cors_headers-3.11.0-py3-none-any.whl django-crispy-forms @ file:///Users/hide/Library/Caches/pypoetry/artifacts/32/32/ab/908c3fa4eda584e7af5c1d2877afaee8debd9f4a5916bf560cf705e9e5/django_crispy_forms-1.14.0-py3-none-any.whl django-debug-toolbar @ file:///Users/hide/Library/Caches/pypoetry/artifacts/58/74/61/f227b9dce16c03b515318bfdeadae6fcd22107ed69534375ef40a05f67/django_debug_toolbar-3.2.4-py3-none-any.whl django-environ @ file:///Users/hide/Library/Caches/pypoetry/artifacts/de/a6/2c/379d5d802333416e723cb8b0184d2c45aec394a480cfedfd7a25cae182/django_environ-0.8.1-py2.py3-none-any.whl django-extensions @ file:///Users/hide/Library/Caches/pypoetry/artifacts/0d/65/85/4da0ae6bae7e2a476d39dce1713d309f0aec4445ce2032439e5b90bbf4/django_extensions-3.1.5-py3-none-any.whl django-hosts @ file:///Users/hide/Library/Caches/pypoetry/artifacts/2f/f5/c9/6fdf61d402a0e3e855e50e964118e2ac20aaddf679e40a12b403b030dc/django_hosts-5.1-py3-none-any.whl django-redis @ file:///Users/hide/Library/Caches/pypoetry/artifacts/9a/60/13/402f2e3a73f685c3784e434623230a5791f345ce1c64199df364fd0aca/django_redis-5.2.0-py3-none-any.whl django-rest-framework @ file:///Users/hide/Library/Caches/pypoetry/artifacts/25/66/72/4085d4ee8d40fd2f17807df5bbb4f87bf25c07cc09104f61539f792673/django-rest-framework-0.1.0.tar.gz django-timezone-field @ file:///Users/hide/Library/Caches/pypoetry/artifacts/6a/b7/b6/8d63601b10b8b45a6c27d37559c6cbe0054346654059811ed8f303937a/django_timezone_field-4.2.3-py3-none-any.whl djangorestframework @ file:///Users/hide/Library/Caches/pypoetry/artifacts/4a/0e/8b/eb31ad1f5a8d0aef287e2de8aeed7d250803677468c74b0abd296678b8/djangorestframework-3.13.1-py3-none-any.whl future @ file:///Users/hide/Library/Caches/pypoetry/artifacts/f8/58/55/86be1f567b212fdd98854d12815964a49db8fb1bcff725018e5f95c61d/future-0.18.2.tar.gz gax-google-logging-v2 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/2f/71/2e/ec1c4c84c3e10ebef152c75da3da7fc7a110b2e77ba35e175059aafbaa/gax-google-logging-v2-0.8.3.tar.gz gax-google-pubsub-v1 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/35/73/a5/e0f3d4a0de229d82fdfa140ebaec3620c92390500b3c02eaa8fecdda25/gax-google-pubsub-v1-0.8.3.tar.gz gcloud @ file:///Users/hide/Library/Caches/pypoetry/artifacts/f1/07/85/194968e6fc199040388941d49f7ccf6f28d6c0d0c80cbf2e75e00bbcfb/gcloud-0.18.3.tar.gz google-api-core @ file:///Users/hide/Library/Caches/pypoetry/artifacts/d8/90/23/188a83cbf6b05bef197817942f1202cdf4cb38af91d0f8aa5ffec5649d/google_api_core-2.7.2-py3-none-any.whl google-auth @ file:///Users/hide/Library/Caches/pypoetry/artifacts/7e/e5/c7/83741e1b5d005e199a97f3a717c1aa617cc40c4ddb63f4cf5976f075ee/google_auth-2.6.5-py2.py3-none-any.whl google-cloud-pubsub @ file:///Users/hide/Library/Caches/pypoetry/artifacts/ae/6f/6f/cd61171a05bfdd8e01673c35dd87d745ac04e2d199ee8c745be6ad6ff2/google_cloud_pubsub-2.12.0-py2.py3-none-any.whl google-gax @ file:///Users/hide/Library/Caches/pypoetry/artifacts/1f/d5/e5/e1d79b42c26ec1b8ae801b202a60f85fff3c82993a75a8611b9650a67b/google-gax-0.12.5.tar.gz googleapis-common-protos @ file:///Users/hide/Library/Caches/pypoetry/artifacts/77/03/40/c9ccd6f364aadbc110d86bf95cda9a0bb13f5a2e4d9d56cb5882faddc3/googleapis_common_protos-1.56.0-py2.py3-none-any.whl grpc-google-iam-v1 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/94/1d/e1/fa34dff4cd6f3ce4c4dbf527c0bb159f8b8a19a1c4bc8094c561c9c8f0/grpc_google_iam_v1-0.12.4-py2.py3-none-any.whl grpc-google-logging-v2 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/d7/d4/5f/349847f74795b0cd9fd4a2f0fcd6be2400f6b6f9a3f676f390cd4b7c5a/grpc-google-logging-v2-0.8.1.tar.gz grpc-google-pubsub-v1 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/03/a8/42/5123d03d69871b596357ae2234d2e0f8a9095a15a050e8bc6c995440e8/grpc-google-pubsub-v1-0.8.1.tar.gz grpcio @ file:///Users/hide/Library/Caches/pypoetry/artifacts/0a/cb/ae/ccb84b9125ee3f5aeb6d02fa2b2acab1dfd7ecb9ed5b3e6395748eb062/grpcio-1.45.0.tar.gz grpcio-status @ file:///Users/hide/Library/Caches/pypoetry/artifacts/26/2a/ec/0200f6c0a79e55c82342cddc12cf684b3b7d382a982cb95a92a9f1b49f/grpcio_status-1.45.0-py3-none-any.whl httplib2 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/c6/2e/9f/94f6051b9625f73dd358e712750f247ac5b04dba20a02312500ea39e35/httplib2-0.20.4-py3-none-any.whl idna @ file:///Users/hide/Library/Caches/pypoetry/artifacts/d5/04/80/9c17fd3240a37d12ff2ef042b0306aeb1abd2d8b95f150fd60be938352/idna-3.3-py3-none-any.whl jwcrypto @ file:///Users/hide/Library/Caches/pypoetry/artifacts/1a/de/11/94b70cacde039c2e585dba1db3f6f0e3efc365a83963e27a967939b69b/jwcrypto-1.0-py2.py3-none-any.whl kombu @ file:///Users/hide/Library/Caches/pypoetry/artifacts/8c/c5/23/3e6fc173bdc7818f2850eac2e3c739a638c9481369e0f3bf9811dcbdd9/kombu-5.2.4-py3-none-any.whl oauth2client @ file:///Users/hide/Library/Caches/pypoetry/artifacts/56/ae/87/e2755ca14f1ce761e3e1947a0735c50c1b16753069ba2cbcd520708dc4/oauth2client-4.1.3-py2.py3-none-any.whl oauthlib @ file:///Users/hide/Library/Caches/pypoetry/artifacts/c6/3b/22/7300b1ccd5ea2dcd9b482a293df3be32bb19012ce24601d545a3cb94b9/oauthlib-3.2.0-py3-none-any.whl packaging @ file:///Users/hide/Library/Caches/pypoetry/artifacts/47/3f/ce/b240169f7d8bef1ff24a0269b709721ce86543c2ec25e0b6adb2c2d7ac/packaging-21.3-py3-none-any.whl ply @ file:///Users/hide/Library/Caches/pypoetry/artifacts/a7/e4/53/05eb0443805b4f798c2d58db349bca9ff12309b746a02826ad7df93bd2/ply-3.8.tar.gz prompt-toolkit @ file:///Users/hide/Library/Caches/pypoetry/artifacts/e1/4a/46/56618cbeca0c644b0319f11f52a0da301ae9f2c3c99b36cc4447de3797/prompt_toolkit-3.0.29-py3-none-any.whl proto-plus @ file:///Users/hide/Library/Caches/pypoetry/artifacts/6c/3f/2c/6ea95a696404f689e09b3dfe05be8f9e08e1b6255eca3c612290c40a96/proto_plus-1.20.3-py3-none-any.whl protobuf @ file:///Users/hide/Library/Caches/pypoetry/artifacts/45/d5/a1/3739a774b358db0b0d57aff7ce47a2e9d582adcf35bbe2b37afa63ebf4/protobuf-3.20.0-py2.py3-none-any.whl psycopg2 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/f6/49/78/b89af907a751026c6e97a38dca440a0d7eefc89601c8a58df0569153a2/psycopg2-2.9.3.tar.gz pyasn1 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/7b/3a/54/42ce43b579bda01b9d79022fb733811594441e7a32e9f9a5a98f672bdc/pyasn1-0.4.8-py2.py3-none-any.whl pyasn1-modules @ file:///Users/hide/Library/Caches/pypoetry/artifacts/dd/b8/4f/b56433e0354274a31074995e01b8671751e9f0ed0001f5254e5b03a54f/pyasn1_modules-0.2.8-py2.py3-none-any.whl pycparser @ file:///Users/hide/Library/Caches/pypoetry/artifacts/fb/06/dd/b5671b47dd0597663bc05d60d324bb315a8cef56f3179b8f9067f88e50/pycparser-2.21-py2.py3-none-any.whl pycryptodome @ file:///Users/hide/Library/Caches/pypoetry/artifacts/4e/1f/04/5f83d1a55918a0921a2105adcbec71d13c311b96966f30b455ed8731cb/pycryptodome-3.14.1.tar.gz PyJWT @ file:///Users/hide/Library/Caches/pypoetry/artifacts/6d/a2/4c/7218503a28c8d672d4374161e6e47a71ffc11c0046a535d2ff709af4ca/PyJWT-2.3.0-py3-none-any.whl pyparsing @ file:///Users/hide/Library/Caches/pypoetry/artifacts/f7/61/71/5bac0508995f8ebaceab01354033c3c0856257a7dda270f781575043ca/pyparsing-3.0.8-py3-none-any.whl Pyrebase4 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/ce/62/05/3944df3925bf27f3d55a3004ea62ecc8e680a70e04e38a529810fb314f/Pyrebase4-4.5.0-py3-none-any.whl python-crontab @ file:///Users/hide/Library/Caches/pypoetry/artifacts/0d/08/00/c859e5b04753577afc34d7c68fcec57182d0909dc7d34f71a673dad031/python-crontab-2.6.0.tar.gz python-dateutil @ file:///Users/hide/Library/Caches/pypoetry/artifacts/53/f8/2a/7d63ce15df7386e9536e83413453f8aa845b47fb425f05c4ca2fb231c3/python_dateutil-2.8.2-py2.py3-none-any.whl python-jwt @ file:///Users/hide/Library/Caches/pypoetry/artifacts/cf/e4/10/d74a9cf20fec57e3327c6ad257187d25dce9a7f51a8de93c11bf591f47/python_jwt-3.3.2-py2.py3-none-any.whl python3-openid @ file:///Users/hide/Library/Caches/pypoetry/artifacts/1f/82/2a/9ee77fff1d166e4fb92a4e474625188183ed34c63cf73820cd4c41120a/python3_openid-3.2.0-py3-none-any.whl pytz @ file:///Users/hide/Library/Caches/pypoetry/artifacts/fb/60/46/e704d81037c87ab74c6677ae79ab43dda85c31e3ae38f53c44486b593a/pytz-2022.1-py2.py3-none-any.whl redis @ file:///Users/hide/Library/Caches/pypoetry/artifacts/f4/8a/d0/1225e1a49bd3d8a9d493d7d8ed3926c0bfc454e56f8657ae63a912e537/redis-4.2.2-py3-none-any.whl requests @ file:///Users/hide/Library/Caches/pypoetry/artifacts/ff/f3/bc/a6781f93c2f9488431db494169bb514a083a1d77f3c325a277d8699398/requests-2.27.1-py2.py3-none-any.whl requests-oauthlib @ file:///Users/hide/Library/Caches/pypoetry/artifacts/33/73/31/43c706dd726dc855100e4221ec8d5a1b0a0e1587af3af00c76d1da9134/requests_oauthlib-1.3.1-py2.py3-none-any.whl requests-toolbelt @ file:///Users/hide/Library/Caches/pypoetry/artifacts/8e/17/53/6cd3006356454687a5ea705caf4f164292347c1fcf4939b1a43716ddb6/requests_toolbelt-0.9.1-py2.py3-none-any.whl rsa @ file:///Users/hide/Library/Caches/pypoetry/artifacts/29/ba/41/0ee0fcca877c94f32799d12775b513c1314a9712a5c2833dc5bacff2ab/rsa-4.8-py3-none-any.whl six @ file:///Users/hide/Library/Caches/pypoetry/artifacts/08/9f/47/c16ae03035fc69eaf100ea39657a49baaeef714e25a52575710c34cd48/six-1.16.0-py2.py3-none-any.whl sqlparse @ file:///Users/hide/Library/Caches/pypoetry/artifacts/ea/fd/ba/117a876397913faee210ef8bac93829e22ad9232662e656971383c0718/sqlparse-0.4.2-py3-none-any.whl urllib3 @ file:///Users/hide/Library/Caches/pypoetry/artifacts/86/4a/ad/37e91024d94f8218fc54b1fbb58b71888f53c1636daeb28593fa254ed2/urllib3-1.26.9-py2.py3-none-any.whl vine @ file:///Users/hide/Library/Caches/pypoetry/artifacts/c1/80/fc/ccb677b19dd37eb7ad77b94745e563b67472b45dbcfb34e75a6110f12f/vine-5.0.0-py2.py3-none-any.whl wcwidth @ file:///Users/hide/Library/Caches/pypoetry/artifacts/7d/f4/60/0737157bb9711fec72c70dff523aa54491eef317e0d586cf5388ff0908/wcwidth-0.2.5-py2.py3-none-any.whl whitenoise @ file:///Users/hide/Library/Caches/pypoetry/artifacts/b5/ec/a6/ae68887b70a09fca6cbced3337803b7b411dff1d5693853c603846536b/whitenoise-6.0.0-py3-none-any.whl wrapt @ file:///Users/hide/Library/Caches/pypoetry/artifacts/d9/20/93/fdb091168883efacd8a3fd6dc4fc61c749b3887a2e46d23504f7344303/wrapt-1.14.0-cp39-cp39-macosx_11_0_arm64.whl


On Render environment:

render@srv-c6jj347d17c5ahhf35d0-5448b4f474-vmvpx:~/project/src$ pip freeze amqp @ file:///opt/render/.cache/.python-poetry/cache/artifacts/20/e3/30/cbbbc11532a4e0acfd491d5eb156ac627b0e7e2747465067342c370e20/amqp-5.0.6-py3-none-any.whl argon2==0.1.10 argon2-cffi @ file:///opt/render/.cache/.python-poetry/cache/artifacts/70/98/52/6f319a6fc01c009f659f9c54d13933af4fa903d2ee789717191a00b8f4/argon2_cffi-21.1.0-cp35-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl asgiref @ file:///opt/render/.cache/.python-poetry/cache/artifacts/bd/31/74/b1bb0a15435f1f77e7ea3f7c6c2e9ca482e04987f6c6b26a5d9eca5c08/asgiref-3.4.1-py3-none-any.whl beautifulsoup4 @ file:///opt/render/.cache/.python-poetry/cache/artifacts/ce/53/aa/b46507c80da399137d3a6416e425e21d2476c5e8a3726e431b4f575a42/beautifulsoup4-4.10.0-py3-none-any.whl billiard @ file:///opt/render/.cache/.python-poetry/cache/artifacts/c2/5f/51/8b58438e60c61da7ed8d0a3a523a98e1906856d43b2ecbb2bf7c8be631/billiard-3.6.4.0-py3-none-any.whl blog==0.1.0 Brotli @ file:///opt/render/.cache/.python-poetry/cache/artifacts/37/9e/51/6aa54f868665393aa86fd43c4f654966a1081e70a45b85ecc60a495873/Brotli-1.0.9-cp37-cp37m-manylinux1_x86_64.whl cached-property @ file:///opt/render/.cache/.python-poetry/cache/artifacts/38/d8/aa/b8baaf6448a0029023e15cbfc6e1a278d60cc2e2b022c94bc850561996/cached_property-1.5.2-py2.py3-none-any.whl celery @ file:///opt/render/.cache/.python-poetry/cache/artifacts/64/8e/4d/b62bc03441b75332ba62e3686f0e4f30985583aa5db75dfa95f9fa224e/celery-5.2.1-py3-none-any.whl certifi @ file:///opt/render/.cache/.python-poetry/cache/artifacts/61/99/d0/9b77a70db9834d3d8281903159311224b92e6ac1cdab98dca7f6367740/certifi-2021.10.8-py2.py3-none-any.whl cffi @ file:///opt/render/.cache/.python-poetry/cache/artifacts/b1/61/e0/7e1df2df089d8188db657883837f596fb0f982f4ddf58fa0b8eebcd0f3/cffi-1.15.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl charset-normalizer @ file:///opt/render/.cache/.python-poetry/cache/artifacts/8d/9f/bc/7d29570cd59fdb89732d349beb5b17b3da8a29f107df860e93b537fae4/charset_normalizer-2.0.8-py3-none-any.whl click @ file:///opt/render/.cache/.python-poetry/cache/artifacts/6d/5e/aa/fb3ca17194ba9f3feb84939d73a0692cc5492cebad062aaed8cc6cf1b6/click-8.0.3-py3-none-any.whl click-didyoumean @ file:///opt/render/.cache/.python-poetry/cache/artifacts/d4/7d/c5/a12427d143180cd6e465ac60845fecbedadba5c19c307c76cf98a5dfda/click_didyoumean-0.3.0-py3-none-any.whl click-plugins @ file:///opt/render/.cache/.python-poetry/cache/artifacts/0c/50/67/ed34e73090ff8fe3b20f2d6d7d0cb9e53d56f0b11b28b6877bd7bb473c/click_plugins-1.1.1-py2.py3-none-any.whl click-repl @ file:///opt/render/.cache/.python-poetry/cache/artifacts/6f/fc/a9/44b7921dfb04c5e86c3c1845041af6683b8242c47db0a42083216c31ca/click_repl-0.2.0-py3-none-any.whl crispy-bootstrap5 @ file:///opt/render/.cache/.python-poetry/cache/artifacts/15/36/56/c00f1cec6cd51b3da052742ecf65ebe8316ae97df0dd4ed851959e4929/crispy_bootstrap5-0.6-py3-none-any.whl cryptography @ file:///opt/render/.cache/.python-poetry/cache/artifacts/f4/fa/cf/521714c275ccaddb9b32a054f22f991aec001d93b9d794535c57c88de5/cryptography-36.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl cssutils @ file:///opt/render/.cache/.python-poetry/cache/artifacts/5f/eb/1d/7965f6450b923a8568f5d012568eb84fe96c3b1345f0286ab95d35be6c/cssutils-2.3.0-py3-none-any.whl defusedxml @ file:///opt/render/.cache/.python-poetry/cache/artifacts/d3/69/a8/eb355ff24ffb8df62ec3dd9524bec0ad9d9dc719bd996734d6d7aa1d56/defusedxml-0.7.1-py2.py3-none-any.whl dj-database-url @ file:///opt/render/.cache/.python-poetry/cache/artifacts/f6/76/40/d166086a068d1d80011fe65ba6783955ca35eb186541cc10ee1a8d67e9/dj_database_url-0.5.0-py2.py3-none-any.whl Django @ file:///opt/render/.cache/.python-poetry/cache/artifacts/dc/e7/61/7c1e7233e20467a130580b3c361d8298900438760127b038f861d89ede/Django-3.2.9-py3-none-any.whl django-allauth==0.45.0 django-anymail @ file:///opt/render/.cache/.python-poetry/cache/artifacts/27/a6/c9/ee6c1b5ba8f30cd8754ccb3faed06d457c66f43131c56f2a48a390ceda/django_anymail-8.4-py3-none-any.whl django-celery-beat @ file:///opt/render/.cache/.python-poetry/cache/artifacts/b5/a0/01/b7738c5b6bd4570ecf75081aa3dcd4cf3f95d6e80fac9010ce15d0e035/django_celery_beat-2.2.1-py2.py3-none-any.whl django-cors-headers @ file:///opt/render/.cache/.python-poetry/cache/artifacts/c9/9e/65/7d76554df24b5c01c17ce6a748e582b61fa680861505c28aed6569d1a4/django_cors_headers-3.10.0-py3-none-any.whl django-crispy-forms @ file:///opt/render/.cache/.python-poetry/cache/artifacts/d5/65/3a/ac875d2862c720366e9f55e1622d3dd6e84d429a54bbdc79609182b93d/django_crispy_forms-1.13.0-py3-none-any.whl django-debug-toolbar @ file:///opt/render/.cache/.python-poetry/cache/artifacts/05/fa/27/f9f05583b6faedb369f4c22d04e021a5aafee6d3ff39765ae84b7bcc9d/django_debug_toolbar-3.2.2-py3-none-any.whl django-environ @ file:///opt/render/.cache/.python-poetry/cache/artifacts/ac/65/e2/0ab0609c758698dac1b9917c339313b9a1007de83103d0acbcb6cb8400/django_environ-0.7.0-py2.py3-none-any.whl django-extensions @ file:///opt/render/.cache/.python-poetry/cache/artifacts/bd/52/20/ae57264aca8bc970537268c86555b4155c9d487eb32f3c3a35538a32ea/django_extensions-3.1.5-py3-none-any.whl django-inlinecss @ file:///opt/render/.cache/.python-poetry/cache/artifacts/c9/ac/c9/4451005fc1f274e9fd68651e8aab98637cd681b9f337a50d6af4597458/django_inlinecss-0.3.0-py2.py3-none-any.whl django-model-utils @ file:///opt/render/.cache/.python-poetry/cache/artifacts/3b/4c/4d/5b994aac5172b6f7d062eb234ec7303f557451068f17f0cb27f8aa46f5/django_model_utils-4.2.0-py3-none-any.whl django-redis @ file:///opt/render/.cache/.python-poetry/cache/artifacts/83/8d/ca/444b64f7e460f4f79e4c225fc4585298bc81c80fc1b9941f80a32275c8/django_redis-5.1.0-py3-none-any.whl django-timezone-field @ file:///opt/render/.cache/.python-poetry/cache/artifacts/59/ad/aa/a5391b1a1b797bebc31dd2392b084664798e25fe0feb593f5e7acbe1ed/django_timezone_field-4.2.1-py3-none-any.whl djangorestframework @ file:///opt/render/.cache/.python-poetry/cache/artifacts/74/7c/8a/c1931b60c71c267d74753ce1999d1a9936d17e3a61f26b9563fc67fdb5/djangorestframework-3.12.4-py3-none-any.whl future==0.18.2 gunicorn @ file:///opt/render/.cache/.python-poetry/cache/artifacts/b7/32/ce/1ecf02a943e471afaededc093f9667e869f1c92bdcdd76f6f215f4cf08/gunicorn-20.1.0-py3-none-any.whl idna @ file:///opt/render/.cache/.python-poetry/cache/artifacts/d1/29/f1/812f74c0208a13cc843f388f1ef3ae38195e26f2bb7e4f065f91a83a65/idna-3.3-py3-none-any.whl importlib-metadata @ file:///opt/render/.cache/.python-poetry/cache/artifacts/9c/ad/56/56a4c8eeb79de8ada9461d372ac1a4140fbfcaa0a019224e5d25da1bca/importlib_metadata-4.8.2-py3-none-any.whl kombu @ file:///opt/render/.cache/.python-poetry/cache/artifacts/82/2e/67/2e1b9f4eb8bc3faa61c4a9b23fdcf1a20fe0aa38764ee6a6975b9ad381/kombu-5.2.2-py3-none-any.whl oauthlib @ file:///opt/render/.cache/.python-poetry/cache/artifacts/68/ab/29/570af2054137d20b30f71a85d03e4a896683a1e8522b4d096ef83b4fac/oauthlib-3.1.1-py2.py3-none-any.whl prompt-toolkit @ file:///opt/render/.cache/.python-poetry/cache/artifacts/dd/aa/2b/3703455ac5cb5631fe5eb0ff6948ddfda1af8b8558cb007962f8e05b08/prompt_toolkit-3.0.23-py3-none-any.whl psycopg2-binary @ file:///opt/render/.cache/.python-poetry/cache/artifacts/cd/00/14/8c47bafb055632e2e7ed34d7890a809f062645d1a5758ef3e6ba85f554/psycopg2_binary-2.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl pycparser @ file:///opt/render/.cache/.python-poetry/cache/artifacts/32/f8/cc/173faee355ebf6184c60cdf74fe43d9af84cd98942e40219ea7f73f189/pycparser-2.21-py2.py3-none-any.whl PyJWT @ file:///opt/render/.cache/.python-poetry/cache/artifacts/08/0b/1f/6874a287f1faac842e03bd250e9f8d1323a8346209d1a46c089e7adc45/PyJWT-2.3.0-py3-none-any.whl pynliner @ file:///opt/render/.cache/.python-poetry/cache/artifacts/48/bc/fa/9408cb4e68b5222042ca91c79210b7e726ef123c55572498d151d10524/pynliner-0.8.0-py2.py3-none-any.whl python-crontab==2.6.0 python-dateutil @ file:///opt/render/.cache/.python-poetry/cache/artifacts/d2/fb/ee/ecc11db0021748d60d044d56136ac57b2966285acebeeb91c73f0fbb14/python_dateutil-2.8.2-py2.py3-none-any.whl python3-openid @ file:///opt/render/.cache/.python-poetry/cache/artifacts/3b/75/67/15b3a44609526db5140a2ec3734c2d7e21fc25d4b789a645767306120f/python3_openid-3.2.0-py3-none-any.whl pytz @ file:///opt/render/.cache/.python-poetry/cache/artifacts/c9/41/8a/9f2fd2db29da563c6ffa11de2472270011dc5a257659a033aeb5a70f0f/pytz-2021.3-py2.py3-none-any.whl redis @ file:///opt/render/.cache/.python-poetry/cache/artifacts/e0/aa/f7/6fb5dd68ad4d7006e66fd9294d7873c884a05ba33f821e77cd52874d1b/redis-3.5.3-py2.py3-none-any.whl requests @ file:///opt/render/.cache/.python-poetry/cache/artifacts/ac/f3/66/58b5a793dea65bd6270c297a6cc5c9064aba9ef10f322a9c0c5e801bf8/requests-2.26.0-py2.py3-none-any.whl requests-oauthlib @ file:///opt/render/.cache/.python-poetry/cache/artifacts/4d/fd/82/c23a43ac05c61e41a116ef5764b774481e583b9c3fc64266b37cd0a8b2/requests_oauthlib-1.3.0-py2.py3-none-any.whl six @ file:///opt/render/.cache/.python-poetry/cache/artifacts/47/d6/38/2a119d44e2e9b7250f9584910ca87b2b0a3895dd07686c39351d2bb536/six-1.16.0-py2.py3-none-any.whl soupsieve @ file:///opt/render/.cache/.python-poetry/cache/artifacts/54/8d/9b/533b8a7ea5262aedcbbd3f370a80e5a5ec33a6aa861fc2873602c4df8b/soupsieve-2.3.1-py3-none-any.whl sqlparse @ file:///opt/render/.cache/.python-poetry/cache/artifacts/6b/38/7c/428e58edf78912561bf9d9e58836e074ff236d3bd45c3f9e1a6d8bd238/sqlparse-0.4.2-py3-none-any.whl typing-extensions @ file:///opt/render/.cache/.python-poetry/cache/artifacts/57/f3/a4/377cea762fe11a1720164d52982ca19073d5f1231f012c1a3fb06af567/typing_extensions-4.0.1-py3-none-any.whl urllib3 @ file:///opt/render/.cache/.python-poetry/cache/artifacts/9e/2f/e7/5d9886833c3ba8419406abb01c3d83e3a075b6da0897c1fddb8b7677eb/urllib3-1.26.7-py2.py3-none-any.whl vine @ file:///opt/render/.cache/.python-poetry/cache/artifacts/0f/27/62/5d5943f63694b67fe52e7cf394d106f881f8f359e3e074dc0cfc211325/vine-5.0.0-py2.py3-none-any.whl wcwidth @ file:///opt/render/.cache/.python-poetry/cache/artifacts/92/12/86/71fde978823bd982c22bd549b0ba688e372403269396c892ac8160f4fe/wcwidth-0.2.5-py2.py3-none-any.whl whitenoise @ file:///opt/render/.cache/.python-poetry/cache/artifacts/8a/4a/82/e18663ac3cd00769427cb1f4b26454e3d7d2204d2355384f0a247fd984/whitenoise-5.3.0-py2.py3-none-any.whl zipp @ file:///opt/render/.cache/.python-poetry/cache/artifacts/fb/b1/aa/cbf5bcb38b8bd2bf677d51ebe9026188e5dcbc2deb2608d847f8e75e38/zipp-3.6.0-py3-none-any.whl

catsarebetter98 commented 2 years ago

Hi @acocuzzo , want to circle back to this, I fixed it by deleting the pyrebase4 package and writing my own barebones firebase wrapper. Apparently that project is not well-maintained and the dependencies... whew.

Anyways, I don't have a solution for this, but I'll upload the wrapper I wrote in my github soon so anyone that sees this comment and gets the same error can do the same