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

Move NumPy extra's strategies which are not dependent on NumPy into a seperate helper module #3067

Merged
merged 24 commits into from
Aug 29, 2021
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f41f542
Seperate private shape and index strategies from NumPy extra
honno Aug 24, 2021
d437b05
Comment np.newaxis is None in BasicIndexStrategy
honno Aug 25, 2021
d3ce1cb
Carry over ellipsis comment into __array_helpers.py
honno Aug 25, 2021
3c3754f
All non-NumPy dependent array strategies in __array_helpers.py
honno Aug 25, 2021
70bbe83
Strategy factories in __array_helpers.py
honno Aug 26, 2021
eba9b1b
Hard limit array dimensions to 32
honno Aug 27, 2021
fa3dfed
More explicit import style for array helpers
honno Aug 27, 2021
18ae20c
Add RELEASE.rst
honno Aug 27, 2021
4b4ee5c
Have array helpers responsible for ufunc behaviour
honno Aug 27, 2021
eb34163
Explicitly import BroadcastableShapes and BasicIndex into namespace
honno Aug 27, 2021
9bd21b4
Update ghostwriter example for np.matmul
honno Aug 27, 2021
42e08c6
Define basic_indices inside NumPy extra
honno Aug 27, 2021
eadec23
More succint RELEASE.rst
honno Aug 28, 2021
5ca1aff
Removed redundant test case
honno Aug 28, 2021
8e7117a
Clarify public API, use of deepcopy
honno Aug 28, 2021
6758426
Specifically predicate np.newaxis (not None) in indices tests
honno Aug 28, 2021
d6d2b09
Clarified how axes and mutshape strategies are used with underscores
honno Aug 28, 2021
1151c09
Hard coded evaluated np.lib.function_base._SIGNATURE
honno Aug 28, 2021
1983257
Revert "Removed redundant test case"
honno Aug 28, 2021
3c082e2
Shape, BroadcastableShapes and BasicIndex specified as public API
honno Aug 28, 2021
3415fca
Unescaped evaluated np.lib.function_base._SIGNATURE
honno Aug 28, 2021
6bbccf4
Removed private objects Shape and BasicIndex from __all__
honno Aug 28, 2021
a246ac8
Test case to smoke wildcard import
honno Aug 28, 2021
068fbd6
Clarify error message
Zac-HD Aug 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions hypothesis-python/RELEASE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
RELEASE_TYPE: patch

This patch changes the internal structure of some strategies in the NumPy extra
which were not dependent on NumPy. They are moved to a separate private module
so that in the future Hypothesis can re-use these strategies for other purposes
(i.e. Array API support in :issue:`3065`).
honno marked this conversation as resolved.
Show resolved Hide resolved