Port details |
- py-openai Python client library for the OpenAI API
- 1.12.0 misc =0 1.12.0Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2023-02-28 01:30:24
- Last Update: 2024-03-11 16:20:37
- Commit Hash: 7494f68
- License: MIT
- WWW:
- https://github.com/openai/openai-python
- Description:
- The OpenAI Python library provides convenient access to the OpenAI API from
applications written in the Python language.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}openai>0:misc/py-openai@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/misc/py-openai/ && make install clean
- To add the package, run one of these commands:
- pkg install misc/py-openai
- pkg install py39-openai
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-openai listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-openai
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1710052938
SHA256 (openai-1.12.0.tar.gz) = 99c5d257d09ea6533d689d1cc77caa0ac679fa21efef8893d8b0832a86877f1b
SIZE (openai-1.12.0.tar.gz) = 130552
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>0 : devel/py-setuptools@py39
- py39-hatchling>0 : devel/py-hatchling@py39
- py39-wheel>0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-anyio>=3.5.0 : devel/py-anyio@py39
- py39-distro>=1.7.0<2.0.0 : sysutils/py-distro@py39
- py39-httpx>=0.23.0<1 : www/py-httpx@py39
- py39-pydantic2>=1.9.0<3 : devel/py-pydantic2@py39
- py39-sniffio>0 : devel/py-sniffio@py39
- py39-tqdm>4 : misc/py-tqdm@py39
- py39-typing-extensions>=4.7 : devel/py-typing-extensions@py39
- py39-numpy>=1.16,1<1.26,1 : math/py-numpy@py39
- py39-pandas>=1.2.3 : math/py-pandas@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- misc/py-instructor
- misc/py-litellm
- misc/py-shell-gpt
Configuration Options:
- No options to configure
- Options name:
- misc_py-openai
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.12.0 11 Mar 2024 16:20:37 |
Yuri Victorovich (yuri) |
misc/py-openai: update 1.11.0 → 1.12.0
Reported by: portscout |
1.11.0 04 Feb 2024 08:59:22 |
Yuri Victorovich (yuri) |
misc/py-openai: update 1.9.0 → 1.11.0
Reported by: portscout |
1.9.0_1 03 Feb 2024 06:01:37 |
Hiroki Tagato (tagattie) |
misc/py-openai: update runtime dependency on py-pydantic to py-pydantic2
misc/py-shell-gpt (one of the dependent ports on py-openai) has the
following dependency graph:
misc/py-shell-gpt -> misc/py-instructor -> devel/py-pydantic2
(pyproject.toml contains pydantic = "^2.0.2")
-> misc/py-openai -> devel/py-pydantic
(pyproject.toml contains "pydantic>=1.9.0, <3")
Updating the dependency of py-openai to py-pydantic2 satisfies both
requirements at the same time.
PR: 276548
Approved by: yuri (maintainer) |
1.9.0 22 Jan 2024 14:14:55 |
Juraj Lutter (otis) |
misc/py-openai: Update to 1.9.0
Approved by: yuri (maintainer) |
1.8.0 20 Jan 2024 07:20:22 |
Yuri Victorovich (yuri) |
misc/py-openai: update 1.6.1 → 1.8.0
Differential Revision: https://reviews.freebsd.org/D43375 |
1.6.1 01 Jan 2024 21:48:19 |
Juraj Lutter (otis) |
misc/py-openai: Update to 1.6.1
Approved by: yuri (maintainer) |
0.27.10 27 Dec 2023 09:36:22 |
Yuri Victorovich (yuri) |
misc/py-openai: update 0.27.9 → 0.27.10
Reported by: portscout |
0.27.9 23 Aug 2023 05:13:48 |
Yuri Victorovich (yuri) |
misc/py-openai: update 0.27.8 → 0.27.9
Reported by: portscout |
0.27.8 18 Jul 2023 00:53:09 |
Charlie Li (vishwin) |
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358 |
0.27.8 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.27.8 24 Jun 2023 08:11:49 |
Yuri Victorovich (yuri) |
misc/py-openai: Update 0.27.0 → 0.27.8
Reported by: portscout |
0.27.0_2 23 Apr 2023 09:09:58 |
Gerald Pfeifer (gerald) |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
0.27.0_1 04 Apr 2023 18:29:11 |
Antoine Brodin (antoine) |
USE_PYTHON=pep517: bump PORTREVISION |
0.27.0 02 Mar 2023 19:06:09 |
Yuri Victorovich (yuri) |
misc/py-openai: Update 0.26.5 → 0.27.0
Reported by: portscout |
0.26.5_1 02 Mar 2023 07:35:44 |
Yuri Victorovich (yuri) Author: Rainer Hurling |
misc/py-openai: Add missing dependencies
PR: 269876 |
0.26.5 28 Feb 2023 02:46:25 |
Yuri Victorovich (yuri) |
*/*: Fix typo in comment
Reported by: jbeich@ |
0.26.5 28 Feb 2023 01:29:36 |
Yuri Victorovich (yuri) |
misc/py-openai: New port: Python client library for the OpenAI API |