packvers
Core utilities for Python packages. Fork to support LegacyVersion
Decision gist · record as of 2026-08-14
Yes, if you specifically need LegacyVersion support or require a stable snapshot of packaging utilities. The package is production-stable, permissively licensed, and has no known vulnerabilities. However, it is dormant—no updates since late 2022—so do not expect active maintenance or bug fixes. Install only if you have a concrete reason to use this fork rather than the current upstream packaging library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; does not support Python 2.7.
- Low install friction with a single runtime dependency (pyparsing).
- Maintenance is dormant—last release was 2022-12-22 and no commits since 2024-08-21—so expect no active bug fixes or updates, though the package is marked Production/Stable.
License · maintenance · safety
BSD-2-Clause or Apache-2.0 (permissive) — Dual-licensed under BSD-2-Clause or Apache-2.0, both permissive licenses. You may use, modify, and distribute this package with minimal restrictions, though you should include a copy of the applicable license.
last release 2022-12-22 (1331 days) · last repo commit 2024-08-21 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 129,490 downloads/mo, #11,668 on PyPI
Alternatives
Verify before relying
pip install packvers
from packvers.version import Version, LegacyVersion
from packvers.specifiers import SpecifierSet
v = Version('1.0.0')
legacy = LegacyVersion('1.0')
spec = SpecifierSet('>=1.0,<2.0')- Whether LegacyVersion and LegacySpecifier are fully compatible with the upstream packaging library's deprecated versions.
- Current maintenance status and likelihood of future updates or security patches.
- Whether this fork is actively used by projects that depend on it or if it is primarily a historical workaround.
What it is and what it does
packvers is a fork of the Python packaging library created to preserve support for LegacyVersion and LegacySpecifier classes that were deprecated and removed from the main packaging project. It provides a complete set of utilities for working with Python package metadata according to established interoperability specifications such as PEP 440 (version handling) and PEP 425 (platform tags).
The package implements version parsing and comparison, version specifiers (e.g., '>=1.0'), environment markers for conditional dependencies, requirement parsing, platform tag handling, and general packaging utilities. It is intended for projects that still need to handle legacy version formats or require a stable snapshot of packaging functionality from an earlier point in time. The single runtime dependency is pyparsing, and the package supports Python 3.6 through 3.10 on CPython and PyPy.
Use it for
- Parse and compare legacy version strings that do not conform to PEP 440 in older codebases.
- Build package management or distribution tools that need stable, frozen packaging utilities.
- Handle platform-specific wheel tags and environment markers for dependency resolution.
- Work with requirement specifications and version constraints in package metadata.
- Maintain compatibility with systems that depend on LegacyVersion semantics.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you specifically need LegacyVersion support or require a stable snapshot of packaging utilities.
The package is production-stable, permissively licensed, and has no known vulnerabilities. However, it is dormant—no updates since late 2022—so do not expect active maintenance or bug fixes. Install only if you have a concrete reason to use this fork rather than the current upstream packaging library.
Install
packvers on PyPI
Before you install
Low install friction with a single runtime dependency (pyparsing). Maintenance is dormant—last release was 2022-12-22 and no commits since 2024-08-21—so expect no active bug fixes or updates, though the package is marked Production/Stable.
Requires Python 3.6 or later; does not support Python 2.7.
License in practice
Dual-licensed under BSD-2-Clause or Apache-2.0, both permissive licenses. You may use, modify, and distribute this package with minimal restrictions, though you should include a copy of the applicable license.
Quickstart
pip install packvers
from packvers.version import Version, LegacyVersion
from packvers.specifiers import SpecifierSet
v = Version('1.0.0')
legacy = LegacyVersion('1.0')
spec = SpecifierSet('>=1.0,<2.0')
Verify before relying
- Whether LegacyVersion and LegacySpecifier are fully compatible with the upstream packaging library's deprecated versions.
- Current maintenance status and likelihood of future updates or security patches.
- Whether this fork is actively used by projects that depend on it or if it is primarily a historical workaround.
Package facts
| License | BSD-2-Clause or Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepyparsing |
| Maintenance | Dormant 1,331 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 129,490 / month, #11,668 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: packvers-21.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “package specifiers and markers”
- packversProvides core utilities for Python package version handling,…
- packagingProvides reusable utilities for Python packaging interoperability,…
- dep-logicPerforms logical operations (AND, OR) on PEP 440 version specifiers…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also packaging · packaging-legacy · verspec · verlib2 · devpi-common · dep-logic · wheel-filename · manygo · parver