Skip to content

Fix py-line-profiler incompatible decorators#13911

Merged
alalazo merged 1 commit intospack:developfrom
electronicvisions:pr/fix_py_line_profiler_py2
Nov 27, 2019
Merged

Fix py-line-profiler incompatible decorators#13911
alalazo merged 1 commit intospack:developfrom
electronicvisions:pr/fix_py_line_profiler_py2

Conversation

@obreitwi
Copy link
Copy Markdown
Member

Because @run_after and @when are incompatible (issue #12736), we got
the following error when installing py-line-profiler with [email protected].

/opt/spack/lib/spack/spack/package.py:1718, in build_process:
       1715                    echo = logger.echo
       1716                    self.log()
       1717
  >>   1718                # Run post install hooks before build stage is removed.
       1719                spack.hooks.post_install(self.spec)
       1720
       1721            # Stop timer.
NoSuchMethodError: Package PyLineProfiler does not support fix_cython called with [email protected] [...] ^[email protected] [...]

Because `@run_after` and `@when` are incompatible (issue spack#12736), we got
the following error when installing py-line-profiler with Python 2.
```
/opt/spack/lib/spack/spack/package.py:1718, in build_process:
       1715                    echo = logger.echo
       1716                    self.log()
       1717
  >>   1718                # Run post install hooks before build stage is removed.
       1719                spack.hooks.post_install(self.spec)
       1720
       1721            # Stop timer.
NoSuchMethodError: Package PyLineProfiler does not support fix_cython called with [email protected] [...] ^[email protected] [...]
```

Change-Id: I2239ea86315aed7c65f750d0cfb369bb75a7b036
@alalazo alalazo merged commit d207dce into spack:develop Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants