Skip to content

rhinstaller/debugpy-rpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

debugpy RPM Package

RPM packaging for debugpy (Debug Adapter Protocol for Python 3) compatible with Fedora and RHEL/EPEL.

Quick Start

Automated Builds (Recommended)

Packit automatically monitors upstream releases and builds in COPR.

Manual Local Build

# 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_64

See make help for all available targets.

Building with Mock

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

Manual rpmbuild

# 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 rpm

Packit Integration

Once configured, Packit automatically:

Test locally:

packit validate    # Validate configuration
packit srpm        # Build SRPM

Installation

Once built in COPR:

sudo dnf copr enable @rhinstaller/devutils
sudo dnf install python3-debugpy

Verify:

python3 -c "import debugpy; print(debugpy.__version__)"
debugpy --help

Checking for Updates

./check-upstream.sh

Compares spec file version with latest PyPI release. Requires jq.

Supported Distributions

  • Fedora 44, ELN, Rawhide
  • RHEL 9, 10 (via EPEL)

License

Spec file is provided as-is. debugpy is licensed under MIT.

About

specfile for packaging debugpy as a RPM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors