Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qysJK-00BirJ-Vq for pgadmin-hackers@arkaria.postgresql.org; Fri, 03 Nov 2023 11:25:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qysJJ-000Dt9-Je for pgadmin-hackers@arkaria.postgresql.org; Fri, 03 Nov 2023 11:25:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qysJJ-000Dt1-B2 for pgadmin-hackers@lists.postgresql.org; Fri, 03 Nov 2023 11:25:57 +0000 Received: from out-20.smtp.github.com ([192.30.252.203]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qysJD-004Twc-SG for pgadmin-hackers@lists.postgresql.org; Fri, 03 Nov 2023 11:25:56 +0000 Received: from github.com (hubbernetes-node-5b5cf00.va3-iad.github.net [10.48.146.41]) by smtp.github.com (Postfix) with ESMTPA id 206038C0FFA for ; Fri, 3 Nov 2023 04:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1699010750; bh=4cirXRvf0JW54j6YgajS0+YWsLISnV29EEJwpzQmEPo=; h=Date:From:To:Subject:From; b=ImnEGvRpinENnQdBKgeyX0AnPh/HCbi7gd/vCnoTOFUisXvAWRh/GDMw2YRh/Rhl2 n7H09oKmTSjDO4F3SX47EqQooXecztJ1tvwlb6Tt3F6mZA1w5vQUiap5FuaSi2naDN IptBTqTJ2+mvPY+8GJYh5WYaDeyhk3bLj20NqYP4= Date: Fri, 03 Nov 2023 04:25:50 -0700 From: Akshay Joshi To: pgadmin-hackers@lists.postgresql.org Message-ID: Subject: [pgadmin-org/pgadmin4] 5f3965: 1) Replace utcnow() function with datetime.now(tim... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Recipient-Address: pgadmin-hackers@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgadmin-org/pgadmin4 Commit: 5f3965ff0a67c4cba38c72d0e9aa49960bb7bb8a https://github.com/pgadmin-org/pgadmin4/commit/5f3965ff0a67c4cba38c72d0e9aa49960bb7bb8a Author: Akshay Joshi Date: 2023-11-03 (Fri, 03 Nov 2023) Changed paths: M web/pgadmin/misc/bgprocess/process_executor.py M web/pgadmin/misc/bgprocess/processes.py M web/pgadmin/tools/erd/static/js/erd_tool/components/ERDTool.jsx M web/pgadmin/utils/passexec.py Log Message: ----------- 1) Replace utcnow() function with datetime.now(timezone.utc) as it is deprecated from Python v3.12. 2) Correct the URL to log an issue in pgAdmin in the ERD tool script.