Skip to content

Commit a479293

Browse files
authored
Merge pull request #280 from ev-br/release_1.11.2
REL: release 1.11.2 branch
2 parents 18fbec4 + b1316cf commit a479293

File tree

5 files changed

+27
-3
lines changed

5 files changed

+27
-3
lines changed

.github/workflows/publish-package.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@ jobs:
4141

4242
- name: Install python-build and twine
4343
run: |
44-
python -m pip install --upgrade pip setuptools
44+
python -m pip install --upgrade pip "setuptools<=67"
4545
python -m pip install build twine
4646
python -m pip list
4747
4848
- name: Build a wheel and a sdist
4949
run: |
50-
PYTHONWARNINGS=error,default::DeprecationWarning python -m build .
50+
#PYTHONWARNINGS=error,default::DeprecationWarning python -m build .
51+
python -m build .
5152
5253
- name: Verify the distribution
5354
run: twine check --strict dist/*

array_api_compat/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
this implementation for the default when working with NumPy arrays.
1818
1919
"""
20-
__version__ = '1.12.dev0'
20+
__version__ = '1.11.2'
2121

2222
from .common import * # noqa: F401, F403

docs/changelog.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 1.11.2 (2025-03-20)
4+
5+
This is a bugfix release with no new features compared to version 1.11.
6+
7+
- fix the `result_type` wrapper for pytorch. Previously, `result_type` had multiple
8+
issues with scalar arguments.
9+
- fix several issues with `clip` wrappers. Previously, `clip` was failing to allow
10+
behaviors which are unspecified by the 2024.12 standard but allowed by the array
11+
libraries.
12+
13+
The following users contributed to this release:
14+
15+
Evgeni Burovski
16+
Guido Imperiale
17+
Magnus Dalen Kvalevåg
18+
19+
320
## 1.11.1 (2025-03-04)
421

522
This is a bugfix release with no new features compared to version 1.11.

numpy-1-21-xfails.txt

+3
Original file line numberDiff line numberDiff line change
@@ -212,3 +212,6 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity
212212
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
213213
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
214214
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
215+
216+
# numpy < 2 bug: type promotion of asarray([], 'float32') and (np.finfo(float32).max + 1) -> float64
217+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real

numpy-1-26-xfails.txt

+3
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,6 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity
6666
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
6767
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
6868
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
69+
70+
# numpy < 2 bug: type promotion of asarray([], 'float32') and (finfo(float32).max + 1) gives float64 not float32
71+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real

0 commit comments

Comments
 (0)