skillfed

mozversion

Library to get version information for applications

mozversion v2.4.0 247.8K downloads/30d#8,683 on PyPI
Copyleft license MPL Abandoned released

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 mozversion

uv

uv add mozversion

poetry

poetry add mozversion

Installing 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

Programming Language :: Python :: 2.7Programming Language :: Python :: 3.5

Tags

firefox version detectionmozilla app version infoget application versionfirefox version querymozilla version library
mozilla-toolsabandoned

More Testing packages