oslo.upgradecheck
Common code for writing OpenStack upgrade checks
What it is and what it does
oslo.upgradecheck is a library that provides common infrastructure for writing upgrade checks in OpenStack projects. It supplies a base class and utilities that let OpenStack services define and run validation checks before performing version upgrades, helping operators verify system readiness and catch configuration or compatibility issues early.
The package is part of the oslo project—a collection of shared libraries across OpenStack—and is designed to be integrated into individual OpenStack projects rather than used as a standalone tool. It includes both the core framework module and an example of how to wire it into a project's command-line interface. It depends on oslo.config, oslo.i18n, oslo.utils, oslo.policy for configuration and utility support, and PrettyTable for formatting check results.
Use it for:
- OpenStack project developers integrating pre-upgrade validation into their services
- Operators running upgrade checks to verify system state before applying version updates
- Automated deployment pipelines that need to validate upgrade readiness before proceeding
- Multi-component OpenStack environments checking compatibility across interdependent services
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a framework for writing and running upgrade checks in OpenStack projects, allowing operators to validate system readiness before performing version upgrades.
Yes, if you are developing or operating an OpenStack project. The package is actively maintained, has no known vulnerabilities, and provides a standardized framework that reduces duplication of upgrade-check logic across the OpenStack ecosystem. Not relevant for non-OpenStack use cases.
Install
oslo-upgradecheck on PyPI
pip
pip install oslo-upgradecheckuv
uv add oslo-upgradecheckpoetry
poetry add oslo-upgradecheckInstalling oslo.upgradecheck
Before you install
Low install friction with a wheel distribution. Active maintenance status with a recent release (35 days old). Depends on five oslo.* libraries and PrettyTable, all standard OpenStack ecosystem packages.
License in practice
Apache-2.0 permissive license allows use, modification, and distribution with minimal restrictions, suitable for both proprietary and open-source projects.
Quickstart
pip install oslo.upgradecheck
from oslo_upgradecheck import upgradecheck
# Define a check class inheriting from upgradecheck.UpgradeCommands
class MyUpgradeChecks(upgradecheck.UpgradeCommands):
def _check_something(self):
return upgradecheck.Result(upgradecheck.Code.SUCCESS)
Requires Python 3.11 or later; intended for use within OpenStack projects that integrate the framework.
Verify before relying
- Whether this package is intended for end-user operators or for OpenStack project developers writing upgrade checks
- Specific OpenStack versions or projects that currently use this framework
- Performance characteristics or scalability limits for large-scale deployments
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — oslo.config, oslo.i18n, PrettyTable, oslo.utils, oslo.policy |
| Maintenance | actively maintained — 35 days since the last release |
| First released | |
| Downloads | 314,014/month — #7,707 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: oslo_upgradecheck-2.8.0-py3-none-any.whl
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
oslo.dboslo.db provides database connectivity and ORM…
permissive · top 15,000 on PyPI
oslo.serviceoslo.service provides a framework for building…
permissive · top 15,000 on PyPI
oslo.cacheoslo.cache wraps dogpile.cache to provide a…
permissive · top 15,000 on PyPI
oslo.logoslo.log provides standardized logging…
permissive · top 5,000 on PyPI
os-testros-testr wraps the testr test runner to provide…
permissive · top 15,000 on PyPI
oslo.versionedobjectsoslo.versionedobjects provides a versioned…
permissive · top 15,000 on PyPI
oslo.vmwareoslo.vmware provides a library for common…
permissive · top 15,000 on PyPI
oslo.configParses command-line arguments and .ini-style…
permissive · top 5,000 on PyPI
cursiveCursive validates digital signatures using…
permissive · top 15,000 on PyPI
git-reviewgit-review is a command-line tool that…
permissive · top 15,000 on PyPI