Re: [sympy] Test failures in master: Hash randomization

2012-06-24 Thread Sergiu Ivanov
Hello, On Sun, Jun 24, 2012 at 8:32 AM, Aaron Meurer wrote: > > And lastly, if anyone has any thoughts on how we could canonically > order the arguments of Add and Mul independent of hash values, but is > still just as fast as hash values, I would love to hear it.  If we > could do that, it would

Re: [sympy] Should FiniteSet be able to hold arbitrary elements?

2012-06-24 Thread Sergiu Ivanov
On Sun, Jun 24, 2012 at 4:07 AM, Aaron Meurer wrote: > The only potential issue I see with not sorting at all is if some > algorithm implicitly relies on the order of iteration through .args to > get a specific result (even if all results are mathematically > correct). We'll find these soon enough

[sympy] Testing: differences between platforms

2012-06-24 Thread Ondřej Čertík
Hi, I noticed that sometimes the Travis CI buildbot succeeds, and Stefan's buildbot fails on the same code. I also understand that sometimes the 32bit and 64bit Python versions behave differently in tests and sometimes also major Python versions like 3.2 vs 2.7, also I think 2.4 and 2.5 (or maybe

Re: [sympy] Testing: differences between platforms

2012-06-24 Thread krastanov.ste...@gmail.com
> I noticed that sometimes the Travis CI buildbot succeeds, and Stefan's > buildbot fails on the same code. > I also understand that sometimes the 32bit and 64bit Python versions > behave differently in tests > and sometimes also major Python versions like 3.2 vs 2.7, also I think > 2.4 and 2.5 (or

Re: [sympy] Test failures in master: Hash randomization

2012-06-24 Thread Ondřej Čertík
On Sat, Jun 23, 2012 at 10:32 PM, Aaron Meurer wrote: > Hi everyone. > > I just merged pull request https://github.com/sympy/sympy/pull/1379, > which enables hash randomization by default in the test runner.  What > this means is that if you are running Python 2.6.8, 2.7.3, 3.2.3, or > 3.3, then y

Re: [sympy] Testing: differences between platforms

2012-06-24 Thread Ondřej Čertík
On Sun, Jun 24, 2012 at 10:24 AM, krastanov.ste...@gmail.com wrote: >> I noticed that sometimes the Travis CI buildbot succeeds, and Stefan's >> buildbot fails on the same code. >> I also understand that sometimes the 32bit and 64bit Python versions >> behave differently in tests >> and sometimes

[sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread Ondřej Čertík
Hi, I need some help with figuring out how to implement robust pull requests testing with sympy-bot. The webapp at reviews.sympy.org (the source code of which is in the "web" directory of sympy-bot) has a database of all pull requests, and I can quite easily implement almost any interaction betwe

Re: [sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread krastanov.ste...@gmail.com
This will be quite an effort. Is it worth it? There is already TravisCI for the master branch (and it is capable of testing PR if we want). There is also the admittedly-very-ugly script that I use for testing - it fails occasionally, however one rarely waits for more than half a day to receive 3 te

Re: [sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread Ondřej Čertík
On Sun, Jun 24, 2012 at 1:38 PM, krastanov.ste...@gmail.com wrote: > This will be quite an effort. Is it worth it? There is already > TravisCI for the master branch (and it is capable of testing PR if we > want). There is also the admittedly-very-ugly script that I use for > testing - it fails occ

Re: [sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread krastanov.ste...@gmail.com
> Can you post your script? If it already implements the above, that > would of course be great! > I didn't know about it. I have posted a version of it some time ago as a pull request: https://github.com/sympy/sympy-bot/pull/74 The current version is a bit more robust, however this is only a **t

Re: [sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread Ondřej Čertík
On Sun, Jun 24, 2012 at 2:13 PM, krastanov.ste...@gmail.com wrote: >> Can you post your script? If it already implements the above, that >> would of course be great! >> I didn't know about it. > > I have posted a version of it some time ago as a pull request: > https://github.com/sympy/sympy-bot/p

Re: [sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread Ondřej Čertík
On Sun, Jun 24, 2012 at 2:37 PM, Ondřej Čertík wrote: > I just donated $70 to Travis CI for sympy, so they will probably > enable the pull request testing > soon. Looks like it's working: http://travis-ci.org/#!/sympy/sympy/pull_requests Ondrej -- You received this message because you are sub

Re: [sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread krastanov.ste...@gmail.com
> I think it works well. Would you mind posting your current script? > So that I can set it up on my server as well. OK, however it will not do much good - what is tested by your server will not be tested by mine and vice-versa. So running it on two machines would be useful only if there are too ma

Re: [sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread Ondřej Čertík
On Sun, Jun 24, 2012 at 2:56 PM, krastanov.ste...@gmail.com wrote: >> I think it works well. Would you mind posting your current script? >> So that I can set it up on my server as well. > OK, however it will not do much good - what is tested by your server > will not be tested by mine and vice-ver

[sympy] Domain for any functions

2012-06-24 Thread Иван Петухов
How to get the domain for log(..), tan(..), sqrt(x-1) and etc.? -- You received this message because you are subscribed to the Google Groups "sympy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sympy/-/8H5fxZkvktAJ. To post to this group, send email to sympy@

Re: [sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread Ondřej Čertík
On Sun, Jun 24, 2012 at 2:55 PM, Ondřej Čertík wrote: > On Sun, Jun 24, 2012 at 2:37 PM, Ondřej Čertík > wrote: >> I just donated $70 to Travis CI for sympy, so they will probably >> enable the pull request testing >> soon. > > Looks like it's working: > > http://travis-ci.org/#!/sympy/sympy/pul

Re: [sympy] Testing: differences between platforms

2012-06-24 Thread Aaron Meurer
On Jun 24, 2012, at 1:33 PM, "Ondřej Čertík" wrote: > On Sun, Jun 24, 2012 at 10:24 AM, krastanov.ste...@gmail.com > wrote: >>> I noticed that sometimes the Travis CI buildbot succeeds, and Stefan's >>> buildbot fails on the same code. >>> I also understand that sometimes the 32bit and 64bit Pyt

Re: [sympy] Test failures in master: Hash randomization

2012-06-24 Thread Aaron Meurer
On Jun 24, 2012, at 1:11 PM, "Ondřej Čertík" wrote: > On Sat, Jun 23, 2012 at 10:32 PM, Aaron Meurer wrote: >> Hi everyone. >> >> I just merged pull request https://github.com/sympy/sympy/pull/1379, >> which enables hash randomization by default in the test runner. What >> this means is that if

Re: [sympy] how to automatically test pull requests with sympy-bot

2012-06-24 Thread Aaron Meurer
On Jun 24, 2012, at 4:06 PM, "Ondřej Čertík" wrote: > On Sun, Jun 24, 2012 at 2:56 PM, krastanov.ste...@gmail.com > wrote: >>> I think it works well. Would you mind posting your current script? >>> So that I can set it up on my server as well. >> OK, however it will not do much good - what is te

Re: [sympy] Domain for any functions

2012-06-24 Thread Aaron Meurer
Unfortunately, this is not implemented yet. See http://code.google.com/p/sympy/issues/detail?id=2955. Aaron Meurer On Jun 24, 2012, at 4:32 PM, "Иван Петухов" wrote: How to get the domain for log(..), tan(..), sqrt(x-1) and etc.? -- You received this message because you are subscribed to th