🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.maint.python
Article #85

Re: Installing ‘python-apt-binary’ from PyPI using ‘python3 -m pip’

#85
From: Ben Finney
Date: Mon, 30 Nov 2026 21:50
48 lines
4005 bytes
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Andrey Rakhmatullin <wrar@debian.org> writes:

> On Mon, Nov 30, 2026 at 04:38:34PM +1100, Ben Finney wrote:
> >I'm attempting to install Debian's APT bindings for Python, in a
> >virtualenv and/or =E2=80=98pyproject.toml=E2=80=99 project dependencies,=
 so that
> >programs can (for example) `import apt_pkg`. How should that be done?
>
> As it's not on PyPI there is no official way to do this.

Okay, it appears none of the PyPI entries constitute an official release
of the APT Python bindings.

That's disappointing. Thank you for clarifying that fact.

=2D-=20
 \          =E2=80=9CIn general my children refuse to eat anything that has=
n't |
  `\                              danced on television.=E2=80=9D =E2=80=94E=
rma Bombeck |
_o__)                                                                  |
Ben Finney

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEEXfQ3Ydd+6BMR2Ur+B+hY8vqvVjgFAmsN7iUTHGJpZ25vc2VA
ZGViaWFuLm9yZwAKCRAH6Fjy+q9WOGoSD/9dcUi1TjfqFIzeqTWhXLvgyOysFzWx
FtGZECnLQK37Bhdyknw6kPqKJ55qb1w6mgmEkHWGdEBMk19urYKkOce0vY53V9Xd
Lf6Q4D/EQQZhhaK27BvJZfD14XI8phDQgwNDtoxzuOhQoK3qlEI1zP7V9Pvl55yf
FvabCy7GXiD9vbWQ3USpeZYdeXKxh9aMR724ytpoJJ538vmbzBM3Wjgr4rENM8oY
ZMeluXGxmjYK2ShVyJ8+xT3ks2GfVjAaTjz9X7NSGLLbPGSNsNdv/XWdF83cfJQp
wR896qCsMmkm9kKgaE6q3TW43xw2eLPRLJOLg5PDFyQiLUU2DLbdBsw5biJonQNN
bK2f+k0ekZEIXaEDMMMiioHXtnkBoJTV+ee1k+iiQkDhMm6c3rytxK4L3GFkZqRe
XpOHMDuZsaAJnyPk3eNwEutMqX4nJKwfcEP07f8cKMiaBRoRauK3kWBsrftkLwu2
hjvjQny5RTgCnSj+Xw2e8ra1W8spYP2mX9WcASWDcMOjitjtSMGqLDz5zBvewuFG
W3/i5eW0rig2thRU7VaL9xxguqXRvvRVEV1BA27W4ci9ExMdluVpIMWIrbS068Ny
NIzuKb44zkvmDRJUTrv6pna9BM/xXryeWrrUw/jtnEiHv0x7Ad+toaizjdUg/2xV
yEwcGl424W9Fqg==
=CRLc
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID: <O5hq1-fcm5-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O52hj-f3Kd-3@gated-at.bofh.it> <O53wJ-f4ld-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Ben Finney <bignose@debian.org>
Newsgroups: linux.debian.maint.python
Subject: Re: Installing ‘python-apt-binary’ from  PyPI using ‘python3 -m pip’
Date: Mon, 30 Nov 2026 22:50:01 +0100
Message-ID: <O5hq1-fcm5-3@gated-at.bofh.it>
References: <O52hj-f3Kd-3@gated-at.bofh.it> <O53wJ-f4ld-1@gated-at.bofh.it>
X-Original-To: debian-python@lists.debian.org
X-Mailbox-Line: From debian-python-request@lists.debian.org  Mon Nov 30 21:44:22 2026
Old-Return-Path: <debian-python@m.gmane-mx.org>
X-Amavis-Spam-Status: No, score=-1.751 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249] autolearn=no autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6
X-Injected-Via-Gmane: http://gmane.org/
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha256; protocol="application/pgp-signature"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:jg4IRb4UbRd/7vUdUqXLZDbeEyA=
X-Public-Key-ID: 0xAC128405
X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35  4855 B8B2 4C06 AC12 8405
X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From: Ben Finney <bignose+hates-spam@benfinney.id.au>
X-Mailing-List: <debian-python@lists.debian.org> archive/latest/24210
List-ID: <debian-python.lists.debian.org>
List-URL: <https://lists.debian.org/debian-python/>
List-Archive: https://lists.debian.org/msgid-search/87v75engey.fsf@benfinney.id.au
Approved: robomod@news.nic.it
Lines: 48
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 01 Dec 2026 08:44:05 +1100
X-Original-Message-ID: <87v75engey.fsf@benfinney.id.au>
X-Original-References: <87zeuqop45.fsf@benfinney.id.au>
	<aw0cldKJqmkEF6u9@belkar.wrar.name>