Re: [sage-devel] Pytest is not detected by sage

2022-03-24 Thread Adarsh Kishore
ok. Thank you for the information

On Thursday, March 24, 2022 at 4:53:19 PM UTC+5:30 dim...@gmail.com wrote:

> ./sage -i 
> is at the moment equivalent to 
> make 
>
> - but we should deprecate it.
>
>
> On Thu, Mar 24, 2022 at 11:14 AM Adarsh Kishore  
> wrote:
>
>> I looked it up on the Sage developer documentation at 
>> https://doc.sagemath.org/html/en/developer/tools.html
>>
>> The relevant command to be run is 
>> ```
>> ./sage -i pytest
>> ```
>> from SAGE_ROOT. Running this, pytest works fine now.
>>
>> [image: Screenshot from 2022-03-24 16-01-23.png]
>>
>> Thanks, everyone for the help.
>>
>> On Thursday, March 24, 2022 at 3:15:08 PM UTC+5:30 François Bissey wrote:
>>
>>> The way they want to run pytest, I would suggest to try 
>>> cd src 
>>> pytest -v 
>>> first. The configuration files for pytest are in there and it should be 
>>> the reported rootdir. Not SAGE_ROOT. 
>>>
>>> > On 24/03/2022, at 22:41, Dima Pasechnik  wrote: 
>>> > 
>>> > you need Sage's pytest package, which can be installed by doing e.g. 
>>> > 
>>> > make pytest 
>>> > 
>>>
>>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/bccfd0ca-7a3d-44b5-9532-d6a442ab17d6n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/9bc65fbd-f892-4222-95d8-cec0be5c939dn%40googlegroups.com.


Re: [sage-devel] Pytest is not detected by sage

2022-03-24 Thread Dima Pasechnik
./sage -i 
is at the moment equivalent to
make 

- but we should deprecate it.


On Thu, Mar 24, 2022 at 11:14 AM Adarsh Kishore 
wrote:

> I looked it up on the Sage developer documentation at
> https://doc.sagemath.org/html/en/developer/tools.html
>
> The relevant command to be run is
> ```
> ./sage -i pytest
> ```
> from SAGE_ROOT. Running this, pytest works fine now.
>
> [image: Screenshot from 2022-03-24 16-01-23.png]
>
> Thanks, everyone for the help.
>
> On Thursday, March 24, 2022 at 3:15:08 PM UTC+5:30 François Bissey wrote:
>
>> The way they want to run pytest, I would suggest to try
>> cd src
>> pytest -v
>> first. The configuration files for pytest are in there and it should be
>> the reported rootdir. Not SAGE_ROOT.
>>
>> > On 24/03/2022, at 22:41, Dima Pasechnik  wrote:
>> >
>> > you need Sage's pytest package, which can be installed by doing e.g.
>> >
>> > make pytest
>> >
>>
>> --
> 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/bccfd0ca-7a3d-44b5-9532-d6a442ab17d6n%40googlegroups.com
> 
> .
>

-- 
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/CAAWYfq22nhXMFPG0AXv0nwptJ%2Bv%3DSjF2nNnHu7-HfoWo4%2BJBcA%40mail.gmail.com.


Re: [sage-devel] Pytest is not detected by sage

2022-03-24 Thread Adarsh Kishore
I looked it up on the Sage developer documentation at 
https://doc.sagemath.org/html/en/developer/tools.html

The relevant command to be run is 
```
./sage -i pytest
```
from SAGE_ROOT. Running this, pytest works fine now.

[image: Screenshot from 2022-03-24 16-01-23.png]

Thanks, everyone for the help.

On Thursday, March 24, 2022 at 3:15:08 PM UTC+5:30 François Bissey wrote:

> The way they want to run pytest, I would suggest to try
> cd src
> pytest -v 
> first. The configuration files for pytest are in there and it should be 
> the reported rootdir. Not SAGE_ROOT.
>
> > On 24/03/2022, at 22:41, Dima Pasechnik  wrote:
> > 
> > you need Sage's pytest package, which can be installed by doing e.g. 
> > 
> > make pytest
> > 
>
>

-- 
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/bccfd0ca-7a3d-44b5-9532-d6a442ab17d6n%40googlegroups.com.


Re: [sage-devel] Pytest is not detected by sage

2022-03-24 Thread François Bissey
The way they want to run pytest, I would suggest to try
cd src
pytest -v 
first. The configuration files for pytest are in there and it should be the 
reported rootdir. Not SAGE_ROOT.

> On 24/03/2022, at 22:41, Dima Pasechnik  wrote:
> 
> you need Sage's pytest package, which can be installed by doing e.g. 
> 
> make pytest
> 

-- 
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/FA978C5B-C47C-47A4-9A11-A3CE83BBD19B%40gmail.com.


[sage-devel] Pytest is not detected by sage

2022-03-24 Thread Adarsh Kishore
Hi everyone,

I am running Sage v 9.6.beta4 on Ubuntu 20.04 LTS system. When I run 
doctests on it, it skips the doctests involving pytest, saying that
```
Pytest is not installed, skip checking tests that rely on it.
```

[image: Screenshot from 2022-03-24 11-02-42.png]
I installed pytest using
```
pip install -U pytest
```
and then
```
sudo pip install -U pytest
```

but it still does not detect pytest, as can be seen in screenshot. I also 
tried rebuilding sage using
```
make build
```
from SAGE_ROOT, but it does not work. I looked up these resources from 
Google and StackOverFlow but none of them worked out for me. I would 
appreciate if someone can help me in resolving this issue.

-- 
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/52c4478b-215f-4b9c-aee6-4bfcd998f058n%40googlegroups.com.