Skip to content

package not being sent to callable submodule #51107

@tjfulle

Description

@tjfulle

Steps to reproduce

Install a package with a callable submodule definition.

Commit 185bccb introduces a bug where the package object is not assigned to its fetcher. In the version previous to this commit, _make_fetcher called fetcher.set_package(self).

Error message

A TypeError is reported in the callable submodule definition because the the fetcher's package is None.

Information on your system

Affects all versions of Spack past
185bccb

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have run the failing commands in debug mode and reported the output

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageThe issue needs to be prioritized

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions