mozversion
Library to get version information for applications
What it is and what it does
mozversion is a library that queries installed Mozilla applications (primarily Firefox) to retrieve their version and build information. It reads version metadata from the application's installation directory and returns structured version data.
The package is part of Mozilla's mozbase testing toolkit and is designed for automation and testing scenarios where you need to programmatically determine what version of Firefox or another Mozilla application is installed on a machine. It depends on mozlog for logging and six for Python 2/3 compatibility, though it has not been maintained since mid-2023.
Use it for:
- Automated testing workflows that need to verify which Firefox version is running before executing tests
- CI/CD pipelines that query installed application versions for build reports or compatibility checks
- Test infrastructure that must adapt behavior based on the detected Firefox version
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extracts and reports version information from Firefox and other Mozilla applications on the local system.
No—avoid for new projects. The package is abandoned (1113 days since last release) and targets Python 2.7 and 3.5, both long out of support. While it has no known vulnerabilities and low install friction, the lack of maintenance means it will likely fail on current Firefox versions and modern Python environments. Use only if you are maintaining legacy test infrastructure that already depends on it.
Install
mozversion on PyPI
pip
pip install mozversionuv
uv add mozversionpoetry
poetry add mozversionInstalling mozversion
Before you install
Low install friction with only two runtime dependencies (mozlog, six). However, the package is abandoned—last release was 1113 days ago with no ongoing maintenance, which raises concerns about compatibility with current Python versions and Firefox releases.
License in practice
Licensed under MPL (copyleft), which requires derivative works to be distributed under the same license but permits private use and modification without redistribution.
Quickstart
pip install mozversion
from mozversion import get_version
version_info = get_version()
Requires a local Firefox or Mozilla application installation to query; the package is abandoned and may not work with current versions.
Verify before relying
- Whether the package still works with current Firefox versions and modern Python releases (3.8+)
- Current status of the mozlog and six dependencies and their own maintenance
- Whether version detection logic remains accurate for recent Firefox builds
Package facts
| License | MPL (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — mozlog, six |
| Maintenance | abandoned — 1,113 days since the last release |
| First released | |
| Downloads | 247,793/month — #8,683 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mozversion-2.4.0-py2.py3-none-any.whl
Keywords: mozilla
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
mozinfoProvides system information detection for…
copyleft · top 15,000 on PyPI
mozleakExtracts memory leaks from leak log files,…
copyleft · top 15,000 on PyPI
mozilla-versionParse and validate Mozilla product version…
copyleft · top 15,000 on PyPI
mozcrashExtracts and formats stack traces from minidump…
copyleft · top 15,000 on PyPI
mozprofileCreates and modifies Mozilla application…
copyleft · top 15,000 on PyPI
mozshellutilProvides shell command-line parsing utilities…
copyleft · top 15,000 on PyPI
mozrunnerMozrunner manages the lifecycle of Mozilla…
copyleft · top 15,000 on PyPI
mozfileProvides file and directory utilities for…
copyleft · top 15,000 on PyPI
fuzzfetchFuzzfetch retrieves Firefox, Spidermonkey, and…
copyleft · top 15,000 on PyPI
mozsystemmonitorMonitors system resource usage by wrapping…
copyleft · top 15,000 on PyPI