## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-pydocket Version: 0.17.9 Release: %autorelease Summary: A distributed background task system for Python functions License: MIT URL: https://docket.lol/ Source: %{pypi_source pydocket} # Remove some unrecognized arguments for pytest (coverage, xdist, etc...) Patch: remove-pytest-unrecognized-arguments.diff BuildArch: noarch BuildRequires: python3-devel BuildRequires: tomcli # Test depedencies BuildRequires: python3-pytest BuildRequires: python3-docker BuildRequires: python3-pytest-asyncio # Needed for the `worker_id` fixture that pytest-xdist brings BuildRequires: python3-pytest-xdist %global _description %{expand: Docket is a distributed background task system for Python functions with a focus on the scheduling of future work as seamlessly and efficiently as immediate work.} %description %_description %package -n python3-pydocket Summary: %{summary} %description -n python3-pydocket %_description %prep %autosetup -p1 -n pydocket-%{version} tomcli set pyproject.toml arrays replace project.dependencies "croniter>=([0-9]+)" "croniter>=5,<6" %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l docket %check %pyproject_check_import # Depends on opentelemetry-sdk, which is not packaged in Fedora (and is an optional for this package). %pytest --ignore tests/instrumentation/test_tracing.py %files -n python3-pydocket -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Tue Feb 24 2026 John Doe - 0.17.9-1 - Uncommitted changes ## END: Generated by rpmautospec