Skip to content

docs: python3-mistral-common accepted in the Debian archive #287

Description

@mbaudier

Python -VV

(plain Debian from https://snapshot.debian.org/archive/debian/20260808T022405Z/)

$ python3 -VV
Python 3.14.6 (main, Jun 10 2026, 18:54:31) [GCC 15.2.0]

Pip Freeze

(plain Debian from https://snapshot.debian.org/archive/debian/20260808T022405Z/)

$ pip freeze
accelerate==1.14.0
annotated-doc==0.0.4
annotated-types==0.8.0
anyio==4.12.1
arrow==1.4.0
attrs==26.1.0
autocommand==2.2.2
av==17.1.0
babel==2.17.0
bcrypt==5.0.0
beautifulsoup4==4.15.0
blosc==1.11.2
Bottleneck==1.4.2
Brotli==1.2.0
build==1.5.1
certifi==2026.7.22
chardet==5.2.0
charset-normalizer==3.4.7
click==8.3.3
cloudpickle==3.1.2
contourpy==1.3.3
cryptography==49.0.0
cssselect==1.5.0
cycler==0.12.1
dask==2024.12.1+dfsg
decorator==5.2.1
defusedxml==0.7.1
distributed==2024.12.1
dnspython==2.8.0
dropbox==12.2.1
email_validator==2.2.0
et_xmlfile==2.0.0
expecttest==0.3.0
fastapi==0.135.3
filelock==3.32.0
fonttools==4.62.1
fqdn==1.5.1
fsspec==2025.12.0
GDAL @ file:///build/reproducible-path/gdal-3.13.2%2Bdfsg/build-py3.14/swig/python
gguf==0.19.0
h11==0.16.0
h2==4.3.0
hpack==4.0.0
html5lib-modern==1.2
httpcore==1.0.9
httpcore2==2.5.0
httpx==0.28.1
httpx2==2.5.0
huggingface_hub==1.23.0
hyperframe==6.1.0
hypothesis==6.152.4
idna==3.18
inflect==7.5.0
invoke==3.0.3
isoduration==20.11.0
itsdangerous==2.2.0
jaraco.context==6.0.1
jaraco.functools==4.1.0
jaraco.text==4.0.0
Jinja2==3.1.6
jsonpointer==2.4
jsonschema==4.26.0
jsonschema-specifications==2023.12.1
kiwisolver==1.5.0
legacy-cgi==2.6.4
libarchive-c==5.1
linkify-it-py==2.1.0
llvmlite==0.47.0
locket==1.0.0
lxml==6.1.0
lz4==4.4.5+dfsg
markdown-it-py==4.2.0
MarkupSafe==3.0.3
matplotlib==3.10.7+dfsg1
mdurl==0.1.2
mistral_common==1.11.7
more-itertools==11.1.0
mpmath==1.4.1
msgpack==1.1.2
munkres==1.1.4
networkx==3.4.2
numba==0.65.1
numexpr==2.14.2
numpy==2.4.6
odfpy==1.4.2
olefile==0.47
openpyxl==3.1.5
packaging==26.2
pandas==2.3.3
paramiko==4.0.0
partd==1.4.2
pillow==12.3.0
platformdirs==4.10.0
ply==3.11
pooch==1.9.0
protobuf==4.21.12
psutil==7.1.0
py-cpuinfo==9.0.0
pycountry==26.2.16
pydantic==2.13.4
pydantic-extra-types==2.11.2
pydantic_core==2.46.4
pydot==4.0.1
pygit2==1.19.3
Pygments==2.20.0
pygraphviz==1.14
PyNaCl==1.6.2
pyparsing==3.3.2
pyproject_hooks==1.2.0
python-dateutil==2.9.0
python-multipart==0.0.26
pytz==2025.2
PyYAML==6.0.3
pyzmq==27.1.0
referencing==0.37.0
regex==2025.9.18
requests==2.34.2
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rfc3987==1.3.8
rich==15.0.0
rpds-py==0.30.0
safetensors==0.8.0
scipy==1.17.1
sentencepiece==0.2.2
setuptools==78.1.1
shellingham==1.5.4
six==1.17.0
skia-pathops==0.9.2
sortedcontainers==2.4.0
soupsieve==2.8.4
starlette==1.3.1
stone==3.5.3
sympy==1.14.0
tables==3.11.1
tblib==3.2.2
tiktoken==0.12.0
tokenizers==0.23.1
toolz==1.1.0.post1
torch @ file:///build/reproducible-path/pytorch-2.12.1%2Bdfsg
torchvision==0.27.0
tornado==6.5.5
tqdm==4.70.0
transformers==5.12.1
truststore==0.10.4
typeguard==4.4.4
typer==0.20.0
typing-inspection==0.4.2
typing_extensions==4.16.0
uc-micro-py==2.0.0
ufoLib2==0.18.1
uharfbuzz==0.53.3
unicodedata2==17.0.1
uritemplate==4.2.0
urllib3==2.7.0
uvicorn==0.38.0
uvloop==0.22.1
webcolors==25.10.0
webencodings==0.5.1
wheel==0.47.0
wsproto==1.3.2
zict==3.0.0
zipp==3.23.0
zopfli==0.4.3

Reproduction Steps

Creating a Python virtual environment downlads a lot of dependencies locally and provides a less robust version management system than Debian packages. In a production deployment context, Linux packages are easier to manage for users and sysadmins which are not especially familiar with Python.

Expected Behavior

sudo apt install python3-mistral-common

installs the Python module and makes it available system-wide.

Additional Context

Not a bug at all, to the contrary. Just to let you know that your Python module has just been accepted into the Debian archive:
https://packages.debian.org/sid/python3-mistral-common

This is a first step before it is included in the next Debian stable release, and possibly at some point in Debian derivatives such as Ubuntu. We will try to make it available in trixie-backports as well, so that users of the current Debian stable distribution can also use it. (This is mostly a matter of being able to backport all the Python dependencies)

The main motivation currently for packaging the mistral-common Python module is to support the conversion of the Mistral models to the GGUF format supported by llama.cpp, but there could certainly be more use cases in the future.

This Python module is well defined and very readable, and it has been pretty straightforward to package. Many thanks for your contribution to free / libre software!

Suggested Solutions

Document at some point that mistral-common is available as a package in Debian.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions