Skip to content

Error installing latest experimaestro #157

@VictorMorand

Description

@VictorMorand

I guess some webui related files were deleted but still referenced in the build setup

$ uv pip install -e . 

Resolved 61 packages in 681ms
  × Failed to build `experimaestro @ file:///.../experimaestro/experimaestro-python`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `hatchling.build.build_editable` failed (exit status: 1)

      [stderr]
      Traceback (most recent call last):
        File "<string>", line 11, in <module>
        File ".../uv/builds-v0/.tmptQ3jiA/lib/python3.12/site-packages/hatchling/build.py", line 83, in
      build_editable
          return os.path.basename(next(builder.build(directory=wheel_directory, versions=["editable"])))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File ".../uv/builds-v0/.tmptQ3jiA/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py",
      line 157, in build
          artifact = version_api[version](directory, **build_data)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File ".../uv/builds-v0/.tmptQ3jiA/lib/python3.12/site-packages/hatchling/builders/wheel.py", line
      522, in build_editable
          return self.build_editable_detection(directory, **build_data)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File ".../uv/builds-v0/.tmptQ3jiA/lib/python3.12/site-packages/hatchling/builders/wheel.py", line
      583, in build_editable_detection
          for included_file in self.recurse_forced_files(self.get_forced_inclusion_map(build_data)):
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "...uv/builds-v0/.tmptQ3jiA/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py",
      line 239, in recurse_forced_files
          raise FileNotFoundError(msg)
      FileNotFoundError: Forced include not found:
      .../experimaestro/experimaestro-python/src/experimaestro/webui/data

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions