deb-mock/pyproject.toml
robojerk c4c1e7bca3
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 1m27s
Comprehensive CI/CD Pipeline / Security Audit (push) Successful in 1m7s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m13s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
Fix missing dependencies and directories for Debian build
- Add psutil dependency to pyproject.toml and debian/control
- Fix pyproject.toml license format (use string instead of table)
- Create missing directories referenced in .install files:
  - templates/, chroot.d/, mounts/ for filesystem package
  - default-configs/ for configs package
  - docs/plugins/ for plugins package
  - dev/, docs/api/, include/, scripts/dev/ for dev package
  - cache-plugins/, cache.d/, docs/cache/ for cache package
- Add placeholder README.md files to prevent empty directories
- Update CI dependencies to include python3-psutil

Fixes:
- ModuleNotFoundError: No module named 'psutil' in performance.py
- Missing files errors in dh_install step
- pyproject.toml license deprecation warnings

Ready for successful Debian package build!
2025-09-04 13:24:08 -07:00

66 lines
2.1 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "deb-mock"
version = "0.1.0"
description = "Debian's equivalent to Fedora's Mock build environment manager"
authors = [
{name = "Debian Bootc Ecosystem Team", email = "debian-bootc@lists.debian.org"}
]
readme = "README.md"
requires-python = ">=3.9"
license = "GPL-2.0-or-later"
keywords = ["debian", "mock", "chroot", "build", "environment", "packaging"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Build Tools",
"Topic :: System :: Systems Administration",
]
dependencies = [
"click>=8.0.0",
"pyyaml>=6.0",
"jinja2>=3.0.0",
"requests>=2.25.0",
"psutil>=5.8.0",
]
[project.urls]
"Bug Tracker" = "https://github.com/debian/deb-bootc-compose/issues"
"Documentation" = "https://github.com/debian/deb-bootc-compose/wiki"
"Source Code" = "https://github.com/debian/deb-bootc-compose"
[project.optional-dependencies]
dev = [
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
]
[project.scripts]
deb-mock = "deb_mock.cli:main"
[tool.towncrier]
# we post-process this file with releng/generate-release-notes
filename = ".Release-Notes-Next.md"
directory = "releng/release-notes-next"
underlines = ["", "", ""]
template = "releng/release-notes-next/template.jinja"
title_format = "## [Release {version}](https://rpm-software-management.github.io/mock/Release-Notes-{version}) - {project_date}"
issue_format = ""
type = [
{ name = "Breaking changes", directory = "breaking", showcontent = true },
{ name = "New features", directory = "feature", showcontent = true },
{ name = "Bugfixes", directory = "bugfix", showcontent = true },
{ name = "Mock Core Configs changes", directory = "config", showcontent = true },
]