Is this a new report?
Yes
System Info
Void 6.6.61_1 x86_64 GenuineIntel notuptodate rrrrmdFFFFFFF
Package(s) Affected
python3-openai 1.12.0_2
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
The python library should be compatible with the last package revision.
Actual behaviour
Attempting to use the API will result in a python failure:
Traceback (most recent call last):
File "/usr/local/bin/ai", line 7, in <module>
client = OpenAI(
api_key="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
)
File "/usr/lib/python3.13/site-packages/openai/_client.py", line 112, in __init__
super().__init__(
~~~~~~~~~~~~~~~~^
version=__version__,
^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
_strict_response_validation=_strict_response_validation,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/site-packages/openai/_base_client.py", line 793, in __init__
self._client = http_client or SyncHttpxClientWrapper(
~~~~~~~~~~~~~~~~~~~~~~^
base_url=base_url,
^^^^^^^^^^^^^^^^^^
...<5 lines>...
follow_redirects=True,
^^^^^^^^^^^^^^^^^^^^^^
)
^
I am attempting to get a working update for python3-openai however there is a new dependency for python3-jiter using cargo/rust which I am not particularly familiar with. If anyone is familiar with cargo/rust packages and would take a shot at it I would greatly appreciate it. In the mean time the package is broken, I will attempt to work at it some over the holidays.
Steps to reproduce
- Do the install python3-openai thing
- Try to initialize an OpenAI client
client = OpenAI(
api_key="sk-yourtotallyvalidopenaiapikey",
)
- Run it
Is this a new report?
Yes
System Info
Void 6.6.61_1 x86_64 GenuineIntel notuptodate rrrrmdFFFFFFF
Package(s) Affected
python3-openai 1.12.0_2
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
The python library should be compatible with the last package revision.
Actual behaviour
Attempting to use the API will result in a python failure:
I am attempting to get a working update for python3-openai however there is a new dependency for python3-jiter using cargo/rust which I am not particularly familiar with. If anyone is familiar with cargo/rust packages and would take a shot at it I would greatly appreciate it. In the mean time the package is broken, I will attempt to work at it some over the holidays.
Steps to reproduce