[sage-support] Coordinate ring of `ToricVariety`

2024-01-23 Thread Gareth Ma
Hi all,

I am working with `ToricVariety` within Sage, and I have a question. Say I 
define a toric variety as follows:

sage: PP = toric_varieties.WP([1, 3, 1]); PP
2-d toric variety covered by 3 affine patches
sage: PP.linear_equivalence_ideal()
Ideal (z0 - z2, z1 - 3*z2) of Multivariate Polynomial Ring in z0, z1, z2 
over Rational Field

(The repr output of toric varieties is too simplified, but that's another 
issue.) As seen in the second output, the "3" is definitely "somewhere 
within the object". Thus I would expect the polynomial ring / coordinate 
ring to also be a weighted one. However, that's not the case:

sage: PP.coordinate_ring().term_order()
Degree reverse lexicographic term order
sage: [g.degree() for g in PP.coordinate_ring().gens()]
[1, 1, 1]

Is this intended or should it return a weighted polynomial ring, something 
like this?

sage: to = TermOrder("wdegrevlex", [1, 3, 1])
sage: R = PolynomialRing(QQ, 3, names="z", order=to)
sage: [g.degree() for g in R.gens()]
[1, 3, 1]

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/53d1f2e8-f01d-4bae-8a1b-ae6dbb8d7a65n%40googlegroups.com.


[sage-support] Re: Developer's guide and configure : the list of packages needs some updating

2024-01-23 Thread Matthias Koeppe
By the way, a further improvement to this section in the installation guide 
is waiting for review in https://github.com/sagemath/sage/pull/37056

On Tuesday, January 23, 2024 at 10:13:08 AM UTC-8 Matthias Koeppe wrote:

> Many of these packages appeared in the 10.2 developer's guide only because 
> of a bug in the script that generates this list.
>
> This is already fixed in the current beta; see 
> https://deploy-livedoc--sagemath.netlify.app/html/en/installation/source#debian-ubuntu-package-installation
>
> Nevertheless, the package names should be corrected in build/pkgs/ name>/distros/debian.txt, as Dima explained.
> They only affect the experimental configuration explained in 
> https://github.com/sagemath/sage/wiki/Sage-10.2-Release-Tour#configure---enable-system-site-packages-experimental
>  
> and are otherwise just documentation.
>
>
>
> On Monday, January 22, 2024 at 11:44:43 PM UTC-8 Emmanuel Charpentier 
> wrote:
>
>> For installation from source on Debian, a few packages have incorrect 
>> names in the Developer’s guide (and possibly in the configuration process 
>> files) :
>> | Replace | with | 
>> ++--| | 
>> beautifulsoup4 | python3-bs4 | | cython | cython3 | | hatch-vcs | 
>> python3-hatch-vcs | | importlib-resources | python3-importlib-resources | | 
>> ipykernel | python3-ipykernel | | meson-python | python3-mesonpy (?) | | 
>> python-fastjsonschema | python3-fastjsonschema | | 
>> python-hatch-fancy-pypi-readme | python3-hatch-fancy-pypi-readme | | 
>> python-tinycss2 | python3-tinycss2 | | rpy2 | python3-rpy2 | | 
>> setuptools-scm | python3-setuptools-scm | | sphinxcontrib-websupport | 
>> python3-sphinxcontrib.websupport | 
>>
>> A question : are clang and clang-relatedpackages necessary or a “simple 
>> recommendation” ? In the latter case, what is the rationale ?
>>
>> Another couple of questions :
>>
>>- 
>>
>>How to report such problems efficiently ?
>>- 
>>
>>What to fix in the source in order to fix them ?
>>
>> HTH,
>> ​
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/52dc6746-d826-4b3a-91da-cb1a3fc36af8n%40googlegroups.com.


[sage-support] Re: Developer's guide and configure : the list of packages needs some updating

2024-01-23 Thread Matthias Koeppe
Many of these packages appeared in the 10.2 developer's guide only because 
of a bug in the script that generates this list.

This is already fixed in the current beta; 
see 
https://deploy-livedoc--sagemath.netlify.app/html/en/installation/source#debian-ubuntu-package-installation

Nevertheless, the package names should be corrected in build/pkgs//distros/debian.txt, as Dima explained.
They only affect the experimental configuration explained 
in 
https://github.com/sagemath/sage/wiki/Sage-10.2-Release-Tour#configure---enable-system-site-packages-experimental
 
and are otherwise just documentation.



On Monday, January 22, 2024 at 11:44:43 PM UTC-8 Emmanuel Charpentier wrote:

> For installation from source on Debian, a few packages have incorrect 
> names in the Developer’s guide (and possibly in the configuration process 
> files) :
> | Replace | with | 
> ++--| | 
> beautifulsoup4 | python3-bs4 | | cython | cython3 | | hatch-vcs | 
> python3-hatch-vcs | | importlib-resources | python3-importlib-resources | | 
> ipykernel | python3-ipykernel | | meson-python | python3-mesonpy (?) | | 
> python-fastjsonschema | python3-fastjsonschema | | 
> python-hatch-fancy-pypi-readme | python3-hatch-fancy-pypi-readme | | 
> python-tinycss2 | python3-tinycss2 | | rpy2 | python3-rpy2 | | 
> setuptools-scm | python3-setuptools-scm | | sphinxcontrib-websupport | 
> python3-sphinxcontrib.websupport | 
>
> A question : are clang and clang-relatedpackages necessary or a “simple 
> recommendation” ? In the latter case, what is the rationale ?
>
> Another couple of questions :
>
>- 
>
>How to report such problems efficiently ?
>- 
>
>What to fix in the source in order to fix them ?
>
> HTH,
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/af485425-18b3-4c72-b54d-077dd3a85603n%40googlegroups.com.


Re: [sage-support] Developer's guide and configure : the list of packages needs some updating

2024-01-23 Thread Dima Pasechnik
package names per distribution are in build/pkgs//distros/

so you might want to adjust debian.txt files there
and submit a PR with these changes



On 23 January 2024 07:44:43 GMT, Emmanuel Charpentier 
 wrote:
>
>
>For installation from source on Debian, a few packages have incorrect names 
>in the Developer’s guide (and possibly in the configuration process files) :
>| Replace | with | 
>++--| | 
>beautifulsoup4 | python3-bs4 | | cython | cython3 | | hatch-vcs | 
>python3-hatch-vcs | | importlib-resources | python3-importlib-resources | | 
>ipykernel | python3-ipykernel | | meson-python | python3-mesonpy (?) | | 
>python-fastjsonschema | python3-fastjsonschema | | 
>python-hatch-fancy-pypi-readme | python3-hatch-fancy-pypi-readme | | 
>python-tinycss2 | python3-tinycss2 | | rpy2 | python3-rpy2 | | 
>setuptools-scm | python3-setuptools-scm | | sphinxcontrib-websupport | 
>python3-sphinxcontrib.websupport | 
>
>A question : are clang and clang-relatedpackages necessary or a “simple 
>recommendation” ? In the latter case, what is the rationale ?
>
>Another couple of questions :
>
>   - 
>   
>   How to report such problems efficiently ?
>   - 
>   
>   What to fix in the source in order to fix them ?
>   
>HTH,
>​
>
>-- 
>You received this message because you are subscribed to the Google Groups 
>"sage-support" group.
>To unsubscribe from this group and stop receiving emails from it, send an 
>email to sage-support+unsubscr...@googlegroups.com.
>To view this discussion on the web visit 
>https://groups.google.com/d/msgid/sage-support/0f62ff1c-bc7f-4dfc-9924-e357ef7cc467n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/B8D9606E-79A4-4F7C-89A0-83B22EBB9D51%40gmail.com.