ai/py-tritonclient 2.70.0_1 MidnightBSD
Python client library and utilities for Triton Inference Server
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
f9adf48356- License
- bsd3
- Categories
- ai, python
Description
tritonclient provides a Python client library and utilities for communicating with NVIDIA Triton Inference Server over HTTP and gRPC.
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}tritonclient
From mports:
cd /usr/mports/ai/py-tritonclient && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tritonclient>0:ai/py-tritonclient
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Runtime 7
${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8.1: www/py-aiohttp${PYTHON_PKGNAMEPREFIX}geventhttpclient>=2.3.3: devel/py-geventhttpclient${PYTHON_PKGNAMEPREFIX}greenlet>0: devel/py-greenlet${PYTHON_PKGNAMEPREFIX}ml-dtypes>0: math/py-ml-dtypes${PYTHON_PKGNAMEPREFIX}numpy>=1.19.1: math/py-numpy${PYTHON_PKGNAMEPREFIX}python-rapidjson>=0.9.1: devel/py-python-rapidjson${PYTHON_PKGNAMEPREFIX}urllib3>=2.0.7: net/py-urllib3
Extract 1
${UNZIP_CMD}: archivers/unzip
Build dependencies 1
Run dependencies 7
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tritonclient-2.70.0-py3-none-any.whl | 111782 | 7ef72e5bc11649c9415057b0933ffb9d16675f0013f1f54759457fb625355de2 |
Master sites 1
- ${MASTER_SITE_PYPI}
Commit history 3
| Date | Commit | Credits | Log message |
|---|---|---|---|
f9adf48356 |
Lucas Holt | ai/py-tritonclient: fix build by using mports staging variables (#1285) Fixes #1283. The port has never built — it was written against FreeBSD
idioms
that do not exist in mports.
```diff
-PEP517_INSTALL_CMD= ${PYTHON_CMD} -m installer --destdir ${STAGEDIR} --prefix ${PREFIX} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
+PEP517_INSTALL_CMD= ${PYTHON_CMD} -m installer --destdir ${FAKE_DESTDIR} --prefix ${TRUE_PREFIX} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
-post-stage:
- @${RM} ${STAGEDIR}${PREFIX}/LICENSE.txt
+post-fake:
+ @${RM} ${FAKE_DESTDIR}${TRUE_PREFIX}/LICENSE.txt
```
### Why each part
- **`STAGEDIR` is not defined in mports.** It expanded to empty, leaving
`--destdir --prefix /usr/local`, so `--destdir` swallowed the following
`--prefix` as its value and the wheel landed in a doubled staging path.
The
later `RECORD` lookup then found nothing.
… |
|
d31e6c7450 |
Lucas Holt | *: bump PORTREVISION for py-aiohttp and py-brotli updates (#1280) Rebuilds dependents of the two large version jumps in #1269:
`www/py-aiohttp` 3.9.3 -> 3.14.3 (#1279) and `archivers/py-brotli`
1.0.9 -> 1.2.0 (#1278).
25 ports, `PORTREVISION` lines only — no other change in the diff.
### py-aiohttp dependents (18) plus devel/py-vcrpy
`ai/py-datasets`, `ai/py-langchain-community`,
`ai/py-langchain-google-community`, `ai/py-litellm`,
`ai/py-tritonclient`,
`devel/py-aiobotocore`, `devel/py-azure-core`, `devel/py-black`,
`devel/py-gql`, `devel/py-sentry-sdk`, `devel/py-strawberry-graphql`,
`devel/py-vcrpy`, `dns/py-idna_ssl`, `filesystems/py-s3fs`,
`ftp/py-parfive`,
`mail/py-postfix-mta-sts-resolver`, `security/py-google-auth`,
`textproc/py-elasticsearch`, `www/py-google-resumable-media`
… |
|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |