Opened 3 years ago

Last modified 2 years ago

#29701 closed enhancement

Replace use of module_list and OptionalExtension by extending find_python_sources — at Version 10

Reported by: Matthias Köppe Owned by:
Priority: critical Milestone: sage-9.2
Component: refactoring Keywords:
Cc: François Bissey, Isuru Fernando, Vincent Delecroix, David Coudert, Dima Pasechnik, gh-kliem, Volker Braun Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #29411, #29702, #29706, #29720, #29721, #29785, #29786, #29790, #29791, #28925 Stopgaps:

Status badges

Description (last modified by Matthias Köppe)

Using the extended find_python_sources from #28925, we remove the use of module_list, finding Cython extensions instead in the source tree. (This is prepared by #29706 and follow-up tickets by moving Extension options to directives in the source files.)

We remove OptionalExtensions as follows. We map installed packages to "distributions" (for example, tdlib -> sage-tdlib) and then filter by distribution.

(In a follow-up ticket, part of Meta-ticket #29705, we will make these "distributions" actually separate distutils packages.)

Change History (10)

comment:1 Changed 3 years ago by Matthias Köppe

Description: modified (diff)
Summary: Replace use of OptionalExtension by namespace packagesMeta-ticket: Replace use of OptionalExtension by namespace packages

comment:2 Changed 3 years ago by Matthias Köppe

Description: modified (diff)

comment:3 Changed 3 years ago by Matthias Köppe

Cc: Vincent Delecroix David Coudert Dima Pasechnik added
Description: modified (diff)

comment:4 Changed 3 years ago by Matthias Köppe

Description: modified (diff)

comment:5 Changed 3 years ago by Matthias Köppe

Description: modified (diff)

comment:6 Changed 3 years ago by Matthias Köppe

Description: modified (diff)

comment:7 Changed 3 years ago by Matthias Köppe

Description: modified (diff)

comment:8 Changed 3 years ago by Matthias Köppe

Description: modified (diff)

comment:9 Changed 2 years ago by Matthias Köppe

Description: modified (diff)

comment:10 Changed 2 years ago by Matthias Köppe

Cc: gh-kliem added
Dependencies: #29411, #29702, #29706, #29720, #29721, #29785, #29786, #29790, #29791, #28925
Description: modified (diff)
Summary: Meta-ticket: Replace use of OptionalExtension by namespace packagesReplace use of module_list and OptionalExtension by extending find_python_sources
Note: See TracTickets for help on using tickets.