On Thursday, November 18, 2021 at 8:05:26 PM UTC-8 Kwankyu Lee wrote:

> Questions on "Features":
>
> We are introducing Features for packages in the sage library, like 
> sage__combinat, sage__graphs, sage__plot, etc. How is this related with 
> distributions? If a package is included in a distribution (other than 
> sagemath-standard), a Feature for the package is introduced?
>
> Can(Do) we use doctest tags for optional packages like, for example, # 
> optional - sage.plot only when a Feature for the package (sage.plot) exists?
>

Yes, that's the mechanism. A feature's name is used as the doctest tag. 

These features are explicitly declared in a single file, 
src/sage/features/sagemath.py, and we would add the mapping from features 
to the distributions providing them (actually, to SPKG names) there as 
well. Using this mapping, we can then start to give installation hints to 
the user.

Thus whether we use such tags for certain doctests ultimately depend on how 
> we organize the distributions? 
>

Yes, but hopefully it will be relatively stable because of the decision to 
key the doctest tags to package names rather than distribution names.
 

> Perhaps the organization of these distributions would constantly evolve.  
> And hence we would add such tags more and more? 
>

Yes, this will likely take a while to stabilize. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/2f86f87f-a2f7-444f-aa51-029ede6ae62fn%40googlegroups.com.

Reply via email to