Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT: Fix merge error | Rohit Goswami | 2023-05-12 | 1 | -13/+0 |
| | |||||
* | TST: Add a test for gh-23533 | Rohit Goswami | 2023-05-12 | 2 | -0/+32 |
| | |||||
* | Merge branch 'main' into f2pyFuncFix_23598 | Sebastian Berg | 2023-04-26 | 3 | -34/+28 |
|\ | |||||
| * | TST: Remove crackfortran.nameargspattern time test that failed randomly (#23662) | molsonkiko | 2023-04-25 | 1 | -25/+15 |
| | | | | | | | | | | | | also made the threshold for rejecting a regex as too slow much more lenient. 200ms should be enough time even for a bad CPU on a bad day. a bad regex should fail with near certainty | ||||
| * | Merge pull request #23470 from bobeldering/f2py-f77-array-parsing-fix | Charles Harris | 2023-04-21 | 2 | -10/+14 |
| |\ | | | | | | | BUG: Fix bug in parsing F77 style string arrays. | ||||
| | * | BUG: Fix bug in parsing F77 style string arrays. | Bob Eldering | 2023-03-27 | 2 | -10/+14 |
| | | | | | | | | | | | | | | | | | | | | | Example problematic variable: CHARACTER WORDARR(3)*8 This would be wrapped by an array with shape (3, 8) and dtype |S1, instead of the desired shape (3,) and dtype |S8. See #23356. | ||||
* | | | TST: Add a test for the f2py function wrapper file | Rohit Goswami | 2023-04-17 | 2 | -0/+33 |
| | | | |||||
* | | | TST: Add a test for gh-23598 | Rohit Goswami | 2023-04-16 | 2 | -1/+13 |
|/ / | |||||
* | | DNM: test some more `selected_real_kind` results [skip azurepipelines] | Derek Homeier | 2023-04-15 | 1 | -3/+24 |
| | | |||||
* | | BUG: include macOS arm64 `machine()` value in `_selected_real_kind_func` | Derek Homeier | 2023-04-15 | 1 | -1/+1 |
| | | |||||
* | | make time tests more resilient to random noise | molsonkiko | 2023-03-26 | 1 | -7/+16 |
| | | |||||
* | | make regex still match cases where OG fix failed | molsonkiko | 2023-03-26 | 1 | -6/+19 |
| | | | | | | | | | | | | | | My first replacement regex would have failed to match cases like '@)@bind foo bar baz@(@@)@' which should apparently be matched. Added a test to make sure the regex does this. | ||||
* | | update test for less arbitrary time requirement | molsonkiko | 2023-03-26 | 1 | -1/+2 |
| | | |||||
* | | initial fix for nameargspattern regex | molsonkiko | 2023-03-26 | 1 | -2/+9 |
| | | |||||
* | | add nameargspattern backtracking test | molsonkiko | 2023-03-26 | 1 | -0/+17 |
|/ | |||||
* | BUG: fix for f2py string scalars (#23194) | Alexander Heger | 2023-02-11 | 2 | -0/+27 |
| | | | | | | | | | | | | | | in previous version, any string scalar was converted to a string array of dimension len, i.e., a definition character(len=N) :: X effectively became character(len=NNN), dimension(NNN) :: X from the point of few of the numpy (python) interface: X.shape == (NNN,) X.dtype == '|SNNN' Closes gh-23192 | ||||
* | TST: Comment out spurious print in f2py test | Sebastian Berg | 2023-02-09 | 1 | -3/+4 |
| | | | | Matti was wondering where it came from, so lets comment it out. | ||||
* | CI: Rebase numpy DLLs in runtests.py. | DWesl | 2023-01-30 | 1 | -1/+2 |
| | | | | | This assumes NumPy is rebased before tests run, but does not assume the locations are in the database. | ||||
* | TST: Rebase F2Py-built extension modules. | DWesl | 2023-01-29 | 1 | -0/+19 |
| | | | | | Also adjust CI so they don't immediately collide with NumPy. I forgot to do that last time, which caused problems. | ||||
* | Revert "FIX: Add glob import for test module rebase." | DWesl | 2023-01-27 | 1 | -1/+0 |
| | | | | This reverts commit 33709afdbbc47b7adb7dd06a730246d8c02f724f. | ||||
* | Revert "TST: Rebase F2Py test modules on Cygwin." | DWesl | 2023-01-27 | 1 | -16/+0 |
| | | | | This reverts commit 608864613b801b9c85573186a9d07eeac5e7e465. | ||||
* | FIX: Add glob import for test module rebase. | DWesl | 2023-01-27 | 1 | -0/+1 |
| | | | | Forgot to check this earlier. | ||||
* | TST: Rebase F2Py test modules on Cygwin. | DWesl | 2023-01-26 | 1 | -0/+16 |
| | | | | Let's see if this fixes the 8-50 fork failures. | ||||
* | BUG: Use whole file for encoding checks with `charset_normalizer` [f2py] ↵ | Rohit Goswami | 2022-12-25 | 2 | -4/+17 |
| | | | | | | | | | | | | | | | | | | | | | (#22872) * BUG: Use whole file for encoding checks [f2py] * DOC: Add a code comment Co-authored-by: melissawm <melissawm@gmail.com> * TST: Add a conditional unicode f2py test * MAINT: Add chardet as a test requirement * ENH: Cleanup and switch f2py to charset_normalizer * MAINT: Remove chardet for charset_normalizer * TST: Simplify UTF-8 encoding [f2py] Co-authored-by: melissawm <melissawm@gmail.com> | ||||
* | TST: Skip tests that are not currently supported in wasm | Hood Chatham | 2022-11-11 | 2 | -1/+7 |
| | |||||
* | TST: Rename setup to setup_method in f2py utils (inherited into Tests) | Sebastian Berg | 2022-10-27 | 2 | -2/+2 |
| | |||||
* | TST,MAINT: Replace most `setup` with `setup_method` (also teardown) | Sebastian Berg | 2022-10-27 | 1 | -2/+2 |
| | | | | | | | | In some cases, the replacement is clearly not what is intended, in those (where setup was called explicitly), I mostly renamed `setup` to `_setup`. The `test_ccompile_opt` is a bit confusing, so left it right now (this will probably fail) | ||||
* | TST: Further test fixup for python integer conversion warning | Sebastian Berg | 2022-10-06 | 1 | -1/+1 |
| | |||||
* | TST: Fixup tests for strict Python integer conversions | Sebastian Berg | 2022-10-05 | 2 | -2/+2 |
| | |||||
* | Merge pull request #21807 from HaoZeke/useFortranValue | Melissa Weber Mendonça | 2022-07-02 | 2 | -0/+23 |
|\ | |||||
| * | TST: Ensure the f2py value attribute is handled | Rohit Goswami | 2022-06-21 | 2 | -0/+23 |
| | | |||||
* | | TST: Tighten test_gen_pyf_stdout check | Namami Shanker | 2022-06-23 | 1 | -0/+1 |
| | | |||||
* | | TST: Add f2py2e f2cmap flag test | Namami Shanker | 2022-06-23 | 1 | -3/+23 |
|/ | |||||
* | TST: Ensure long_long in f2cmap works | Rohit Goswami | 2022-06-10 | 3 | -0/+25 |
| | |||||
* | Merge pull request #19388 from pearu/enh-f2py-character-support | Melissa Weber Mendonça | 2022-06-06 | 8 | -29/+749 |
|\ | | | | | Co-authored-by: Rohit Goswami <rog32@hi.is> | ||||
| * | MAINT,DOC: Fix doc fragments and tests | Rohit Goswami | 2022-06-05 | 1 | -1/+1 |
| | | |||||
| * | TST: Fix build by changing call signature | Rohit Goswami | 2022-06-05 | 1 | -1/+1 |
| | | |||||
| * | ENH: Support character string arrays | Pearu Peterson | 2022-06-05 | 8 | -29/+749 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TST: added test for issue #18684 ENH: f2py opens files with correct encoding, fixes #635 TST: added test for issue #6308 TST: added test for issue #4519 TST: added test for issue #3425 ENH: Implement user-defined hooks support for post-processing f2py data structure. Implement character BC hook. ENH: Add support for detecting utf-16 and utf-32 encodings. | ||||
* | | ENH: complete the 'vars' list of a module | Damien Caliste | 2022-06-05 | 2 | -0/+19 |
|/ | | | | | | Add to the 'vars' list of a module missing subroutines or functions listed in the 'body' that have not been explicitely declared 'public' or 'private'. | ||||
* | TST: Handle compiler checks for PYF | Rohit Goswami | 2022-05-28 | 1 | -4/+9 |
| | |||||
* | MAINT: Skip F2PY tests without Fortran compilers | Rohit Goswami | 2022-05-27 | 1 | -4/+4 |
| | |||||
* | TST: Kill buggy 32-bit tests | Rohit Goswami | 2022-04-30 | 2 | -0/+14 |
| | |||||
* | BUG: Fix handling of skip-empty-wrappers | Rohit Goswami | 2022-04-30 | 1 | -2/+2 |
| | |||||
* | MAINT: Skip buggy windows test | Rohit Goswami | 2022-04-30 | 1 | -2/+2 |
| | |||||
* | TST: Initialize f2py2e tests of the F2PY CLI (#20668) | Rohit Goswami | 2022-04-01 | 3 | -0/+754 |
| | | | | | Increases F2PY coverage by around 15 percent. For the CLI itself it covers the major features (around 70 percent), with the exception of mostly numpy.distutils stuff. More importantly, sets the groundwork for #20056, in that passing the same testsuite should indicate feature parity. | ||||
* | BUG,ENH: Fix negative bounds for F2PY (#21256) | Rohit Goswami | 2022-03-31 | 2 | -0/+26 |
| | | | Co-authored-by: Pearu Peterson <pearu.peterson@gmail.com> | ||||
* | Merge pull request #15844 from dcaliste/type | Melissa Weber Mendonça | 2022-01-17 | 2 | -0/+22 |
|\ | |||||
| * | ENH: add inline definition of access rights for Fortran types | Damien Caliste | 2022-01-04 | 2 | -0/+22 |
| | | | | | | | | | | | | Allow to parse type definition with inline acess specifier, like: type, public :: foo end type foo | ||||
* | | BUG, DOC: Fixes SciPy docs build warnings | melissawm | 2022-01-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | The new f2py symbolic parser writes ternary expressions with spaces surrounding the colon operator, which causes the generated docstrings to be incorrectly parsed. Removing the spaces solves the issue. | ||||
* | | ENH: add support for operator() in crackfortran. | Damien Caliste | 2022-01-04 | 2 | -0/+69 |
|/ | | | | | | | | | | | | | | Some interface name may contains parenthesis when used with operator, like: interface operator(==) module procedure my_type_equals end interface operator(==) Make the end part properly detected, and store also the operator ('==' in that case) in the name. Also implement support to list the implemented by in any interface declaration. |