transonic merge requestshttps://foss.heptapod.net/fluiddyn/transonic/-/merge_requests2019-07-24T12:55:58Zhttps://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/35Doc pack_using_transonic2019-07-24T12:55:58ZBitbucket ImporterDoc pack_using_transonic*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/34Simple Cython backend, keep user API, backend choosen by environment variable2020-02-12T22:36:00ZBitbucket ImporterSimple Cython backend, keep user API, backend choosen by environment variable*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* Class for Pythra...*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* Class for Pythran backend and inheritance
* Draft : start numba integration
* Draft : start cython backend
* Restructuration : tranpiler & pythranizer in backends
* One analyse for all backends
* Factorize backends code in super Class
* Cython compilation with a transonic analyse only
* Keep user API, factorizations of compilers and transonic commands
Factorizations : - run\_pythran.py and run\_cython.py in run\_backend.py - pytranizer.py and cythonizer.py in compiler.py
I've also moved transpiler.py from the backend directory into the root of transonic
I didn't move supported\_backend global variable from config.py to backend/**init**.py cause it sets off import conflicts
* Detect\_transonic\_extensions fixes : deal with .pyx and filter exterior fileshttps://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/33Simple Cython backend, keep user API, backend choosen by environment variable2020-02-12T22:35:59ZBitbucket ImporterSimple Cython backend, keep user API, backend choosen by environment variable*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Changesets for this Pull Request have not been imported, because it had been already declin...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.*
* Class for Pythran backend and inheritance
* Draft : start numba integration
* Draft : start cython backend
* Restructuration : tranpiler & pythranizer in backends
* One analyse for all backends
* Factorize backends code in super Class
* Cython compilation with a transonic analyse only
* Keep user API, factorizations of compilers and transonic commands
Factorizations : - run\_pythran.py and run\_cython.py in run\_backend.py - pytranizer.py and cythonizer.py in compiler.py
I've also moved transpiler.py from the backend directory into the root of transonic
I didn't move supported\_backend global variable from config.py to backend/**init**.py cause it sets off import conflictshttps://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/32Fix analysis signatures (Github issue 6)2019-07-23T10:34:46ZBitbucket ImporterFix analysis signatures (Github issue 6)*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/31Integration of a simple Cython backend that compiles with a transonic analysi...2019-07-24T08:35:21ZBitbucket ImporterIntegration of a simple Cython backend that compiles with a transonic analysis only*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Changesets for this Pull Request have not been imported, because it had been already declin...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.*
Cython and Pythran backends inherit from a super class “Backends”
No test for the new Cython backend.
* Class for Pythran backend and inheritance
* Draft : start numba integration
* Draft : start cython backend
* Restructuration : tranpiler & pythranizer in backends
* One analyse for all backends
* Factorize backends code in super Class
* Cython compilation with a transonic analyze onlyhttps://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/30Thoughts about Cython and Transonic2019-07-18T14:11:34ZBitbucket ImporterThoughts about Cython and Transonic*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/29Jitted function calls in a jitted function2020-02-12T22:35:55ZBitbucket ImporterJitted function calls in a jitted function*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* jitt...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* jitted functions can import a jitted function as "func = jit\(func\)"
Important : Methods don't, the name in parameter of jit has to be the same that the assigned variable name
* Get\_code\_ext refactoring \+ same name not mandatory for a jit call \(see description\) \+ associated test
With a jitted function called in another jitted function: same name like "func = jit\(func\)" not mandatory
* Factorisation of get\_ext\_code\(\) in analyse.util
* Fix two files created for one imported jitted function
* Jitted func : fix different names issue & many imports in a single line
* Get rid of some spaces using "if not dep : continue"https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/28func = jit(func)2020-02-12T22:35:54ZBitbucket Importerfunc = jit(func)*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Changesets for this Pull Request have not been imported, because it had been already declin...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.*
* jitted functions can import a jitted function as "func = jit\(func\)"
Important : Methods don't, the name in parameter of jit has to be the same that the assigned variable name
* Get\_code\_ext refactoring \+ same name not mandatory for a jit call \(see description\) \+ associated test
With a jitted function called in another jitted function: same name like "func = jit\(func\)" not mandatory
* Factorisation of get\_ext\_code\(\) in analyse.util
* Fix two files created for one imported jitted function
* Jitted func : fix different names issue & many imports in a single linehttps://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/27Fix bugs + version 0.2.42019-06-28T15:08:49ZBitbucket ImporterFix bugs + version 0.2.4*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* Fix default argu...*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* Fix default arguments jit
* Fix bugs: method no method \+ Scipy used by Pythran
* Improve CHANGEShttps://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/26Fix issue #21 + doc about imported function calls in decorated functions2019-06-28T14:41:39ZBitbucket ImporterFix issue #21 + doc about imported function calls in decorated functions*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
3 FIXM...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
3 FIXME left to do about issue #21.https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/25Fix issue #202020-02-12T22:35:52ZBitbucket ImporterFix issue #20*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
Now no...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
Now no argument boosted functions have a pythran signaturehttps://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/24Improve log and error JIT2019-06-26T20:51:07ZBitbucket ImporterImprove log and error JIT*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
See [https://githu...*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
See [https://github.com/fluiddyn/transonic/issues/3](https://github.com/fluiddyn/transonic/issues/3)https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/23Fix issue #82019-06-26T20:16:41ZBitbucket ImporterFix issue #8*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
\+1 as...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
\+1 associated test
coverage pass from 92% to 93%https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/22Issue #14 fix with decorated methods, boosted functions and multilevel2020-02-12T22:35:48ZBitbucket ImporterIssue #14 fix with decorated methods, boosted functions and multilevel*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
This p...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
This pull request is a fix for the issue #14. Only local locally imported functions are supported yet. Now decorated methods and functions can use imported functions. This PR also support multilevel imports \(i.e. a function needed by a function used by a decorated function\).
I did a make black.
The coverage has passed from 91% to 92% and most of the code I have written is covered.
* Fix issue 14, local import only
* Issue #14 : multiple levels of import supported
* Issue #14 imports supported by boosted functions \+ reorganisation \+ tests
Of course boosted functions support multi-levels of import as jitted function. The reorganisation was done for factoring 2 identical functions in analyse\_aot\(\) and analyse\_jit\(\). There is a new test about multi-levels import in boosted function.
* Report bug ModuleNotFound with a jitted method that use local imported functions
To have the error run 'make clean; pytest test\_justintime.py -s' I don't understand why function at line 277 in transonic.util.py \(i.e "spec.loader.exec\_module\(module\)"\) doesn't find the module imported by the module in its parameter" I've written just before this line a test that looks for the existence of this module, and the test gives me a positive existence
In this commit I have only kept the test that give me this error \(in test\_justintime.py\). Be aware that this commit contains other unrelated changes like a factorisation of the function "filter\_external\_code"
* Fix ModuleNotFoundError
* Issue #14 Decorated methods can use locally imported functions
In this commit I have changed get\_exterior\_code\(\) in analyse/**init**.py to resolve the double files writting problem . I have also added a test for boosted methods that use a locally imported function. And finally I have fixed the boosted functions name problem.https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/21subprocess.run with universal_newlines=True (fix issue #17)2019-06-14T07:54:21ZBitbucket Importersubprocess.run with universal_newlines=True (fix issue #17)*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/20Default2019-06-11T09:00:36ZBitbucket ImporterDefault*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* More test: compa...*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* More test: compare the produced files with saved files
* Version 0.2.3
* Added tag 0.2.3 for changeset c56bb4d08034https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/19Fix issue 132019-06-07T13:11:06ZBitbucket ImporterFix issue 13*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
\+ 2 t...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
\+ 2 test files
I renamed get\_boosted\_dict function in get\_decorated\_dict for consistency.
I had to add `or alias.name == "jit"` on \_\_init\_\_.py line 105 to make the fix works.https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/18transonic now blocks until the end of a AOT compilation2019-06-06T21:05:13ZBitbucket Importertransonic now blocks until the end of a AOT compilation*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/17Version 0.2.22019-06-05T20:52:50ZBitbucket ImporterVersion 0.2.2*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* Fix bug with flu...*Created originally on Bitbucket by [paugier (Pierre Augier)](https://bitbucket.org/%7Beb327c54-cadd-4fce-9edd-f8fe047a9b93%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
* Fix bug with fluidsim and blocks
* Version 0.2.2https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/16Fix issue #152019-06-05T15:39:30ZBitbucket ImporterFix issue #15*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
*Sourc...*Created originally on Bitbucket by [PierreBlancfat (Pierre Blanc-fatin)](https://bitbucket.org/%7Bdaff692a-7c82-4e01-8296-8ff3e2cd4765%7D/)*
*Was already merged in Bitbucket before import, marked as merged by the import user*
*Source changeset not longer availableat the time of import. Commit listwill look empty*