Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array API extra #3065

Merged
merged 28 commits into from
Sep 11, 2021
Merged

Array API extra #3065

merged 28 commits into from
Sep 11, 2021

Commits on Sep 10, 2021

  1. Array API extra

    Merged narrow float and fill tests into test_arrays.py
    
    Clean-up & docstrings for some more array tests
    
    extlink "array-ref" now "xp-ref"
    
    Correct mypy issues with test suite
    
    Correct spelling mistakes (codespell)
    
    Canonicalise code with shed
    
    Added standard header to Python files
    
    Correct mypy issues with array_api extra
    
    Removes check_function
    
    Draw example to exec lazy strategy in dtype sizes-as-int test
    
    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    
    Clarified builtin-finding behaviour
    
    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    
    Cover more boundary behaviour in tests
    
    Clarify width's effect on floats() behaviour and link issue
    
    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    
    Refactor min/max checks in from_dtype()
    
    Appropiate min/max type check in from_dtype()
    
    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    
    Added RELEASE.rst and updated AUTHORS.rst
    
    Interface Array API extra with array helpers
    
    "get" -> "make" namespace method, make it exclusive public method
    
    Remove redundant axes and shapes tests (covered in tests/numpy)
    
    Use proxies for Array API's valid_tuple_axes
    
    Rudimentary solution for well-formed namespaced strategies
    
    Instability warning in docs
    
    Mocked array module in extra.array_api
    
    Use check_function where appropiate
    
    Type dtypes as custom TypeVar DataType as opposed to Type
    
    Array API dtypes may not be isinstance checkable to Type
    
    Docstrings and Array API compliance in test_arrays.py
    
    Skip tests when xp does not have optional attr
    
    Replace "array" with "x" in test_arrays.py
    
    Get array-api docs working
    
    Fix import order
    
    Skip large uint arrays minimizing test half-way thru
    
    Use unique sampled lists in arrays() when unique=True and no fill
    
    Use conventionally casing for array library names in docs
    honno committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    bcf53a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d83d89f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    516fddd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c84839f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    667c4bc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0f4a48d View commit details
    Browse the repository at this point in the history
  7. Rudimentary valid indexers (slow generation)

    Co-authored-by: Aaron Meurer <asmeurer@gmail.com>
    honno and asmeurer committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    ef55531 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f584cae View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c229f31 View commit details
    Browse the repository at this point in the history
  10. xarray -> Xarray in docs

    honno committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    6fca573 View commit details
    Browse the repository at this point in the history
  11. Compact indices effeciency test

    honno committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    9993004 View commit details
    Browse the repository at this point in the history
  12. Label valid indexer draws

    honno committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    c72374f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    06202ad View commit details
    Browse the repository at this point in the history
  14. Fix lint issue

    honno committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    19f71b2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    52ae7bc View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1d49cc7 View commit details
    Browse the repository at this point in the history
  17. Use appropiate Sphinx func links

    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    honno and Zac-HD committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    b81dad0 View commit details
    Browse the repository at this point in the history
  18. Internal testing/coverage for dtype methods

    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    honno and Zac-HD committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    cbcf09d View commit details
    Browse the repository at this point in the history
  19. Use assigntment expressions in error messages

    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    honno and Zac-HD committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    389cde2 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    d8ea29b View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    b6c2e42 View commit details
    Browse the repository at this point in the history
  22. Improved clarity in ellipsis indices test (NumPy and Array API)

    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    honno and Zac-HD committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    fba0fb2 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    72dd427 View commit details
    Browse the repository at this point in the history
  24. Dtype name lists are now tuples

    Co-authored-by: Ryan Soklaski <ry26099@mit.edu>
    honno and rsokl committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    520d018 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2021

  1. Refactor test code

    Zac-HD committed Sep 11, 2021
    Configuration menu
    Copy the full SHA
    e90e34d View commit details
    Browse the repository at this point in the history
  2. Link to xp.unique() issue

    Zac-HD committed Sep 11, 2021
    Configuration menu
    Copy the full SHA
    47ba696 View commit details
    Browse the repository at this point in the history
  3. Avoid type: ignore

    Zac-HD committed Sep 11, 2021
    Configuration menu
    Copy the full SHA
    bd9797b View commit details
    Browse the repository at this point in the history
  4. Set, not defaultdict

    Zac-HD committed Sep 11, 2021
    Configuration menu
    Copy the full SHA
    500fd15 View commit details
    Browse the repository at this point in the history