Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1px1dY-00059y-9C for pgadmin-hackers@arkaria.postgresql.org; Thu, 11 May 2023 08:26:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1px1dW-0000tt-U1 for pgadmin-hackers@arkaria.postgresql.org; Thu, 11 May 2023 08:26:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1px1dW-0000tk-00 for pgadmin-hackers@lists.postgresql.org; Thu, 11 May 2023 08:26:54 +0000 Received: from mail-yw1-x1132.google.com ([2607:f8b0:4864:20::1132]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1px1dQ-001iJP-MG for pgadmin-hackers@postgresql.org; Thu, 11 May 2023 08:26:52 +0000 Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-55a214572e8so127653137b3.0 for ; Thu, 11 May 2023 01:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1683793607; x=1686385607; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UOFLi4mcLy1CCyPQgaNaHNU9Qrarr7hNq+boaBxXZvQ=; b=O1I9UVNAWevP5BkNvBcvkhupHQ5goYnJTDmac7AuXs4P08gXU/JyOZyHJCKcLswF9y uJZX/U1Au8X/EMwlsZtTU6OCSxOKNcwXZYW3XHIYZyGnswfVwSWfWvWhvNM81shAemT9 tE4T1CmQBl4qDw8SFtkfllIBczRjzPHowsZp+Op5r/cH/P04y4ziu5/2G2fsNWGwEUoo pu7iyjsJz0hN8OknZIWdx836AAf2TvrOXiKwsqFMeQ9uRv2udPNoKQgV/UkeVF6kXB4i daPpVCthpSJSNNKX43B4ife5qBTU5HJ6r/e0JM9GimjzCpOigx3Lmt4XYw0nhvHfRBfZ tM1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683793607; x=1686385607; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UOFLi4mcLy1CCyPQgaNaHNU9Qrarr7hNq+boaBxXZvQ=; b=YruBw1DwnN6J3e3SqD/nRXJ0J5+kJvm/oDKzGEMWXufH+BqI1SHMQyBFYDzyBHd/+G JWz9+7hHlOfUJcBTDiu4VdkBaRJDB90FBTneh1VfK49722OCjFyMYGL/tZNmCDvVV7sI u2T3m65D04YHOpk+G3eeF9nsva3D+CYlf4gO3DLjsj8eS2vOxd71aDE8i+A/ScCZaRKs Q6Rm9bP8PlPJx1WlSWJXqR/KMZTC2MMsj2qh0w7jSaV0LK1DrvYYqMFQzjbcCXkAN+EW wHrVvVTP+yUdH15WKCY45OfARimK0DbWhIlD5MEo1KacVdMSVYn0VfblSOGtUv9Z7SbH XJUw== X-Gm-Message-State: AC+VfDwCXcnDfs55Bj4Bwj3Io3nQFIdUJNkK7TwyxMauJcL5Axn3Tda3 ya60TlKWYXfJuhLbv4v0vRP/q5Izojpyux6oqgrwENQ9dhTiWWUC0bSgMNwQQD94B5ZPs5f1l0K sNv9JvqCmDihLNr98hA5ETRI+jN6g1nqu8MG5SoghiSBmpDrjOXdS65x5z0v+iwblOFv6BKPC2q yhnCNICFK9xEbqiRZ35O9L0DJEAoTyZLeGPEDrl7yq8x4Kf70I+BQY9EWWSQ== X-Google-Smtp-Source: ACHHUZ5+ghHBmeXPSqzbxmiYc/liC+X+FS7yssBaMLXTYOeb6QF9j6hnyEHx/iAB6DRjXrgjB/zS+AWylP97lX/l+vw= X-Received: by 2002:a81:4a0a:0:b0:55a:40d3:4d6f with SMTP id x10-20020a814a0a000000b0055a40d34d6fmr20382913ywa.26.1683793607184; Thu, 11 May 2023 01:26:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Yogesh Mahajan Date: Thu, 11 May 2023 13:56:10 +0530 Message-ID: Subject: Re: Feature tests on M1 Mac fail To: Dave Page Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000d4f83a05fb66bf96" X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000d4f83a05fb66bf96 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I have tried with python 3.10. 3.11 by creating fresh venv on Mac, but I could not reproduce the problem. As you said earlier, this could be architecture specific. Would it be possible to provide access to above to me or if any database server credentials that I can use to test with. Simple problem over here is - pg_cursor.execute("SELECT version()") is returning, bytes object which is not expected. We can add typecasting here to fix the issue if we are sure about the exact root cause of the issue. Thanks, Yogesh Mahajan EnterpriseDB On Wed, May 10, 2023 at 7:21=E2=80=AFPM Dave Page wrote= : > Hi > > On Wed, 10 May 2023 at 14:44, Yogesh Mahajan < > yogesh.mahajan@enterprisedb.com> wrote: > >> Hi, >> >> Could you please provide a pip freeze output for python 3.10, 3.11? >> > > % workon pgadmin4-py310 > > % pip freeze > alembic=3D=3D1.10.4 > async-generator=3D=3D1.10 > attrs=3D=3D23.1.0 > Authlib=3D=3D1.2.0 > azure-common=3D=3D1.1.28 > azure-core=3D=3D1.26.4 > azure-identity=3D=3D1.12.0 > azure-mgmt-core=3D=3D1.4.0 > azure-mgmt-rdbms=3D=3D10.1.0 > azure-mgmt-resource=3D=3D23.0.0 > azure-mgmt-subscription=3D=3D3.1.1 > Babel=3D=3D2.12.1 > bcrypt=3D=3D4.0.1 > bidict=3D=3D0.22.1 > blinker=3D=3D1.6.2 > boto3=3D=3D1.26.131 > botocore=3D=3D1.29.131 > Brotli=3D=3D1.0.9 > cachetools=3D=3D5.3.0 > certifi=3D=3D2023.5.7 > cffi=3D=3D1.15.1 > charset-normalizer=3D=3D3.1.0 > click=3D=3D8.1.3 > coverage=3D=3D7.2.3 > cryptography=3D=3D40.0.2 > decorator=3D=3D5.1.1 > dnspython=3D=3D2.3.0 > email-validator=3D=3D2.0.0.post2 > eventlet=3D=3D0.33.3 > exceptiongroup=3D=3D1.1.1 > extras=3D=3D1.0.0 > fixtures=3D=3D4.0.1 > Flask=3D=3D2.2.5 > flask-babel=3D=3D3.1.0 > Flask-Compress=3D=3D1.13 > Flask-Gravatar=3D=3D0.5.0 > Flask-Login=3D=3D0.6.2 > Flask-Mail=3D=3D0.9.1 > Flask-Migrate=3D=3D4.0.4 > Flask-Paranoid=3D=3D0.3.0 > Flask-Principal=3D=3D0.4.0 > Flask-Security-Too=3D=3D5.1.2 > Flask-SocketIO=3D=3D5.3.4 > Flask-SQLAlchemy=3D=3D3.0.3 > Flask-WTF=3D=3D1.1.1 > google-api-core=3D=3D2.11.0 > google-api-python-client=3D=3D2.86.0 > google-auth=3D=3D2.17.3 > google-auth-httplib2=3D=3D0.1.0 > google-auth-oauthlib=3D=3D1.0.0 > googleapis-common-protos=3D=3D1.59.0 > greenlet=3D=3D1.1.2 > gssapi=3D=3D1.8.2 > h11=3D=3D0.14.0 > httpagentparser=3D=3D1.9.5 > httplib2=3D=3D0.22.0 > idna=3D=3D3.4 > isodate=3D=3D0.6.1 > itsdangerous=3D=3D2.1.2 > Jinja2=3D=3D3.1.2 > jmespath=3D=3D1.0.1 > ldap3=3D=3D2.9.1 > linecache2=3D=3D1.0.0 > Mako=3D=3D1.2.4 > MarkupSafe=3D=3D2.1.2 > msal=3D=3D1.22.0 > msal-extensions=3D=3D1.0.0 > msrest=3D=3D0.7.1 > oauthlib=3D=3D3.2.2 > outcome=3D=3D1.2.0 > paramiko=3D=3D3.1.0 > passlib=3D=3D1.7.4 > pbr=3D=3D5.11.1 > Pillow=3D=3D9.5.0 > portalocker=3D=3D2.7.0 > protobuf=3D=3D4.23.0 > psutil=3D=3D5.9.5 > psycopg=3D=3D3.1.8 > psycopg-c=3D=3D3.1.8 > pyasn1=3D=3D0.5.0 > pyasn1-modules=3D=3D0.3.0 > pycodestyle=3D=3D2.10.0 > pycparser=3D=3D2.21 > PyJWT=3D=3D2.7.0 > PyNaCl=3D=3D1.5.0 > pyotp=3D=3D2.8.0 > pyparsing=3D=3D3.0.9 > pypng=3D=3D0.20220715.0 > PySocks=3D=3D1.7.1 > python-dateutil=3D=3D2.8.2 > python-engineio=3D=3D4.4.1 > python-mimeparse=3D=3D1.6.0 > python-socketio=3D=3D5.8.0 > pytz=3D=3D2023.3 > qrcode=3D=3D7.4.2 > requests=3D=3D2.28.2 > requests-oauthlib=3D=3D1.3.1 > rsa=3D=3D4.9 > s3transfer=3D=3D0.6.1 > selenium=3D=3D4.8.3 > six=3D=3D1.16.0 > sniffio=3D=3D1.3.0 > sortedcontainers=3D=3D2.4.0 > speaklater3=3D=3D1.4 > SQLAlchemy=3D=3D2.0.12 > sqlparse=3D=3D0.4.4 > sshtunnel=3D=3D0.4.0 > testscenarios=3D=3D0.5.0 > testtools=3D=3D2.6.0 > traceback2=3D=3D1.4.0 > trio=3D=3D0.22.0 > trio-websocket=3D=3D0.10.2 > typing_extensions=3D=3D4.5.0 > ua-parser=3D=3D0.16.1 > uritemplate=3D=3D4.1.1 > urllib3=3D=3D1.26.15 > user-agents=3D=3D2.2.0 > Werkzeug=3D=3D2.2.3 > wsproto=3D=3D1.2.0 > WTForms=3D=3D3.0.1 > > % workon pgadmin4-py311 > > % pip freeze > alembic=3D=3D1.10.4 > async-generator=3D=3D1.10 > attrs=3D=3D23.1.0 > Authlib=3D=3D1.2.0 > azure-common=3D=3D1.1.28 > azure-core=3D=3D1.26.4 > azure-identity=3D=3D1.12.0 > azure-mgmt-core=3D=3D1.4.0 > azure-mgmt-rdbms=3D=3D10.1.0 > azure-mgmt-resource=3D=3D23.0.0 > azure-mgmt-subscription=3D=3D3.1.1 > Babel=3D=3D2.12.1 > bcrypt=3D=3D4.0.1 > bidict=3D=3D0.22.1 > blinker=3D=3D1.6.2 > boto3=3D=3D1.26.131 > botocore=3D=3D1.29.131 > Brotli=3D=3D1.0.9 > cachetools=3D=3D5.3.0 > certifi=3D=3D2023.5.7 > cffi=3D=3D1.15.1 > charset-normalizer=3D=3D3.1.0 > click=3D=3D8.1.3 > coverage=3D=3D7.2.3 > cryptography=3D=3D40.0.2 > decorator=3D=3D5.1.1 > dnspython=3D=3D2.3.0 > email-validator=3D=3D2.0.0.post2 > eventlet=3D=3D0.33.3 > exceptiongroup=3D=3D1.1.1 > extras=3D=3D1.0.0 > fixtures=3D=3D4.0.1 > Flask=3D=3D2.2.5 > flask-babel=3D=3D3.1.0 > Flask-Compress=3D=3D1.13 > Flask-Gravatar=3D=3D0.5.0 > Flask-Login=3D=3D0.6.2 > Flask-Mail=3D=3D0.9.1 > Flask-Migrate=3D=3D4.0.4 > Flask-Paranoid=3D=3D0.3.0 > Flask-Principal=3D=3D0.4.0 > Flask-Security-Too=3D=3D5.1.2 > Flask-SocketIO=3D=3D5.3.4 > Flask-SQLAlchemy=3D=3D3.0.3 > Flask-WTF=3D=3D1.1.1 > google-api-core=3D=3D2.11.0 > google-api-python-client=3D=3D2.86.0 > google-auth=3D=3D2.17.3 > google-auth-httplib2=3D=3D0.1.0 > google-auth-oauthlib=3D=3D1.0.0 > googleapis-common-protos=3D=3D1.59.0 > greenlet=3D=3D2.0.2 > gssapi=3D=3D1.8.2 > h11=3D=3D0.14.0 > httpagentparser=3D=3D1.9.5 > httplib2=3D=3D0.22.0 > idna=3D=3D3.4 > isodate=3D=3D0.6.1 > itsdangerous=3D=3D2.1.2 > Jinja2=3D=3D3.1.2 > jmespath=3D=3D1.0.1 > ldap3=3D=3D2.9.1 > linecache2=3D=3D1.0.0 > Mako=3D=3D1.2.4 > MarkupSafe=3D=3D2.1.2 > msal=3D=3D1.22.0 > msal-extensions=3D=3D1.0.0 > msrest=3D=3D0.7.1 > oauthlib=3D=3D3.2.2 > outcome=3D=3D1.2.0 > paramiko=3D=3D3.1.0 > passlib=3D=3D1.7.4 > pbr=3D=3D5.11.1 > Pillow=3D=3D9.5.0 > portalocker=3D=3D2.7.0 > protobuf=3D=3D4.23.0 > psutil=3D=3D5.9.5 > psycopg=3D=3D3.1.8 > psycopg-c=3D=3D3.1.8 > pyasn1=3D=3D0.5.0 > pyasn1-modules=3D=3D0.3.0 > pycodestyle=3D=3D2.10.0 > pycparser=3D=3D2.21 > PyJWT=3D=3D2.7.0 > PyNaCl=3D=3D1.5.0 > pyotp=3D=3D2.8.0 > pyparsing=3D=3D3.0.9 > pypng=3D=3D0.20220715.0 > PySocks=3D=3D1.7.1 > python-dateutil=3D=3D2.8.2 > python-engineio=3D=3D4.4.1 > python-mimeparse=3D=3D1.6.0 > python-socketio=3D=3D5.8.0 > pytz=3D=3D2023.3 > qrcode=3D=3D7.4.2 > requests=3D=3D2.28.2 > requests-oauthlib=3D=3D1.3.1 > rsa=3D=3D4.9 > s3transfer=3D=3D0.6.1 > selenium=3D=3D4.8.3 > six=3D=3D1.16.0 > sniffio=3D=3D1.3.0 > sortedcontainers=3D=3D2.4.0 > speaklater3=3D=3D1.4 > SQLAlchemy=3D=3D2.0.12 > sqlparse=3D=3D0.4.4 > sshtunnel=3D=3D0.4.0 > testscenarios=3D=3D0.5.0 > testtools=3D=3D2.6.0 > traceback2=3D=3D1.4.0 > trio=3D=3D0.22.0 > trio-websocket=3D=3D0.10.2 > typing_extensions=3D=3D4.5.0 > ua-parser=3D=3D0.16.1 > uritemplate=3D=3D4.1.1 > urllib3=3D=3D1.26.15 > user-agents=3D=3D2.2.0 > Werkzeug=3D=3D2.2.3 > wsproto=3D=3D1.2.0 > WTForms=3D=3D3.0.1 > > > >> Somehow I feel this is some package related issue only. I did not get an >> error on fresh 3.11 venv though. >> > > On what platform? > > >> >> Thanks, >> Yogesh Mahajan >> EnterpriseDB >> >> >> On Wed, May 10, 2023 at 6:38=E2=80=AFPM Dave Page wr= ote: >> >>> Hi >>> >>> On Wed, 10 May 2023 at 13:24, Yogesh Mahajan < >>> yogesh.mahajan@enterprisedb.com> wrote: >>> >>>> Hi, >>>> >>>> Errors occurring for python 3.8, 3.10, 3.11 are due the latest >>>> Werkzeug version 2.3.4/2.3.3. >>>> Could you please check Werkzeug version getting downloaded in venv? It >>>> should be Werkzeug 2.2.3 >>>> >>> >>> They are all completely fresh venvs, so: >>> >>> for x in 38 39 310 311; do >>> >>> workon pgadmin4-py$x >>> >>> pip freeze | grep Werkzeug >>> >>> for> done >>> >>> Werkzeug=3D=3D2.2.3 >>> >>> Werkzeug=3D=3D2.2.3 >>> >>> Werkzeug=3D=3D2.2.3 >>> >>> Werkzeug=3D=3D2.2.3 >>> >>> >>>> >>>> I have seen error occurring with python 3.9, but could not reproduce >>>> locally. My guess is, it is again due to some dependent package versio= n >>>> upgrade. >>>> >>> >>> Didn't Pravesh report the same thing? In any case, as the venv is built >>> from requirements.txt specifically for this test, I'd expect it to be >>> correct. This is what the venv looks like: >>> >>> % workon pgadmin4-py39 >>> >>> >>> % python3 --version >>> >>> Python 3.9.13 >>> >>> >>> % pip freeze >>> >>> alembic=3D=3D1.10.4 >>> >>> async-generator=3D=3D1.10 >>> >>> attrs=3D=3D23.1.0 >>> >>> Authlib=3D=3D1.2.0 >>> >>> azure-common=3D=3D1.1.28 >>> >>> azure-core=3D=3D1.26.4 >>> >>> azure-identity=3D=3D1.12.0 >>> >>> azure-mgmt-core=3D=3D1.4.0 >>> >>> azure-mgmt-rdbms=3D=3D10.1.0 >>> >>> azure-mgmt-resource=3D=3D23.0.0 >>> >>> azure-mgmt-subscription=3D=3D3.1.1 >>> >>> Babel=3D=3D2.12.1 >>> >>> bcrypt=3D=3D4.0.1 >>> >>> bidict=3D=3D0.22.1 >>> >>> blinker=3D=3D1.6.2 >>> >>> boto3=3D=3D1.26.131 >>> >>> botocore=3D=3D1.29.131 >>> >>> Brotli=3D=3D1.0.9 >>> >>> cachetools=3D=3D5.3.0 >>> >>> certifi=3D=3D2023.5.7 >>> >>> cffi=3D=3D1.15.1 >>> >>> charset-normalizer=3D=3D3.1.0 >>> >>> click=3D=3D8.1.3 >>> >>> coverage=3D=3D7.2.3 >>> >>> cryptography=3D=3D40.0.2 >>> >>> decorator=3D=3D5.1.1 >>> >>> dnspython=3D=3D2.3.0 >>> >>> email-validator=3D=3D2.0.0.post2 >>> >>> eventlet=3D=3D0.33.3 >>> >>> exceptiongroup=3D=3D1.1.1 >>> >>> extras=3D=3D1.0.0 >>> >>> fixtures=3D=3D4.0.1 >>> >>> Flask=3D=3D2.2.5 >>> >>> flask-babel=3D=3D3.1.0 >>> >>> Flask-Compress=3D=3D1.13 >>> >>> Flask-Gravatar=3D=3D0.5.0 >>> >>> Flask-Login=3D=3D0.6.2 >>> >>> Flask-Mail=3D=3D0.9.1 >>> >>> Flask-Migrate=3D=3D4.0.4 >>> >>> Flask-Paranoid=3D=3D0.3.0 >>> >>> Flask-Principal=3D=3D0.4.0 >>> >>> Flask-Security-Too=3D=3D5.1.2 >>> >>> Flask-SocketIO=3D=3D5.3.4 >>> >>> Flask-SQLAlchemy=3D=3D3.0.3 >>> >>> Flask-WTF=3D=3D1.1.1 >>> >>> google-api-core=3D=3D2.11.0 >>> >>> google-api-python-client=3D=3D2.86.0 >>> >>> google-auth=3D=3D2.17.3 >>> >>> google-auth-httplib2=3D=3D0.1.0 >>> >>> google-auth-oauthlib=3D=3D1.0.0 >>> >>> googleapis-common-protos=3D=3D1.59.0 >>> >>> greenlet=3D=3D1.1.2 >>> >>> gssapi=3D=3D1.8.2 >>> >>> h11=3D=3D0.14.0 >>> >>> httpagentparser=3D=3D1.9.5 >>> >>> httplib2=3D=3D0.22.0 >>> >>> idna=3D=3D3.4 >>> >>> importlib-metadata=3D=3D6.6.0 >>> >>> isodate=3D=3D0.6.1 >>> >>> itsdangerous=3D=3D2.1.2 >>> >>> Jinja2=3D=3D3.1.2 >>> >>> jmespath=3D=3D1.0.1 >>> >>> ldap3=3D=3D2.9.1 >>> >>> linecache2=3D=3D1.0.0 >>> >>> Mako=3D=3D1.2.4 >>> >>> MarkupSafe=3D=3D2.1.2 >>> >>> msal=3D=3D1.22.0 >>> >>> msal-extensions=3D=3D1.0.0 >>> >>> msrest=3D=3D0.7.1 >>> >>> oauthlib=3D=3D3.2.2 >>> >>> outcome=3D=3D1.2.0 >>> >>> paramiko=3D=3D3.1.0 >>> >>> passlib=3D=3D1.7.4 >>> >>> pbr=3D=3D5.11.1 >>> >>> Pillow=3D=3D9.5.0 >>> >>> portalocker=3D=3D2.7.0 >>> >>> protobuf=3D=3D4.23.0 >>> >>> psutil=3D=3D5.9.5 >>> >>> psycopg=3D=3D3.1.8 >>> >>> psycopg-c=3D=3D3.1.8 >>> >>> pyasn1=3D=3D0.5.0 >>> >>> pyasn1-modules=3D=3D0.3.0 >>> >>> pycodestyle=3D=3D2.10.0 >>> >>> pycparser=3D=3D2.21 >>> >>> PyJWT=3D=3D2.7.0 >>> >>> PyNaCl=3D=3D1.5.0 >>> >>> pyotp=3D=3D2.8.0 >>> >>> pyparsing=3D=3D3.0.9 >>> >>> pypng=3D=3D0.20220715.0 >>> >>> PySocks=3D=3D1.7.1 >>> >>> python-dateutil=3D=3D2.8.2 >>> >>> python-engineio=3D=3D4.4.1 >>> >>> python-mimeparse=3D=3D1.6.0 >>> >>> python-socketio=3D=3D5.8.0 >>> >>> pytz=3D=3D2023.3 >>> >>> qrcode=3D=3D7.4.2 >>> >>> requests=3D=3D2.28.2 >>> >>> requests-oauthlib=3D=3D1.3.1 >>> >>> rsa=3D=3D4.9 >>> >>> s3transfer=3D=3D0.6.1 >>> >>> selenium=3D=3D4.8.3 >>> >>> six=3D=3D1.16.0 >>> >>> sniffio=3D=3D1.3.0 >>> >>> sortedcontainers=3D=3D2.4.0 >>> >>> speaklater3=3D=3D1.4 >>> >>> SQLAlchemy=3D=3D2.0.12 >>> >>> sqlparse=3D=3D0.4.4 >>> >>> sshtunnel=3D=3D0.4.0 >>> >>> testscenarios=3D=3D0.5.0 >>> >>> testtools=3D=3D2.6.0 >>> >>> traceback2=3D=3D1.4.0 >>> >>> trio=3D=3D0.22.0 >>> >>> trio-websocket=3D=3D0.10.2 >>> >>> typing_extensions=3D=3D4.5.0 >>> >>> ua-parser=3D=3D0.16.1 >>> >>> uritemplate=3D=3D4.1.1 >>> >>> urllib3=3D=3D1.26.15 >>> >>> user-agents=3D=3D2.2.0 >>> >>> Werkzeug=3D=3D2.2.3 >>> >>> wsproto=3D=3D1.2.0 >>> >>> WTForms=3D=3D3.0.1 >>> >>> zipp=3D=3D3.15.0 >>> >>> >>>> And both the errors should not be specific to feature tests. It should >>>> be for API/ReSQL tests too. >>>> >>> >>> Yes, that does seem to be the case. I'm just working on feature tests s= o >>> that's where I happened to see the problem. >>> >>> Setting up the venv as I have done is exactly how it's done for all the >>> Python tests we run on GitHub, on Windows, Mac, and Linux, which work j= ust >>> fine. It makes me wonder if there's something architecture specific goi= ng >>> on here. It's quite odd. >>> >>> >>>> >>>> Thanks, >>>> Yogesh Mahajan >>>> EnterpriseDB >>>> >>>> >>>> On Wed, May 10, 2023 at 5:38=E2=80=AFPM Dave Page = wrote: >>>> >>>>> I get the following errors when trying to run the feature tests on an >>>>> M1 Mac, with Python 3.8 through 3.11. The Python 3.9 failure seems to= be a >>>>> known issue with eventlet (though, our tests should still be able to = run), >>>>> and whilst the others can be fixed with the strategic addition of a >>>>> .decode('UTF-8'), it does beg the question "how do these tests pass o= n our >>>>> buildfarm". >>>>> >>>>> Yogesh, can you take a look please? >>>>> >>>>> ############ >>>>> >>>>> ~/git/pgadmin4/web % workon pgadmin4-py38 >>>>> >>>>> >>>>> ~/git/pgadmin4/web % python regression/runtests.py --pkg >>>>> feature_tests >>>>> >>>>> >>>>> 2023-05-10 12:49:05,666: INFO pgadmin: >>>>> ######################################################## >>>>> >>>>> 2023-05-10 12:49:05,666: INFO pgadmin: Starting pgAdmin 4 >>>>> v7.1... >>>>> >>>>> 2023-05-10 12:49:05,666: INFO pgadmin: >>>>> ######################################################## >>>>> >>>>> 2023-05-10 12:49:05,666: DEBUG pgadmin: Python syspath: >>>>> ['/Users/dpage/git/pgadmin4/web/regression', >>>>> '/Users/dpage/git/pgadmin4/web', >>>>> '/Users/dpage/git/pgadmin4/web/regression', >>>>> '/Library/Frameworks/Python.framework/Versions/3.8/lib/python38.zip', >>>>> '/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8', >>>>> '/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/lib-= dynload', >>>>> '/Users/dpage/.virtualenvs/pgadmin4-py38/lib/python3.8/site-packages'= ] >>>>> >>>>> NOTE: Configuring authentication for SERVER mode. >>>>> >>>>> >>>>> 2023-05-10 12:49:06,738: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:06,739: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:06,740: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:07,662: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:07,668: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:07,668: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:07,668: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:08,769: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:08,771: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:08,771: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:08,774: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> pgAdmin 4 - Application Initialisation >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> Starting pgAdmin 4. Please navigate to http://127.0.0.1:34575 in your >>>>> browser. >>>>> >>>>> * Serving Flask app 'pgadmin' >>>>> >>>>> * Debug mode: off >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'Po= stgreSQL 15' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> Traceback (most recent call last): >>>>> >>>>> File "regression/runtests.py", line 486, in execute_test >>>>> >>>>> test_utils.create_parent_server_node(server_passed) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 691, in create_parent_server_node >>>>> >>>>> srv_id =3D create_server(server_info) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 634, in create_server >>>>> >>>>> server['type'] =3D get_server_type(server) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 1189, in get_server_type >>>>> >>>>> if "EnterpriseDB" in version_string: >>>>> >>>>> TypeError: a bytes-like object is required, not 'str' >>>>> >>>>> a bytes-like object is required, not 'str' >>>>> >>>>> Exception in 6208811008 Thread-3 >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DCompleted the test cases for '= PostgreSQL 15'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> Test Result Summary >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> Please check output in file: >>>>> /Users/dpage/git/pgadmin4/web/regression/regression.log >>>>> >>>>> >>>>> >>>>> ~/git/pgadmin4/web % workon pgadmin4-py39 >>>>> >>>>> >>>>> ~/git/pgadmin4/web % python regression/runtests.py --pkg >>>>> feature_tests >>>>> >>>>> >>>>> 2023-05-10 12:49:30,701: INFO pgadmin: >>>>> ######################################################## >>>>> >>>>> 2023-05-10 12:49:30,701: INFO pgadmin: Starting pgAdmin 4 >>>>> v7.1... >>>>> >>>>> 2023-05-10 12:49:30,701: INFO pgadmin: >>>>> ######################################################## >>>>> >>>>> 2023-05-10 12:49:30,701: DEBUG pgadmin: Python syspath: >>>>> ['/Users/dpage/git/pgadmin4/web/regression', >>>>> '/Users/dpage/git/pgadmin4/web', >>>>> '/Users/dpage/git/pgadmin4/web/regression', >>>>> '/Library/Frameworks/Python.framework/Versions/3.9/lib/python39.zip', >>>>> '/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9', >>>>> '/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lib-= dynload', >>>>> '/Users/dpage/.virtualenvs/pgadmin4-py39/lib/python3.9/site-packages'= ] >>>>> >>>>> NOTE: Configuring authentication for SERVER mode. >>>>> >>>>> >>>>> 2023-05-10 12:49:31,591: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:31,592: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:31,593: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:32,297: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:32,303: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:32,303: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:32,304: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:33,355: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:33,357: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:33,358: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:33,361: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> pgAdmin 4 - Application Initialisation >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> Starting pgAdmin 4. Please navigate to http://127.0.0.1:49511 in your >>>>> browser. >>>>> >>>>> * Serving Flask app 'pgadmin' >>>>> >>>>> * Debug mode: off >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'Po= stgreSQL 15' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> Traceback (most recent call last): >>>>> >>>>> File "/Users/dpage/git/pgadmin4/web/regression/runtests.py", line >>>>> 486, in execute_test >>>>> >>>>> test_utils.create_parent_server_node(server_passed) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 691, in create_parent_server_node >>>>> >>>>> srv_id =3D create_server(server_info) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 634, in create_server >>>>> >>>>> server['type'] =3D get_server_type(server) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 1172, in get_server_type >>>>> >>>>> connection =3D get_db_connection( >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 55, in get_db_connection >>>>> >>>>> connection =3D psycopg.connect( >>>>> >>>>> File >>>>> "/Users/dpage/.virtualenvs/pgadmin4-py39/lib/python3.9/site-packages/= psycopg/connection.py", >>>>> line 723, in connect >>>>> >>>>> rv =3D cls._wait_conn( >>>>> >>>>> File >>>>> "/Users/dpage/.virtualenvs/pgadmin4-py39/lib/python3.9/site-packages/= psycopg/connection.py", >>>>> line 972, in _wait_conn >>>>> >>>>> return waiting.wait_conn(gen, timeout=3Dtimeout) >>>>> >>>>> File >>>>> "/Users/dpage/.virtualenvs/pgadmin4-py39/lib/python3.9/site-packages/= psycopg/waiting.py", >>>>> line 86, in wait_conn >>>>> >>>>> sel.register(fileno, s) >>>>> >>>>> File >>>>> "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/sele= ctors.py", >>>>> line 527, in register >>>>> >>>>> self._selector.control([kev], 0, 0) >>>>> >>>>> TypeError: changelist must be an iterable of select.kevent objects >>>>> >>>>> changelist must be an iterable of select.kevent objects >>>>> >>>>> Exception in 6213283840 Thread-3 >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DCompleted the test cases for '= PostgreSQL 15'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> Test Result Summary >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> Please check output in file: >>>>> /Users/dpage/git/pgadmin4/web/regression/regression.log >>>>> >>>>> >>>>> >>>>> ~/git/pgadmin4/web % workon pgadmin4-py310 >>>>> >>>>> >>>>> ~/git/pgadmin4/web % python regression/runtests.py --pkg >>>>> feature_tests >>>>> >>>>> >>>>> 2023-05-10 12:49:51,253: INFO pgadmin: >>>>> ######################################################## >>>>> >>>>> 2023-05-10 12:49:51,254: INFO pgadmin: Starting pgAdmin 4 >>>>> v7.1... >>>>> >>>>> 2023-05-10 12:49:51,254: INFO pgadmin: >>>>> ######################################################## >>>>> >>>>> 2023-05-10 12:49:51,254: DEBUG pgadmin: Python syspath: >>>>> ['/Users/dpage/git/pgadmin4/web/regression', >>>>> '/Users/dpage/git/pgadmin4/web', >>>>> '/Users/dpage/git/pgadmin4/web/regression', >>>>> '/Library/Frameworks/Python.framework/Versions/3.10/lib/python310.zip= ', >>>>> '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10', >>>>> '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/li= b-dynload', >>>>> '/Users/dpage/.virtualenvs/pgadmin4-py310/lib/python3.10/site-package= s'] >>>>> >>>>> NOTE: Configuring authentication for SERVER mode. >>>>> >>>>> >>>>> 2023-05-10 12:49:52,218: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:52,219: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:52,219: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:52,912: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:52,916: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:52,917: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:52,917: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:54,010: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:54,012: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:54,012: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:49:54,015: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> pgAdmin 4 - Application Initialisation >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> Starting pgAdmin 4. Please navigate to http://127.0.0.1:53161 in your >>>>> browser. >>>>> >>>>> * Serving Flask app 'pgadmin' >>>>> >>>>> * Debug mode: off >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'Po= stgreSQL 15' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> Traceback (most recent call last): >>>>> >>>>> File "/Users/dpage/git/pgadmin4/web/regression/runtests.py", line >>>>> 486, in execute_test >>>>> >>>>> test_utils.create_parent_server_node(server_passed) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 691, in create_parent_server_node >>>>> >>>>> srv_id =3D create_server(server_info) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 634, in create_server >>>>> >>>>> server['type'] =3D get_server_type(server) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 1189, in get_server_type >>>>> >>>>> if "EnterpriseDB" in version_string: >>>>> >>>>> TypeError: a bytes-like object is required, not 'str' >>>>> >>>>> a bytes-like object is required, not 'str' >>>>> >>>>> Exception in 6139408384 Thread-3 (execute_test) >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DCompleted the test cases for '= PostgreSQL 15'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> Test Result Summary >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> Please check output in file: >>>>> /Users/dpage/git/pgadmin4/web/regression/regression.log >>>>> >>>>> >>>>> >>>>> ~/git/pgadmin4/web % workon pgadmin4-py311 >>>>> >>>>> >>>>> ~/git/pgadmin4/web % python regression/runtests.py --pkg >>>>> feature_tests >>>>> >>>>> >>>>> 2023-05-10 12:50:21,962: INFO pgadmin: >>>>> ######################################################## >>>>> >>>>> 2023-05-10 12:50:21,963: INFO pgadmin: Starting pgAdmin 4 >>>>> v7.1... >>>>> >>>>> 2023-05-10 12:50:21,963: INFO pgadmin: >>>>> ######################################################## >>>>> >>>>> 2023-05-10 12:50:21,963: DEBUG pgadmin: Python syspath: >>>>> ['/Users/dpage/git/pgadmin4/web/regression', >>>>> '/Users/dpage/git/pgadmin4/web', >>>>> '/Users/dpage/git/pgadmin4/web/regression', >>>>> '/Library/Frameworks/Python.framework/Versions/3.11/lib/python311.zip= ', >>>>> '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11', >>>>> '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/li= b-dynload', >>>>> '/Users/dpage/.virtualenvs/pgadmin4-py311/lib/python3.11/site-package= s'] >>>>> >>>>> NOTE: Configuring authentication for SERVER mode. >>>>> >>>>> >>>>> 2023-05-10 12:50:22,483: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:22,484: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:22,484: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:22,947: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:22,951: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:22,951: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:22,951: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:23,568: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:23,569: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:23,570: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> 2023-05-10 12:50:23,571: INFO pgadmin: Registering blueprint >>>>> module: >>>>> >>>>> pgAdmin 4 - Application Initialisation >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> Starting pgAdmin 4. Please navigate to http://127.0.0.1:30355 in your >>>>> browser. >>>>> >>>>> * Serving Flask app 'pgadmin' >>>>> >>>>> * Debug mode: off >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'Po= stgreSQL 15' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> Traceback (most recent call last): >>>>> >>>>> File "/Users/dpage/git/pgadmin4/web/regression/runtests.py", line >>>>> 486, in execute_test >>>>> >>>>> test_utils.create_parent_server_node(server_passed) >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 691, in create_parent_server_node >>>>> >>>>> srv_id =3D create_server(server_info) >>>>> >>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 634, in create_server >>>>> >>>>> server['type'] =3D get_server_type(server) >>>>> >>>>> ^^^^^^^^^^^^^^^^^^^^^^^ >>>>> >>>>> File >>>>> "/Users/dpage/git/pgadmin4/web/regression/python_test_utils/test_util= s.py", >>>>> line 1189, in get_server_type >>>>> >>>>> if "EnterpriseDB" in version_string: >>>>> >>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>>> >>>>> TypeError: a bytes-like object is required, not 'str' >>>>> >>>>> a bytes-like object is required, not 'str' >>>>> >>>>> Exception in 6212005888 Thread-3 (execute_test) >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DCompleted the test cases for '= PostgreSQL 15'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> Test Result Summary >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> >>>>> Please check output in file: >>>>> /Users/dpage/git/pgadmin4/web/regression/regression.log >>>>> >>>>> >>>>> ############ >>>>> >>>>> -- >>>>> Dave Page >>>>> Blog: https://pgsnake.blogspot.com >>>>> Twitter: @pgsnake >>>>> >>>>> EDB: https://www.enterprisedb.com >>>>> >>>>> >>> >>> -- >>> Dave Page >>> Blog: https://pgsnake.blogspot.com >>> Twitter: @pgsnake >>> >>> EDB: https://www.enterprisedb.com >>> >>> > > -- > Dave Page > Blog: https://pgsnake.blogspot.com > Twitter: @pgsnake > > EDB: https://www.enterprisedb.com > > --000000000000d4f83a05fb66bf96 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have= tried with python=C2=A03.10. 3.11 by creating fresh venv on Mac, but I cou= ld not reproduce=C2=A0the=C2=A0problem.
As you said earlier= , this could be architecture=C2=A0specific.=C2=A0
Would it = be possible to provide access to above to me or if any database server=C2= =A0credentials that I can use to test with.
Simple problem = over here is -=C2=A0
pg_cursor.execute("SELECT version()") is returning, bytes object whi=
ch is not expected.
We can add typecasting here to fix =
the issue if we are sure about the exact root cause of the issue.

Thanks,
Yogesh= Mahajan
EnterpriseDB


<= div dir=3D"ltr" class=3D"gmail_attr">On Wed, May 10, 2023 at 7:21=E2=80=AFP= M Dave Page <dpage@pgadmin.org&= gt; wrote:
Hi

On Wed, 10 May= 2023 at 14:44, Yogesh Mahajan <yogesh.mahajan@enterprisedb.com> wrote:=
Hi,

Could you please provide a pip freeze output for py= thon 3.10, 3.11?

% workon pgadm= in4-py310

% pip freeze
alembic=3D=3D1.10.4
async-generator=3D= =3D1.10
attrs=3D=3D23.1.0
Authlib=3D=3D1.2.0
azure-common=3D=3D1.1= .28
azure-core=3D=3D1.26.4
azure-identity=3D=3D1.12.0
azure-mgmt-c= ore=3D=3D1.4.0
azure-mgmt-rdbms=3D=3D10.1.0
azure-mgmt-resource=3D=3D= 23.0.0
azure-mgmt-subscription=3D=3D3.1.1
Babel=3D=3D2.12.1
bcrypt= =3D=3D4.0.1
bidict=3D=3D0.22.1
blinker=3D=3D1.6.2
boto3=3D=3D1.26.= 131
botocore=3D=3D1.29.131
Brotli=3D=3D1.0.9
cachetools=3D=3D5.3.0=
certifi=3D=3D2023.5.7
cffi=3D=3D1.15.1
charset-normalizer=3D=3D3.= 1.0
click=3D=3D8.1.3
coverage=3D=3D7.2.3
cryptography=3D=3D40.0.2<= br>decorator=3D=3D5.1.1
dnspython=3D=3D2.3.0
email-validator=3D=3D2.0= .0.post2
eventlet=3D=3D0.33.3
exceptiongroup=3D=3D1.1.1
extras=3D= =3D1.0.0
fixtures=3D=3D4.0.1
Flask=3D=3D2.2.5
flask-babel=3D=3D3.1= .0
Flask-Compress=3D=3D1.13
Flask-Gravatar=3D=3D0.5.0
Flask-Login= =3D=3D0.6.2
Flask-Mail=3D=3D0.9.1
Flask-Migrate=3D=3D4.0.4
Flask-P= aranoid=3D=3D0.3.0
Flask-Principal=3D=3D0.4.0
Flask-Security-Too=3D= =3D5.1.2
Flask-SocketIO=3D=3D5.3.4
Flask-SQLAlchemy=3D=3D3.0.3
Fla= sk-WTF=3D=3D1.1.1
google-api-core=3D=3D2.11.0
google-api-python-clien= t=3D=3D2.86.0
google-auth=3D=3D2.17.3
google-auth-httplib2=3D=3D0.1.0=
google-auth-oauthlib=3D=3D1.0.0
googleapis-common-protos=3D=3D1.59.0=
greenlet=3D=3D1.1.2
gssapi=3D=3D1.8.2
h11=3D=3D0.14.0
httpagen= tparser=3D=3D1.9.5
httplib2=3D=3D0.22.0
idna=3D=3D3.4
isodate=3D= =3D0.6.1
itsdangerous=3D=3D2.1.2
Jinja2=3D=3D3.1.2
jmespath=3D=3D1= .0.1
ldap3=3D=3D2.9.1
linecache2=3D=3D1.0.0
Mako=3D=3D1.2.4
Mar= kupSafe=3D=3D2.1.2
msal=3D=3D1.22.0
msal-extensions=3D=3D1.0.0
msr= est=3D=3D0.7.1
oauthlib=3D=3D3.2.2
outcome=3D=3D1.2.0
paramiko=3D= =3D3.1.0
passlib=3D=3D1.7.4
pbr=3D=3D5.11.1
Pillow=3D=3D9.5.0
p= ortalocker=3D=3D2.7.0
protobuf=3D=3D4.23.0
psutil=3D=3D5.9.5
psyco= pg=3D=3D3.1.8
psycopg-c=3D=3D3.1.8
pyasn1=3D=3D0.5.0
pyasn1-module= s=3D=3D0.3.0
pycodestyle=3D=3D2.10.0
pycparser=3D=3D2.21
PyJWT=3D= =3D2.7.0
PyNaCl=3D=3D1.5.0
pyotp=3D=3D2.8.0
pyparsing=3D=3D3.0.9pypng=3D=3D0.20220715.0
PySocks=3D=3D1.7.1
python-dateutil=3D=3D2.8= .2
python-engineio=3D=3D4.4.1
python-mimeparse=3D=3D1.6.0
python-s= ocketio=3D=3D5.8.0
pytz=3D=3D2023.3
qrcode=3D=3D7.4.2
requests=3D= =3D2.28.2
requests-oauthlib=3D=3D1.3.1
rsa=3D=3D4.9
s3transfer=3D= =3D0.6.1
selenium=3D=3D4.8.3
six=3D=3D1.16.0
sniffio=3D=3D1.3.0sortedcontainers=3D=3D2.4.0
speaklater3=3D=3D1.4
SQLAlchemy=3D=3D2.0= .12
sqlparse=3D=3D0.4.4
sshtunnel=3D=3D0.4.0
testscenarios=3D=3D0.= 5.0
testtools=3D=3D2.6.0
traceback2=3D=3D1.4.0
trio=3D=3D0.22.0trio-websocket=3D=3D0.10.2
typing_extensions=3D=3D4.5.0
ua-parser=3D= =3D0.16.1
uritemplate=3D=3D4.1.1
urllib3=3D=3D1.26.15
user-agents= =3D=3D2.2.0
Werkzeug=3D=3D2.2.3
wsproto=3D=3D1.2.0
WTForms=3D=3D3.= 0.1

% workon pgadmin4-py311

% pip freez= e
alembic=3D=3D1.10.4
async-generator=3D=3D1.10
attrs=3D=3D23.1.0<= br>Authlib=3D=3D1.2.0
azure-common=3D=3D1.1.28
azure-core=3D=3D1.26.4=
azure-identity=3D=3D1.12.0
azure-mgmt-core=3D=3D1.4.0
azure-mgmt-= rdbms=3D=3D10.1.0
azure-mgmt-resource=3D=3D23.0.0
azure-mgmt-subscrip= tion=3D=3D3.1.1
Babel=3D=3D2.12.1
bcrypt=3D=3D4.0.1
bidict=3D=3D0.= 22.1
blinker=3D=3D1.6.2
boto3=3D=3D1.26.131
botocore=3D=3D1.29.131=
Brotli=3D=3D1.0.9
cachetools=3D=3D5.3.0
certifi=3D=3D2023.5.7
= cffi=3D=3D1.15.1
charset-normalizer=3D=3D3.1.0
click=3D=3D8.1.3
co= verage=3D=3D7.2.3
cryptography=3D=3D40.0.2
decorator=3D=3D5.1.1
dn= spython=3D=3D2.3.0
email-validator=3D=3D2.0.0.post2
eventlet=3D=3D0.3= 3.3
exceptiongroup=3D=3D1.1.1
extras=3D=3D1.0.0
fixtures=3D=3D4.0.= 1
Flask=3D=3D2.2.5
flask-babel=3D=3D3.1.0
Flask-Compress=3D=3D1.13=
Flask-Gravatar=3D=3D0.5.0
Flask-Login=3D=3D0.6.2
Flask-Mail=3D=3D= 0.9.1
Flask-Migrate=3D=3D4.0.4
Flask-Paranoid=3D=3D0.3.0
Flask-Pri= ncipal=3D=3D0.4.0
Flask-Security-Too=3D=3D5.1.2
Flask-SocketIO=3D=3D5= .3.4
Flask-SQLAlchemy=3D=3D3.0.3
Flask-WTF=3D=3D1.1.1
google-api-c= ore=3D=3D2.11.0
google-api-python-client=3D=3D2.86.0
google-auth=3D= =3D2.17.3
google-auth-httplib2=3D=3D0.1.0
google-auth-oauthlib=3D=3D1= .0.0
googleapis-common-protos=3D=3D1.59.0
greenlet=3D=3D2.0.2
gssa= pi=3D=3D1.8.2
h11=3D=3D0.14.0
httpagentparser=3D=3D1.9.5
httplib2= =3D=3D0.22.0
idna=3D=3D3.4
isodate=3D=3D0.6.1
itsdangerous=3D=3D2.= 1.2
Jinja2=3D=3D3.1.2
jmespath=3D=3D1.0.1
ldap3=3D=3D2.9.1
line= cache2=3D=3D1.0.0
Mako=3D=3D1.2.4
MarkupSafe=3D=3D2.1.2
msal=3D=3D= 1.22.0
msal-extensions=3D=3D1.0.0
msrest=3D=3D0.7.1
oauthlib=3D=3D= 3.2.2
outcome=3D=3D1.2.0
paramiko=3D=3D3.1.0
passlib=3D=3D1.7.4pbr=3D=3D5.11.1
Pillow=3D=3D9.5.0
portalocker=3D=3D2.7.0
protobuf= =3D=3D4.23.0
psutil=3D=3D5.9.5
psycopg=3D=3D3.1.8
psycopg-c=3D=3D3= .1.8
pyasn1=3D=3D0.5.0
pyasn1-modules=3D=3D0.3.0
pycodestyle=3D=3D= 2.10.0
pycparser=3D=3D2.21
PyJWT=3D=3D2.7.0
PyNaCl=3D=3D1.5.0
p= yotp=3D=3D2.8.0
pyparsing=3D=3D3.0.9
pypng=3D=3D0.20220715.0
PySoc= ks=3D=3D1.7.1
python-dateutil=3D=3D2.8.2
python-engineio=3D=3D4.4.1python-mimeparse=3D=3D1.6.0
python-socketio=3D=3D5.8.0
pytz=3D=3D20= 23.3
qrcode=3D=3D7.4.2
requests=3D=3D2.28.2
requests-oauthlib=3D= =3D1.3.1
rsa=3D=3D4.9
s3transfer=3D=3D0.6.1
selenium=3D=3D4.8.3six=3D=3D1.16.0
sniffio=3D=3D1.3.0
sortedcontainers=3D=3D2.4.0
sp= eaklater3=3D=3D1.4
SQLAlchemy=3D=3D2.0.12
sqlparse=3D=3D0.4.4
ssht= unnel=3D=3D0.4.0
testscenarios=3D=3D0.5.0
testtools=3D=3D2.6.0
tra= ceback2=3D=3D1.4.0
trio=3D=3D0.22.0
trio-websocket=3D=3D0.10.2
typ= ing_extensions=3D=3D4.5.0
ua-parser=3D=3D0.16.1
uritemplate=3D=3D4.1.= 1
urllib3=3D=3D1.26.15
user-agents=3D=3D2.2.0
Werkzeug=3D=3D2.2.3<= br>wsproto=3D=3D1.2.0
WTForms=3D=3D3.0.1

= =C2=A0
Somehow I feel this is some package relate= d=C2=A0issue only. I did not get an error on fresh 3.11 venv though.
<= /div>

On what platform?
=C2=A0

Thanks,
Yogesh Mahajan
EnterpriseDB


On Wed, May 10, 2023= at 6:38=E2=80=AFPM Dave Page <dpage@pgadmin.org> wrote:
=
Hi

On Wed, 10 May 2023 at 13:24, Yogesh Mahajan <yogesh.m= ahajan@enterprisedb.com> wrote:
Hi,

Errors occurring for python 3.8, 3.10, 3.11 are due the latest=C2=A0= Werkzeug=C2=A0version 2.3.4/2.3.3.
Could you please check=C2=A0Werkzeug version gett= ing downloaded in venv?=C2=A0It should be=C2=A0Werkzeug 2.2.3

They are all compl= etely fresh venvs, so:

for x in 38 39 310 311; do

workon pga= dmin4-py$x

pip freeze= | grep Werkzeug =C2=A0 =C2=A0

for> do= ne

Werkze= ug=3D=3D2.2.3

Werkze= ug=3D=3D2.2.3

Werkze= ug=3D=3D2.2.3

Werkze= ug=3D=3D2.2.3

=C2=A0

I have seen error occurring with python 3.9, but c= ould=C2=A0not=C2=A0reproduce locally. My guess is, it is again due to some dependent= =C2=A0package=C2=A0version upgrade.

Didn't Pravesh report the same thing? In any = case, as the venv is built from requirements.txt specifically for this test= , I'd expect it to be correct. This is what the venv looks like:
<= div>

% workon pgadmin4-py39


% python3 = --version

Python 3.9= .13


% pip free= ze

alembic=3D= =3D1.10.4

async-gene= rator=3D=3D1.10

attrs=3D= =3D23.1.0

Authlib=3D= =3D1.2.0

azure-comm= on=3D=3D1.1.28

azure-core= =3D=3D1.26.4

azure-iden= tity=3D=3D1.12.0

azure-mgmt= -core=3D=3D1.4.0

azure-mgmt= -rdbms=3D=3D10.1.0

azure-mgmt= -resource=3D=3D23.0.0

azure-mgmt= -subscription=3D=3D3.1.1

Babel=3D= =3D2.12.1

bcrypt=3D= =3D4.0.1

bidict=3D= =3D0.22.1

blinker=3D= =3D1.6.2

boto3=3D= =3D1.26.131

botocore= =3D=3D1.29.131

Brotli=3D= =3D1.0.9

cachetools= =3D=3D5.3.0

certifi=3D= =3D2023.5.7

cffi=3D=3D= 1.15.1

charset-no= rmalizer=3D=3D3.1.0

click=3D= =3D8.1.3

coverage= =3D=3D7.2.3

cryptograp= hy=3D=3D40.0.2

decorator= =3D=3D5.1.1

dnspython= =3D=3D2.3.0

email-vali= dator=3D=3D2.0.0.post2

eventlet= =3D=3D0.33.3

exceptiong= roup=3D=3D1.1.1

extras=3D= =3D1.0.0

fixtures= =3D=3D4.0.1

Flask=3D= =3D2.2.5

flask-babe= l=3D=3D3.1.0

Flask-Comp= ress=3D=3D1.13

Flask-Grav= atar=3D=3D0.5.0

Flask-Logi= n=3D=3D0.6.2

Flask-Mail= =3D=3D0.9.1

Flask-Migr= ate=3D=3D4.0.4

Flask-Para= noid=3D=3D0.3.0

Flask-Prin= cipal=3D=3D0.4.0

Flask-Secu= rity-Too=3D=3D5.1.2

Flask-Sock= etIO=3D=3D5.3.4

Flask-SQLA= lchemy=3D=3D3.0.3

Flask-WTF= =3D=3D1.1.1

google-api= -core=3D=3D2.11.0

google-api= -python-client=3D=3D2.86.0

google-aut= h=3D=3D2.17.3

google-aut= h-httplib2=3D=3D0.1.0

google-aut= h-oauthlib=3D=3D1.0.0

googleapis= -common-protos=3D=3D1.59.0

greenlet= =3D=3D1.1.2

gssapi=3D= =3D1.8.2

h11=3D=3D0= .14.0

httpagentp= arser=3D=3D1.9.5

httplib2= =3D=3D0.22.0

idna=3D=3D= 3.4

importlib-= metadata=3D=3D6.6.0

isodate=3D= =3D0.6.1

itsdangero= us=3D=3D2.1.2

Jinja2=3D= =3D3.1.2

jmespath= =3D=3D1.0.1

ldap3=3D= =3D2.9.1

linecache2= =3D=3D1.0.0

Mako=3D=3D= 1.2.4

MarkupSafe= =3D=3D2.1.2

msal=3D=3D= 1.22.0

msal-exten= sions=3D=3D1.0.0

msrest=3D= =3D0.7.1

oauthlib= =3D=3D3.2.2

outcome=3D= =3D1.2.0

paramiko= =3D=3D3.1.0

passlib=3D= =3D1.7.4

pbr=3D=3D5= .11.1

Pillow=3D= =3D9.5.0

portalocke= r=3D=3D2.7.0

protobuf= =3D=3D4.23.0

psutil=3D= =3D5.9.5

psycopg=3D= =3D3.1.8

psycopg-c= =3D=3D3.1.8

pyasn1=3D= =3D0.5.0

pyasn1-mod= ules=3D=3D0.3.0

pycodestyl= e=3D=3D2.10.0

pycparser= =3D=3D2.21

PyJWT=3D= =3D2.7.0

PyNaCl=3D= =3D1.5.0

pyotp=3D= =3D2.8.0

pyparsing= =3D=3D3.0.9

pypng=3D= =3D0.20220715.0

PySocks=3D= =3D1.7.1

python-dat= eutil=3D=3D2.8.2

python-eng= ineio=3D=3D4.4.1

python-mim= eparse=3D=3D1.6.0

python-soc= ketio=3D=3D5.8.0

pytz=3D=3D= 2023.3

qrcode=3D= =3D7.4.2

requests= =3D=3D2.28.2

requests-o= authlib=3D=3D1.3.1

rsa=3D=3D4= .9

s3transfer= =3D=3D0.6.1

selenium= =3D=3D4.8.3

six=3D=3D1= .16.0

sniffio=3D= =3D1.3.0

sortedcont= ainers=3D=3D2.4.0

speaklater= 3=3D=3D1.4

SQLAlchemy= =3D=3D2.0.12

sqlparse= =3D=3D0.4.4

sshtunnel= =3D=3D0.4.0

testscenar= ios=3D=3D0.5.0

testtools= =3D=3D2.6.0

traceback2= =3D=3D1.4.0

trio=3D=3D= 0.22.0

trio-webso= cket=3D=3D0.10.2

typing_ext= ensions=3D=3D4.5.0

ua-parser= =3D=3D0.16.1

uritemplat= e=3D=3D4.1.1

urllib3=3D= =3D1.26.15

user-agent= s=3D=3D2.2.0

Werkzeug= =3D=3D2.2.3

wsproto=3D= =3D1.2.0

WTForms=3D= =3D3.0.1

zipp=3D=3D= 3.15.0

=C2=A0
<= div><= span>And=C2=A0both=C2=A0the errors should not be specific to feature tests.= It should be for API/ReSQL tests too.

Yes, that does seem to be the case. I'm ju= st working on feature tests so that's where I happened to see the probl= em.

Setting up the venv as I have done is exactly = how it's done for all the Python tests we run on GitHub, on Windows, Ma= c, and Linux, which work just fine. It makes me wonder if there's somet= hing architecture specific going on here. It's quite odd.
=C2= =A0

Thanks,
Yogesh Mahajan
EnterpriseDB
<= /div>

On Wed, May 10, 2023 at 5:38=E2=80=AFPM Dave Page <dpage@pgadmin.org> wrote:=
I get the following errors when= trying to run the feature tests on an M1 Mac, with Python 3.8 through 3.11= . The Python 3.9 failure seems to be a known issue with eventlet (though, o= ur tests should still be able to run), and whilst the others can be fixed w= ith the strategic addition of a .decode('UTF-8'), it does beg the q= uestion "how do these tests pass on our buildfarm".

Yogesh, can you take a look please?

############

~/git/pga= dmin4/web=C2=A0 % workon pgadmin4-py38


~/git/pgadm= in4/web=C2=A0 % python regression/runtests.py --pkg feature_te= sts


2023-05-10 = 12:49:05,666: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 ########################################################

2023-05-10 = 12:49:05,666: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Starting pgAdmin 4 v7.1...

2023-05-10 = 12:49:05,666: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 ########################################################

2023-05-10 = 12:49:05,666: DEBUG=C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Python syspath: ['/Users/dpage/git/pgadmin4/web/regressio= n', '/Users/dpage/git/pgadmin4/web', '/Users/dpage/git/pgad= min4/web/regression', '/Library/Frameworks/Python.framework/Version= s/3.8/lib/python38.zip', '/Library/Frameworks/Python.framework/Vers= ions/3.8/lib/python3.8', '/Library/Frameworks/Python.framework/Vers= ions/3.8/lib/python3.8/lib-dynload', '/Users/dpage/.virtualenvs/pga= dmin4-py38/lib/python3.8/site-packages']

NOTE: Confi= guring authentication for SERVER mode.


2023-05-10 = 12:49:06,738: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <AboutModule 'about'= >

2023-05-10 = 12:49:06,739: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <AuthenticateModule 'aut= henticate'>

2023-05-10 = 12:49:06,740: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <BrowserModule 'browser&= #39;>

2023-05-10 = 12:49:07,662: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <DashboardModule 'dashbo= ard'>

2023-05-10 = 12:49:07,668: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <DashboardModule 'dashbo= ard'>

2023-05-10 = 12:49:07,668: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <HelpModule 'help'&g= t;

2023-05-10 = 12:49:07,668: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <MiscModule 'misc'&g= t;

2023-05-10 = 12:49:08,769: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <PreferencesModule 'pref= erences'>

2023-05-10 = 12:49:08,771: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <PgAdminModule 'redirect= s'>

2023-05-10 = 12:49:08,771: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <SettingsModule 'setting= s'>

2023-05-10 = 12:49:08,774: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <ToolsModule 'tools'= >

pgAdmin 4 -= Application Initialisation

=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


Starting pg= Admin 4. Please navigate to http://127.0.0.1:34575 in your browser.

=C2= =A0* Serving Flask app 'pgadmin'

=C2= =A0* Debug mode: off


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'PostgreSQL 15= ' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Traceback (= most recent call last):

=C2= =A0 File "regression/runtests.py", line 486, in execute_te= st

=C2= =A0 =C2=A0 test_utils.create_parent_server_node(server_passed)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 691, in create_parent_server_node

=C2= =A0 =C2=A0 srv_id =3D create_server(server_info)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 634, in create_server

=C2= =A0 =C2=A0 server['type'] =3D get_server_type(server)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 1189, in get_server_type

=C2= =A0 =C2=A0 if "EnterpriseDB" in version_string:

TypeError: = a bytes-like object is required, not 'str'

a bytes-lik= e object is required, not 'str'

Exception i= n 6208811008 Thread-3


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DCompleted the test cases for 'PostgreSQL = 15'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Test Result= Summary

=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


Please chec= k output in file: /Users/dpage/git/pgadmin4/web/regression/regression.log



~/git/pgadm= in4/web=C2=A0 % workon pgadmin4-py39


~/git/pgadm= in4/web=C2=A0 % python regression/runtests.py --pkg feature_te= sts


2023-05-10 = 12:49:30,701: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 ########################################################

2023-05-10 = 12:49:30,701: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Starting pgAdmin 4 v7.1...

2023-05-10 = 12:49:30,701: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 ########################################################

2023-05-10 = 12:49:30,701: DEBUG=C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Python syspath: ['/Users/dpage/git/pgadmin4/web/regressio= n', '/Users/dpage/git/pgadmin4/web', '/Users/dpage/git/pgad= min4/web/regression', '/Library/Frameworks/Python.framework/Version= s/3.9/lib/python39.zip', '/Library/Frameworks/Python.framework/Vers= ions/3.9/lib/python3.9', '/Library/Frameworks/Python.framework/Vers= ions/3.9/lib/python3.9/lib-dynload', '/Users/dpage/.virtualenvs/pga= dmin4-py39/lib/python3.9/site-packages']

NOTE: Confi= guring authentication for SERVER mode.


2023-05-10 = 12:49:31,591: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <AboutModule 'about'= >

2023-05-10 = 12:49:31,592: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <AuthenticateModule 'aut= henticate'>

2023-05-10 = 12:49:31,593: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <BrowserModule 'browser&= #39;>

2023-05-10 = 12:49:32,297: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <DashboardModule 'dashbo= ard'>

2023-05-10 = 12:49:32,303: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <DashboardModule 'dashbo= ard'>

2023-05-10 = 12:49:32,303: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <HelpModule 'help'&g= t;

2023-05-10 = 12:49:32,304: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <MiscModule 'misc'&g= t;

2023-05-10 = 12:49:33,355: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <PreferencesModule 'pref= erences'>

2023-05-10 = 12:49:33,357: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <PgAdminModule 'redirect= s'>

2023-05-10 = 12:49:33,358: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <SettingsModule 'setting= s'>

2023-05-10 = 12:49:33,361: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <ToolsModule 'tools'= >

pgAdmin 4 -= Application Initialisation

=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


Starting pg= Admin 4. Please navigate to http://127.0.0.1:49511 in your browser.

=C2= =A0* Serving Flask app 'pgadmin'

=C2= =A0* Debug mode: off


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'PostgreSQL 15= ' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Traceback (= most recent call last):

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/runtests.py&= quot;, line 486, in execute_test

=C2= =A0 =C2=A0 test_utils.create_parent_server_node(server_passed)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 691, in create_parent_server_node

=C2= =A0 =C2=A0 srv_id =3D create_server(server_info)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 634, in create_server

=C2= =A0 =C2=A0 server['type'] =3D get_server_type(server)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 1172, in get_server_type

=C2= =A0 =C2=A0 connection =3D get_db_connection(

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 55, in get_db_connection

=C2= =A0 =C2=A0 connection =3D psycopg.connect(

=C2= =A0 File "/Users/dpage/.virtualenvs/pgadmin4-py39/lib/python3.9= /site-packages/psycopg/connection.py", line 723, in connect

=C2= =A0 =C2=A0 rv =3D cls._wait_conn(

=C2= =A0 File "/Users/dpage/.virtualenvs/pgadmin4-py39/lib/python3.9= /site-packages/psycopg/connection.py", line 972, in _wait_conn

=C2= =A0 =C2=A0 return waiting.wait_conn(gen, timeout=3Dtimeout)

=C2= =A0 File "/Users/dpage/.virtualenvs/pgadmin4-py39/lib/python3.9= /site-packages/psycopg/waiting.py", line 86, in wait_conn

=C2= =A0 =C2=A0 sel.register(fileno, s)

=C2= =A0 File "/Library/Frameworks/Python.framework/Versions/3.9/lib= /python3.9/selectors.py", line 527, in register

=C2= =A0 =C2=A0 self._selector.control([kev], 0, 0)

TypeError: = changelist must be an iterable of select.kevent objects

changelist = must be an iterable of select.kevent objects

Exception i= n 6213283840 Thread-3


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DCompleted the test cases for 'PostgreSQL = 15'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Test Result= Summary

=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


Please chec= k output in file: /Users/dpage/git/pgadmin4/web/regression/regression.log



~/git/pgadm= in4/web=C2=A0 % workon pgadmin4-py310


~/git/pgadm= in4/web=C2=A0 % python regression/runtests.py --pkg feature_te= sts


2023-05-10 = 12:49:51,253: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 ########################################################

2023-05-10 = 12:49:51,254: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Starting pgAdmin 4 v7.1...

2023-05-10 = 12:49:51,254: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 ########################################################

2023-05-10 = 12:49:51,254: DEBUG=C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Python syspath: ['/Users/dpage/git/pgadmin4/web/regressio= n', '/Users/dpage/git/pgadmin4/web', '/Users/dpage/git/pgad= min4/web/regression', '/Library/Frameworks/Python.framework/Version= s/3.10/lib/python310.zip', '/Library/Frameworks/Python.framework/Ve= rsions/3.10/lib/python3.10', '/Library/Frameworks/Python.framework/= Versions/3.10/lib/python3.10/lib-dynload', '/Users/dpage/.virtualen= vs/pgadmin4-py310/lib/python3.10/site-packages']

NOTE: Confi= guring authentication for SERVER mode.


2023-05-10 = 12:49:52,218: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <AboutModule 'about'= >

2023-05-10 = 12:49:52,219: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <AuthenticateModule 'aut= henticate'>

2023-05-10 = 12:49:52,219: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <BrowserModule 'browser&= #39;>

2023-05-10 = 12:49:52,912: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <DashboardModule 'dashbo= ard'>

2023-05-10 = 12:49:52,916: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <DashboardModule 'dashbo= ard'>

2023-05-10 = 12:49:52,917: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <HelpModule 'help'&g= t;

2023-05-10 = 12:49:52,917: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <MiscModule 'misc'&g= t;

2023-05-10 = 12:49:54,010: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <PreferencesModule 'pref= erences'>

2023-05-10 = 12:49:54,012: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <PgAdminModule 'redirect= s'>

2023-05-10 = 12:49:54,012: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <SettingsModule 'setting= s'>

2023-05-10 = 12:49:54,015: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <ToolsModule 'tools'= >

pgAdmin 4 -= Application Initialisation

=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


Starting pg= Admin 4. Please navigate to http://127.0.0.1:53161 in your browser.

=C2= =A0* Serving Flask app 'pgadmin'

=C2= =A0* Debug mode: off


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'PostgreSQL 15= ' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Traceback (= most recent call last):

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/runtests.py&= quot;, line 486, in execute_test

=C2= =A0 =C2=A0 test_utils.create_parent_server_node(server_passed)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 691, in create_parent_server_node

=C2= =A0 =C2=A0 srv_id =3D create_server(server_info)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 634, in create_server

=C2= =A0 =C2=A0 server['type'] =3D get_server_type(server)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 1189, in get_server_type

=C2= =A0 =C2=A0 if "EnterpriseDB" in version_string:

TypeError: = a bytes-like object is required, not 'str'

a bytes-lik= e object is required, not 'str'

Exception i= n 6139408384 Thread-3 (execute_test)


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DCompleted the test cases for 'PostgreSQL = 15'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Test Result= Summary

=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


Please chec= k output in file: /Users/dpage/git/pgadmin4/web/regression/regression.log



~/git/pgadm= in4/web=C2=A0 % workon pgadmin4-py311


~/git/pgadm= in4/web=C2=A0 % python regression/runtests.py --pkg feature_te= sts


2023-05-10 = 12:50:21,962: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 ########################################################

2023-05-10 = 12:50:21,963: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Starting pgAdmin 4 v7.1...

2023-05-10 = 12:50:21,963: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 ########################################################

2023-05-10 = 12:50:21,963: DEBUG=C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Python syspath: ['/Users/dpage/git/pgadmin4/web/regressio= n', '/Users/dpage/git/pgadmin4/web', '/Users/dpage/git/pgad= min4/web/regression', '/Library/Frameworks/Python.framework/Version= s/3.11/lib/python311.zip', '/Library/Frameworks/Python.framework/Ve= rsions/3.11/lib/python3.11', '/Library/Frameworks/Python.framework/= Versions/3.11/lib/python3.11/lib-dynload', '/Users/dpage/.virtualen= vs/pgadmin4-py311/lib/python3.11/site-packages']

NOTE: Confi= guring authentication for SERVER mode.


2023-05-10 = 12:50:22,483: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <AboutModule 'about'= >

2023-05-10 = 12:50:22,484: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <AuthenticateModule 'aut= henticate'>

2023-05-10 = 12:50:22,484: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <BrowserModule 'browser&= #39;>

2023-05-10 = 12:50:22,947: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <DashboardModule 'dashbo= ard'>

2023-05-10 = 12:50:22,951: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <DashboardModule 'dashbo= ard'>

2023-05-10 = 12:50:22,951: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <HelpModule 'help'&g= t;

2023-05-10 = 12:50:22,951: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <MiscModule 'misc'&g= t;

2023-05-10 = 12:50:23,568: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <PreferencesModule 'pref= erences'>

2023-05-10 = 12:50:23,569: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <PgAdminModule 'redirect= s'>

2023-05-10 = 12:50:23,570: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <SettingsModule 'setting= s'>

2023-05-10 = 12:50:23,571: INFO =C2=A0 pgadmin:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Registering blueprint module: <ToolsModule 'tools'= >

pgAdmin 4 -= Application Initialisation

=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


Starting pg= Admin 4. Please navigate to http://127.0.0.1:30355 in your browser.

=C2= =A0* Serving Flask app 'pgadmin'

=C2= =A0* Debug mode: off


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'PostgreSQL 15= ' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Traceback (= most recent call last):

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/runtests.py&= quot;, line 486, in execute_test

=C2= =A0 =C2=A0 test_utils.create_parent_server_node(server_passed)

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 691, in create_parent_server_node

=C2= =A0 =C2=A0 srv_id =3D create_server(server_info)

=C2= =A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^^^^^^^^^^^^^^^^^^^^^^^= ^^^

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 634, in create_server

=C2= =A0 =C2=A0 server['type'] =3D get_server_type(server)

=C2= =A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^^^^^^^^^^^^^^^^^^^^^^^

=C2= =A0 File "/Users/dpage/git/pgadmin4/web/regression/python_test_= utils/test_utils.py", line 1189, in get_server_type

=C2= =A0 =C2=A0 if "EnterpriseDB" in version_string:

=C2= =A0=C2=A0 =C2=A0 =C2=A0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

TypeError: = a bytes-like object is required, not 'str'

a bytes-lik= e object is required, not 'str'

Exception i= n 6212005888 Thread-3 (execute_test)


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DCompleted the test cases for 'PostgreSQL = 15'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Test Result= Summary

=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


Please chec= k output in file: /Users/dpage/git/pgadmin4/web/regression/regression.log


<= p style=3D"margin:0px;font-stretch:normal;font-size:12px;line-height:normal= ;font-family:Helvetica;font-size-adjust:none;font-kerning:auto;font-variant= -alternates:normal;font-variant-ligatures:normal;font-variant-numeric:norma= l;font-variant-east-asian:normal;font-feature-settings:normal">############=


--
Da= ve Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: https://www.enterprised= b.com



--
Dave Page
Blog: https://pgsnake.blogspot.com
Twitt= er: @pgsnake

EDB: https://www.enterprisedb.com



--
Dave Page
Blog: https://pgsnake.blogspot.com
Twitt= er: @pgsnake

EDB: https://www.enterprisedb.com

--000000000000d4f83a05fb66bf96--