From nobody Tue Feb 28 14:28:11 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PR08W5xRnz3vWTh for ; Tue, 28 Feb 2023 14:28:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PR08W34Lcz4LQq for ; Tue, 28 Feb 2023 14:28:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677594491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D1eDgJsET6xWv3p/cBCZPB9gb/q5buD7etfUBEheuxM=; b=cbSfCC1IwgFmhXWLf+DYQlT9+axYeNqjaPF/DKnZDizom6nmHXwO1D9hNvPO2m6/4yu/jv Wnr/G3bkDf1d1fbVUR1oq0PIzem0vMruNZfrmZLMGOrgIRl5nVc7CHxPAFvAQ+FXjnfx0C AiurWfmcbsriaa94iLCVo7Abg9shKOhZX/RCbAcfu1GzfP5Gd93SPonpG6zk5QFlvH5AsH wOTnqCVtdj9VBwrmRBFjcvoTHAEcJanCl2t0DxbDV76bqsTt+AcI6bkksRTiS7XKboUBFS 9BO6clD12dcJAZqGbYZZ2YLiW6mxcZ1+G/ADkTXJWVEMqNRItHeWmBTT08jEPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677594491; a=rsa-sha256; cv=none; b=r072F6BrwWnBchjYAkMcytpO3GaUSnvrY/Y8vqh/NW9L3k5S9uHalqo9mWe52ky2l3Ce8C xp6TGnVsjGI45UaAn9UXBzmJkpNUX7fLoDOQkM5DtO+qrhKMiLVlQ1OCRvaox4QdbjsGbB XrREZxFoC25d+Qgfuqu+hbZE+wut1Q82X3rNu3LAZDt2hF7f5rSRJO9vaJzlK+rhZ6wAHr VsVPE7ilNO9Bj4MXrm7R4BRVGoNJMu51abgtRkn3/j58TfIE//pDwnOMp/ra//s2z06tcj bVh5vx6GRXK9IcGnDmeu63fKIi+MtMC//D5lbIKlenyUzzebSUPgQ+rJLQ+efw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PR08W23Xxz19d9 for ; Tue, 28 Feb 2023 14:28:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 31SESBLB006280 for ; Tue, 28 Feb 2023 14:28:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31SESBmA006279 for ports-bugs@FreeBSD.org; Tue, 28 Feb 2023 14:28:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269876] misc/py-openai: Missing some dependencies Date: Tue, 28 Feb 2023 14:28:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rhurlin@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269876 Bug ID: 269876 Summary: misc/py-openai: Missing some dependencies Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: rhurlin@FreeBSD.org Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Created attachment 240481 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D240481&action= =3Dedit Patch to add some RUN_DEPENDS Many thanks for this new port! Very appreciated and needed for example for = the QGIS plugin QChatGPT :) Unfortunately using py-openai is broken because of missing depencencies, escpecially py-aiohttp: # python3 Python 3.9.16 (main, Feb 28 2023, 07:54:21)=20 [Clang 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8= dfdc on freebsd14 Type "help", "copyright", "credits" or "license" for more information. >>> import openai Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.9/site-packages/openai/__init__.py", line 9,= in from openai.api_resources import ( File "/usr/local/lib/python3.9/site-packages/openai/api_resources/__init__.py", = line 1, in from openai.api_resources.completion import Completion # noqa: F401 File "/usr/local/lib/python3.9/site-packages/openai/api_resources/completion.py", line 4, in from openai.api_resources.abstract import DeletableAPIResource, ListableAPIResource File "/usr/local/lib/python3.9/site-packages/openai/api_resources/abstract/__ini= t__.py", line 3, in from openai.api_resources.abstract.api_resource import APIResource File "/usr/local/lib/python3.9/site-packages/openai/api_resources/abstract/api_r= esource.py", line 4, in from openai import api_requestor, error, util File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", li= ne 21, in import aiohttp ModuleNotFoundError: No module named 'aiohttp' In misc/py-openai, setup.cfg:l.23-25 contains information about needed dependencies. The attached patch should solve this. The file setup.cfg has = some more dependencies, which could be useful for using openai. --=20 You are receiving this mail because: You are the assignee for the bug.=