I now have a branch of sympy (github brombo/sympy) with the revisions to
geometric algebra. How do I run all tests locally including testing for
each sympy supported version of python and whatever other tests are done
when a revision is submitted?
--
You received this message because you are
Hi Alan,
I am not sure if this is what you are looking for but here it goes-
For Python2 interpreter and Python types - ./bin/test
For Python3 interpreter and Python types - python3 ./bin/test
For Python2 interpreter and GMPY types - ./bin/test -t gmpy
For Python3 interpreter and GMPY types - pyt
Hi Alan
If you have all the versions of Python installed on your system, you can
run the tests for all of them easily be issuing following command:
$ ./bin/test
$ ./bin/doctest
There's also a test called test_code_quality in sympy/utilities/
Regards
Sudhanshu Mishra
On Tue, Jul 8, 2014 at 11
Hi Alan,
On Tue, Jul 8, 2014 at 11:38 AM, Alan Bromborsky wrote:
> I now have a branch of sympy (github brombo/sympy) with the revisions to
> geometric algebra. How do I run all tests locally including testing for
> each sympy supported version of python and whatever other tests are done
> when
>
>
> If you have all the versions of Python installed on your system, you can
> run the tests for all of them easily be issuing following command:
>
> $ ./bin/test
> $ ./bin/doctest
>
I think you need to run each of these with python3 and Gmpy types. I'm not
sure if Alan's new contributions are ta
@Saurabh yea you are correct. Those two commands need to be executed with
both binaries.
Regards
Sudhanshu Mishra
On Tue, Jul 8, 2014 at 11:20 PM, Saurabh Jha wrote:
>
>> If you have all the versions of Python installed on your system, you can
>> run the tests for all of them easily be issuin
On Tue, Jul 8, 2014 at 11:50 AM, Saurabh Jha wrote:
>>
>> If you have all the versions of Python installed on your system, you can
>> run the tests for all of them easily be issuing following command:
>>
>> $ ./bin/test
>> $ ./bin/doctest
>
> I think you need to run each of these with python3 and
For your reference the galgebra tests on my machine (i7-4930K) now take
11.47 sec (the difference in speed from the previous version is due to
caching and calculating multiplication tabels on the fly, and a custom
subs function for linear combinations of commutative expressions and
non-commutat
I know that Jim Crist is using a custom subs function as well. It seems
to me that maybe we could add a flag to subs and have it call a custom
function for special cases. Also, it could help with code reuse as there
may be things in Jim's or Alan's routines that could help each other.
Cheers,
Is there a script that automatically runs 2to3 and then runs all test
using python3? I remember something like that the last time I revised
galgebra.
On 07/08/2014 01:52 PM, Ondřej Čertík wrote:
On Tue, Jul 8, 2014 at 11:50 AM, Saurabh Jha wrote:
If you have all the versions of Python insta
On Tue, Jul 8, 2014 at 3:02 PM, Alan Bromborsky wrote:
> Is there a script that automatically runs 2to3 and then runs all test using
> python3? I remember something like that the last time I revised galgebra.
We now use the same source code for all Python versions. So if your
source code only wor
So will the output of 2to3 run in python2.7?
On 07/08/2014 05:42 PM, Ondřej Čertík wrote:
On Tue, Jul 8, 2014 at 3:02 PM, Alan Bromborsky wrote:
Is there a script that automatically runs 2to3 and then runs all test using
python3? I remember something like that the last time I revised galgebra.
On Tue, Jul 8, 2014 at 4:05 PM, Alan Bromborsky wrote:
> So will the output of 2to3 run in python2.7?
The 2to3 runs in Python 2.7, but you should not be running it.
Ondrej
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this grou
Please explain. What should I do?
On 07/08/2014 07:50 PM, Ondřej Čertík wrote:
On Tue, Jul 8, 2014 at 4:05 PM, Alan Bromborsky wrote:
So will the output of 2to3 run in python2.7?
The 2to3 runs in Python 2.7, but you should not be running it.
Ondrej
--
You received this message because you
Hi Alan,
Run the tests like this:
ondrej@kittiwake:~/repos/sympy(master)$ bin/test sympy/galgebra
= test process starts ==
executable: /usr/bin/python (2.7.3-final-0) [CPython]
architecture: 64-bit
cache: yes
grou
What I meant was that I get errors when I run
python3 bin/test sympy/galgebra
Should I convert my code that works with python2.7 to python3 with 2to3
or should I do it by hand?
On 07/08/2014 08:29 PM, Ondřej Čertík wrote:
Hi Alan,
Run the tests like this:
ondrej@kittiwake:~/repos/sympy(mas
I think you should submit the pull request first. It would be easier to
debug the problem after looking at the code.
Regards
Sudhanshu Mishra
On Wed, Jul 9, 2014 at 6:28 AM, Alan Bromborsky wrote:
> What I meant was that I get errors when I run
>
> python3 bin/test sympy/galgebra
>
> Should I
Yes, please submit the pull request, we'll have a look.
But to answer your question, to make it work with python 3, the same
source code must be changed to work with both Python 2 and 3.
Ondrej
On Tue, Jul 8, 2014 at 11:46 PM, Sudhanshu Mishra wrote:
> I think you should submit the pull request
I have pushed my latest code, test, examples, and docs to my sympy
branch https://github.com/brombo/sympy. I don't remember what to do next.
On 07/09/2014 12:14 PM, Ondřej Čertík wrote:
Yes, please submit the pull request, we'll have a look.
But to answer your question, to make it work with
Thanks. Now you just create the pull request --- I did it for you:
https://github.com/sympy/sympy/pull/7722
However, it seems you might have committed a lot of unrelated changes
into your commits, so somebody will have to clean it up.
Ondrej
On Wed, Jul 9, 2014 at 10:54 AM, Alan Bromborsky wro
Yeah. It looks like master hasn't been updated since VERY long time! It
should be rebased.
Regards
Sudhanshu Mishra
On Wed, Jul 9, 2014 at 10:32 PM, Ondřej Čertík
wrote:
> Thanks. Now you just create the pull request --- I did it for you:
>
> https://github.com/sympy/sympy/pull/7722
>
> Howev
How do I rebase?
On 07/09/2014 01:21 PM, Sudhanshu Mishra wrote:
Yeah. It looks like master hasn't been updated since VERY long time!
It should be rebased.
Regards
Sudhanshu Mishra
On Wed, Jul 9, 2014 at 10:32 PM, Ondřej Čertík
mailto:ondrej.cer...@gmail.com>> wrote:
Thanks. Now you
I tried doing that but it failed with too many merge conflicts. I don't
know any other smart way to resolve it. Maybe @Ondrej can help.
Regards
Sudhanshu Mishra
On Thu, Jul 10, 2014 at 12:30 AM, Alan Bromborsky
wrote:
> How do I rebase?
>
>
> On 07/09/2014 01:21 PM, Sudhanshu Mishra wrote:
>
Should I wipe out my brombo/sympy repository and recreate it from scratch?
On 07/09/2014 04:05 PM, Sudhanshu Mishra wrote:
I tried doing that but it failed with too many merge conflicts. I
don't know any other smart way to resolve it. Maybe @Ondrej can help.
Regards
Sudhanshu Mishra
On Thu
No, that is not necessary. The easiest fix is to just create a new branch,
and do things there.
Aaron Meurer
On Wed, Jul 9, 2014 at 4:32 PM, Alan Bromborsky wrote:
> Should I wipe out my brombo/sympy repository and recreate it from
> scratch?
>
>
>
> On 07/09/2014 04:05 PM, Sudhanshu Mishra w
25 matches
Mail list logo