Skip to content

REL: release 1.11.2 branch #280

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

Merged
merged 4 commits into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ jobs:

- name: Install python-build and twine
run: |
python -m pip install --upgrade pip setuptools
python -m pip install --upgrade pip "setuptools<=67"
python -m pip install build twine
python -m pip list

- name: Build a wheel and a sdist
run: |
PYTHONWARNINGS=error,default::DeprecationWarning python -m build .
#PYTHONWARNINGS=error,default::DeprecationWarning python -m build .
python -m build .

- name: Verify the distribution
run: twine check --strict dist/*
Expand Down
2 changes: 1 addition & 1 deletion array_api_compat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
this implementation for the default when working with NumPy arrays.

"""
__version__ = '1.12.dev0'
__version__ = '1.11.2'

from .common import * # noqa: F401, F403
17 changes: 17 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 1.11.2 (2025-03-20)

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

- fix the `result_type` wrapper for pytorch. Previously, `result_type` had multiple
issues with scalar arguments.
- fix several issues with `clip` wrappers. Previously, `clip` was failing to allow
behaviors which are unspecified by the 2024.12 standard but allowed by the array
libraries.

The following users contributed to this release:

Evgeni Burovski
Guido Imperiale
Magnus Dalen Kvalevåg


## 1.11.1 (2025-03-04)

This is a bugfix release with no new features compared to version 1.11.
Expand Down
3 changes: 3 additions & 0 deletions numpy-1-21-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,3 +212,6 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]

# numpy < 2 bug: type promotion of asarray([], 'float32') and (np.finfo(float32).max + 1) -> float64
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real
3 changes: 3 additions & 0 deletions numpy-1-26-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]

# numpy < 2 bug: type promotion of asarray([], 'float32') and (finfo(float32).max + 1) gives float64 not float32
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real
Loading