Opened 21 months ago

Last modified 18 months ago

#29701 closed enhancement

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

Reported by: mkoeppe Owned by:
Priority: critical Milestone: sage-9.2
Component: refactoring Keywords:
Cc: fbissey, isuruf, vdelecroix, dcoudert, dimpase, gh-kliem, vbraun Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/replace_use_of_module_list_optionalextension (Commits, GitHub, GitLab) Commit: 891d12aeacd439cd72e31d42399826f48dae624f
Dependencies: #29411, #29702, #29706, #29720, #29721, #29785, #29786, #29790, #29791 Stopgaps:

Status badges

Description (last modified by mkoeppe)

We add two new features to find_python_sources: finding Cython extensions, and filtering by "distributions". 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 (12)

comment:1 Changed 21 months ago by mkoeppe

  • Description modified (diff)
  • Summary changed from Replace use of OptionalExtension by namespace packages to Meta-ticket: Replace use of OptionalExtension by namespace packages

comment:2 Changed 21 months ago by mkoeppe

  • Description modified (diff)

comment:3 Changed 21 months ago by mkoeppe

  • Cc vdelecroix dcoudert dimpase added
  • Description modified (diff)

comment:4 Changed 21 months ago by mkoeppe

  • Description modified (diff)

comment:5 Changed 21 months ago by mkoeppe

  • Description modified (diff)

comment:6 Changed 21 months ago by mkoeppe

  • Description modified (diff)

comment:7 Changed 21 months ago by mkoeppe

  • Description modified (diff)

comment:8 Changed 21 months ago by mkoeppe

  • Description modified (diff)

comment:9 Changed 20 months ago by mkoeppe

  • Description modified (diff)

comment:10 Changed 20 months ago by mkoeppe

  • Cc gh-kliem added
  • Dependencies set to #29411, #29702, #29706, #29720, #29721, #29785, #29786, #29790, #29791, #28925
  • Description modified (diff)
  • Summary changed from Meta-ticket: Replace use of OptionalExtension by namespace packages to Replace use of module_list and OptionalExtension by extending find_python_sources

comment:11 Changed 20 months ago by mkoeppe

  • Branch set to u/mkoeppe/replace_use_of_module_list_optionalextension

comment:12 Changed 20 months ago by mkoeppe

  • Commit set to 891d12aeacd439cd72e31d42399826f48dae624f
  • Dependencies changed from #29411, #29702, #29706, #29720, #29721, #29785, #29786, #29790, #29791, #28925 to #29411, #29702, #29706, #29720, #29721, #29785, #29786, #29790, #29791
  • Description modified (diff)

Last 10 new commits:

4365e5dMerge branch 't/29790/move_extension_options_from_src_module_list_py_to__distutils___directives_in_the_individual_files__part_5__sage_graphs_' into t/29705/META-modularize-sagelib
9dc7022Merge branch 't/29706/move_extension_options_from_src_module_list_py_to__distutils___directives_in_the_individual_files' into t/29791/move_extension_options_from_src_module_list_py_to__distutils___directives_in_the_individual_files__part_6__last_
f78b06dsrc/module_list.py: Move options for Extensions in sage.libs to distutils directives
1b0e29dsrc/module_list.py: Move options for Extensions in sage.matrix to distutils directives
6421e2csrc/module_list.py: Move remaining options for Extensions in sage.libs, sage.rings to distutils directives
b3d3d2fMerge branch 't/29791/move_extension_options_from_src_module_list_py_to__distutils___directives_in_the_individual_files__part_6__last_' into t/29705/META-modularize-sagelib
2821934Fix sage_setup directives: Use distribution, not package
9052db4Merge branch 't/29720/move_extension_options_from_src_module_list_py_to__distutils___directives_in_the_individual_files__part_2___optionalextensions_' into t/29705/META-modularize-sagelib
ff710eesrc/sage_setup/optional_extension.py (is_package_installed_and_updated): Factor out from OptionalExtension
891d12asrc/setup.py: Remove use of module_list.py; filter by distributions
Note: See TracTickets for help on using tickets.