File tree Expand file tree Collapse file tree 4 files changed +30
-2
lines changed Expand file tree Collapse file tree 4 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 73
73
# c.f. https://docs.pypi.org/trusted-publishers/using-a-publisher/
74
74
permissions :
75
75
id-token : write
76
+ contents : write
76
77
# Restrict to the environment set for the trusted publisher
77
78
environment :
78
79
name : publish-package
98
99
repository-url : https://test.pypi.org/legacy/
99
100
print-hash : true
100
101
102
+ - name : Create GitHub Release from a Tag
103
+ uses : softprops/action-gh-release@v1
104
+ if : startsWith(github.ref, 'refs/tags/')
105
+ with :
106
+ files : dist/*
107
+
101
108
- name : Publish distribution 📦 to PyPI
102
- if : github.event_name == 'release ' && github.event.action == 'published'
109
+ if : github.event_name == 'push ' && startsWith( github.ref, 'refs/tags')
103
110
uses : pypa/gh-action-pypi-publish@v1.8.10
104
111
with :
105
112
print-hash : true
Original file line number Diff line number Diff line change
1
+ # 1.4 (2023-09-13)
2
+
3
+ ## Major Changes
4
+
5
+ - Releases are now made with GitHub Actions (thanks
6
+ [ @matthewfeickert ] ( https://github.com/matthewfeickert ) ).
7
+
8
+ ## Minor Changes
9
+
10
+ - Fix ` torch.result_type() ` cross-kind promotion
11
+ ([ @lucascolley ] ( https://github.com/lucascolley ) ).
12
+
13
+ - Fix the torch.take() wrapper to make axis optional for ndim = 1.
14
+
15
+ - Add requires-python metadata to the package
16
+ ([ @matthewfeickert ] ( https://github.com/matthewfeickert ) ).
17
+
1
18
# 1.3 (2023-06-20)
2
19
3
20
## Major Changes
Original file line number Diff line number Diff line change 17
17
this implementation for the default when working with NumPy arrays.
18
18
19
19
"""
20
- __version__ = '1.3 '
20
+ __version__ = '1.4 '
21
21
22
22
from .common import *
Original file line number Diff line number Diff line change 1
1
# asarray(copy=False) is not yet implemented
2
2
array_api_tests/test_creation_functions.py::test_asarray_arrays
3
3
4
+ # https://github.com/data-apis/array-api-tests/issues/195
5
+ array_api_tests/test_creation_functions.py::test_linspace
6
+
4
7
# finfo(float32).eps returns float32 but should return float
5
8
array_api_tests/test_data_type_functions.py::test_finfo[float32]
6
9
@@ -120,6 +123,7 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[_
120
123
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x1, x2)]
121
124
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__ifloordiv__(x, s)]
122
125
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[floor_divide(x1, x2)]
126
+ array_api_tests/test_operators_and_elementwise_functions.py::test_greater[__gt__(x1, x2)]
123
127
array_api_tests/test_operators_and_elementwise_functions.py::test_greater[greater(x1, x2)]
124
128
array_api_tests/test_operators_and_elementwise_functions.py::test_less[__lt__(x1, x2)]
125
129
array_api_tests/test_operators_and_elementwise_functions.py::test_less_equal[less_equal(x1, x2)]
You can’t perform that action at this time.
0 commit comments