RPM packaging for debugpy (Debug Adapter Protocol for Python 3) compatible with Fedora and RHEL/EPEL.
- License: MIT
- Upstream: https://github.com/microsoft/debugpy
Packit automatically monitors upstream releases and builds in COPR.
# Quick build with mock (defaults to Fedora Rawhide)
make mock
# Build for specific distribution
make mock DIST=fedora-44-x86_64
make mock DIST=epel-9-x86_64See make help for all available targets.
Mock provides a clean build environment isolated from your system:
# Install mock and add yourself to the mock group
sudo dnf install mock
sudo usermod -a -G mock $USER
newgrp mock
# Build for different distributions
make mock DIST=fedora-rawhide-x86_64 # Default
make mock DIST=fedora-44-x86_64
make mock DIST=epel-9-x86_64
make mock DIST=epel-10-x86_64# Install build tools
sudo dnf install rpm-build rpmdevtools
# Download sources and build SRPM
make srpm
# Build RPM locally (not recommended - use mock instead)
make rpmOnce configured, Packit automatically:
- Monitors https://github.com/microsoft/debugpy for new releases
- Builds RPMs in COPR for Fedora and EPEL (RHEL)
- Proposes updates to official Fedora repositories
Test locally:
packit validate # Validate configuration
packit srpm # Build SRPMOnce built in COPR:
sudo dnf copr enable @rhinstaller/devutils
sudo dnf install python3-debugpyVerify:
python3 -c "import debugpy; print(debugpy.__version__)"
debugpy --help./check-upstream.shCompares spec file version with latest PyPI release. Requires jq.
- Fedora 44, ELN, Rawhide
- RHEL 9, 10 (via EPEL)
Spec file is provided as-is. debugpy is licensed under MIT.