# dask-jobqueue: deploy Dask on job queuing systems (Slurm, PBS, SGE, LSF, ...). A dependency of FSL-MRS (fsl_mrs imports it for --slurm style # cluster runs); FMRIB's FSL installer ships it as a conda dependency, and Fedora does not package it. %global pypi_name dask-jobqueue %global pkg_name dask_jobqueue Name: python-%{pypi_name} Version: 0.9.0 Release: 1%{?dist} Summary: Deploy Dask on job queuing systems like PBS, Slurm, SGE or LSF License: BSD-3-Clause URL: https://jobqueue.dask.org Source0: %{pypi_source %{pkg_name}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio BuildRequires: python3-cryptography %global _description %{expand: dask-jobqueue provides cluster managers for Dask that submit workers as jobs to HPC schedulers: PBS, Slurm, LSF, SGE, Moab, OAR and HTCondor.} %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %prep %autosetup -n %{pkg_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pkg_name} %check %pyproject_check_import -e '*.tests*' # Upstream's tests that need a live scheduler use fixtures (loop, Cluster, EnvSpecificCluster) from the repository-root conftest.py, which the sdist does # not ship, so they error at setup ("fixture ... not found"); they also need Slurm/PBS/etc. to be present. The rest (job-script, header and config # generation) run. Tolerate exactly those setup errors and nothing else: no failures, at least 40 passes, every "E " line a missing fixture. %pytest -q -p no:cacheprovider dask_jobqueue/tests 2>&1 | tee pytest.log || : tail -3 pytest.log ! grep -qE '[0-9]+ failed' pytest.log test "$(grep -oE '[0-9]+ passed' pytest.log | grep -oE '[0-9]+')" -ge 40 test "$(grep -E '^E ' pytest.log | grep -vc "fixture '")" = 0 %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE.txt %doc README.rst %changelog * Fri Oct 09 2026 Morgan Hough - 0.9.0-1 - Initial package: dask-jobqueue 0.9.0, the version FMRIB's FSL installer pins for fsl_mrs. Free project (BSD-3-Clause). The sdist omits upstream's root conftest.py, so tests that need live schedulers error at fixture setup; %%check tolerates only those (47 pass, 0 fail).