Snakemake storage plugin: dirac

https://img.shields.io/badge/repository-github-blue?color=%23022c22 GitHub - Last commit https://img.shields.io/badge/author-Jannis%20Speer-purple?color=%23064e3b PyPI - Version PyPI - License Snakemake

Warning

This plugin is not maintained and reviewed by the official Snakemake organization.

Error

Cannot be installed:  WARN Using local manifest /tmp/tmp0r71qcme/pixi.toml rather than /home/runner/work/snakemake-plugin-catalog/snakemake-plugin-catalog/pixi.toml from environment variable `PIXI_PROJECT_MANIFEST`
Error:   × Failed to update PyPI packages for environment 'default'
  ├─▶ Failed to prepare distributions
  ├─▶ Failed to build `gfal2-python==1.13.0`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)

      [stdout]
      running bdist_wheel
      running build
      running build_ext
      -- The C compiler identification is GNU 15.2.0
      -- The CXX compiler identification is GNU 13.3.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /home/runner/work/snakemake-plugin-catalog/snakemake-plugin-catalog/.pixi/envs/default/bin/x86_64-conda-linux-gnu-cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- gfal2-bindings is used as APPLICATION_NAME
      -- Found Python: /home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/bin/python3.14 (found version "3.14.3") found components: Interpreter Development Development.Module Development.Embed
      -- Could NOT find Boost (missing: Boost_INCLUDE_DIR python314)
      -- Configuring incomplete, errors occurred!

      [stderr]
      /home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!

              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:

              License :: OSI Approved :: Apache Software License

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************

      !!
        self._finalize_license_expression()
      <string>:66: DeprecationWarning: Use shutil.which instead of find_executable
      CMake Warning (dev) at CMakeLists.txt:2 (project):
        cmake_minimum_required() should be called prior to this top-level project()
        call.  Please see the cmake-commands(7) manual for usage documentation of
        both commands.
      This warning is for project developers.  Use -Wno-dev to suppress it.

      CMake Warning (dev) at CMakeLists.txt:25 (find_package):
        Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
        --help-policy CMP0167" for policy details.  Use the cmake_policy command to
        set the policy and suppress this warning.

      This warning is for project developers.  Use -Wno-dev to suppress it.

      CMake Warning (dev) at CMakeLists.txt:28 (find_package):
        Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
        --help-policy CMP0167" for policy details.  Use the cmake_policy command to
        set the policy and suppress this warning.

      This warning is for project developers.  Use -Wno-dev to suppress it.

      CMake Error at /home/runner/work/snakemake-plugin-catalog/snakemake-plugin-catalog/.pixi/envs/default/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
        Could NOT find Boost (missing: Boost_INCLUDE_DIR python3)
      Call Stack (most recent call first):
        /home/runner/work/snakemake-plugin-catalog/snakemake-plugin-catalog/.pixi/envs/default/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
        /home/runner/work/snakemake-plugin-catalog/snakemake-plugin-catalog/.pixi/envs/default/share/cmake-4.2/Modules/FindBoost.cmake:2438 (find_package_handle_standard_args)
        CMakeLists.txt:28 (find_package)


      Traceback (most recent call last):
        File "<string>", line 11, in <module>
          wheel_filename = backend.build_wheel("/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpYdgEQ7", {}, "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/metadata_directory/gfal2_python-1.13.0.dist-info")
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/build_meta.py", line 441, in build_wheel
          return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/build_meta.py", line 429, in _build
          return self._build_with_temp_dir(
                 ~~~~~~~~~~~~~~~~~~~~~~~~~^
              cmd,
              ^^^^
          ...<3 lines>...
              self._arbitrary_args(config_settings),
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          )
          ^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/build_meta.py", line 410, in _build_with_temp_dir
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/build_meta.py", line 520, in run_setup
          super().run_setup(setup_script=setup_script)
          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 97, in <module>
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/__init__.py", line 117, in setup
          return distutils.core.setup(**attrs)  # type: ignore[return-value]
                 ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 186, in setup
          return run_commands(dist)
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
          dist.run_commands()
          ~~~~~~~~~~~~~~~~~^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1000, in run_commands
          self.run_command(cmd)
          ~~~~~~~~~~~~~~~~^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/dist.py", line 1107, in run_command
          super().run_command(command)
          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
          cmd_obj.run()
          ~~~~~~~~~~~^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/command/bdist_wheel.py", line 370, in run
          self.run_command("build")
          ~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/_distutils/cmd.py", line 341, in run_command
          self.distribution.run_command(command)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/dist.py", line 1107, in run_command
          super().run_command(command)
          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
          cmd_obj.run()
          ~~~~~~~~~~~^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/_distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
          ~~~~~~~~~~~~~~~~^^^^^^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/_distutils/cmd.py", line 341, in run_command
          self.distribution.run_command(command)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/dist.py", line 1107, in run_command
          super().run_command(command)
          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/home/runner/.cache/rattler/cache/uv-cache/builds-v0/.tmpjVG1tZ/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
          cmd_obj.run()
          ~~~~~~~~~~~^^
        File "<string>", line 94, in run
        File "<string>", line 85, in _run_make
        File "/tmp/tmp0r71qcme/.pixi/envs/default/lib/python3.14/subprocess.py", line 419, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['cmake', '-DSKIP_TESTS=TRUE', '/home/runner/.cache/rattler/cache/uv-cache/sdists-v9/pypi/gfal2-python/1.13.0/4HI7hpag-e4obeSKme5M5/src']' returned non-zero exit status 1.

      hint: This usually indicates a problem with the package or the build environment.



Please file a corresponding issue in the plugin's `repository <https://github.com/jannisspeer/snakemake-storage-plugin-dirac>`__ (if there is none yet).

DIRAC is an open-source interware platform for distributed computing that provides a unified interface to heterogeneous computing and storage resources across grid and cloud infrastructures. This plugin enables workflows to seamlessly read and write files to DIRAC-managed storage systems.