Check if updating a Fedora package will break reverse dependencies.
pip install .Requires libdnf5 (system package, not from PyPI) and configured Fedora repositories.
fedora-revdep-check <srpm-name> <new-version> [options]# Check rawhide (default)
fedora-revdep-check jupyterlab 4.7.0
# Verbose output
fedora-revdep-check pytest 8.0.0 --verbose
# Use stable Fedora instead of rawhide
fedora-revdep-check numpy 2.0.0 --repo fedora --repo fedora-source
# Check specific Fedora version
fedora-revdep-check python-requests 2.32.0 --repo fedora-40 --repo fedora-40-source-v, --verbose- Show detailed analysis-r, --repo <repo-id>- Repository to enable (can be specified multiple times, default: rawhide + rawhide-source)
When conflicts are found:
These packages would FTBFS:
jupyter-server: python3dist(jupyterlab) < 4.7
These packages would FTI:
python3-jupyter-client-8.0.0-1.fc44: python3dist(jupyterlab) >= 4.0, < 4.7
- FTBFS: Fail To Build From Source (source packages that won't build)
- FTI: Fail To Install (binary packages that won't install)
0- No conflicts detected1- Conflicts found or error occurred130- Interrupted by user
- Finds all binary packages built from the SRPM
- Extracts their provides (excluding bundled)
- Finds reverse dependencies for each provide
- Filters to latest versions only (no duplicates)
- Checks if the new version satisfies all requirements
- Reports packages that would fail to build or install
Packages from the same SRPM are automatically excluded (they'll be updated together).
# Run tests
pytest
# Run tests for all Python versions
tox
# Lint
tox -e lintSee LICENSE file.