Opened 4 years ago

Closed 4 years ago

#24987 closed defect (fixed)

Cython packages are not installed

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-8.2
Component: build Keywords:
Cc: Merged in:
Authors: Jeroen Demeyer Reviewers: Marc Mezzarobba
Report Upstream: N/A Work issues:
Branch: cb0842e (Commits, GitHub, GitLab) Commit: cb0842e5d5df3a566045c55aa04b2ad4e3861396
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

It seems that not all .pxd files are installed:

$ ls -l local/lib/python2.7/site-packages/sage/libs/mpfr/
ls: cannot access local/lib/python2.7/site-packages/sage/libs/mpfr/: No such file or directory

The reasons seems to be that sage.libs.mpfr is not a Python package (in the sense that import sage.libs.mpfr does not work). The function find_extra_files in src/sage_setup/find.py only searches for Cython files within Python packages.

Change History (7)

comment:1 Changed 4 years ago by jdemeyer

  • Description modified (diff)

comment:2 Changed 4 years ago by jdemeyer

  • Summary changed from sage/libs/mpfr/types.pxd is not installed to Cython packages are not installed

comment:3 Changed 4 years ago by jdemeyer

  • Branch set to u/jdemeyer/sage_libs_mpfr_types_pxd_is_not_installed

comment:4 Changed 4 years ago by git

  • Commit set to cb0842e5d5df3a566045c55aa04b2ad4e3861396

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

cb0842eFix find_extra_files() to support Cython packages

comment:5 Changed 4 years ago by jdemeyer

  • Authors set to Jeroen Demeyer
  • Status changed from new to needs_review

comment:6 Changed 4 years ago by mmezzarobba

  • Reviewers set to Marc Mezzarobba
  • Status changed from needs_review to positive_review

Thanks for the fix!

comment:7 Changed 4 years ago by vbraun

  • Branch changed from u/jdemeyer/sage_libs_mpfr_types_pxd_is_not_installed to cb0842e5d5df3a566045c55aa04b2ad4e3861396
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.