Skip to content

Commit

Permalink
Merge branch 'release/1.17.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Jan 11, 2025
2 parents e663d49 + 0da4ba5 commit c41e6ea
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,20 +213,18 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
os: [ubuntu-20.04, windows-latest, macos-13, macos-14]
arch: [auto]
include:
- os: ubuntu-20.04
arch: aarch64
- os: macos-latest
arch: arm64
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
if: ${{ matrix.arch == 'aarch64' }}
uses: docker/setup-qemu-action@v2
- name: Build wheels
uses: pypa/cibuildwheel@v2.21.3
uses: pypa/cibuildwheel@v2.22.0
with:
output-dir: dist
env:
Expand Down
10 changes: 10 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Release Notes
=============

Version 1.17.1
--------------

**Bugs Fixed**

* Due to GitHub actions changes, binary wheels were missing for macOS Intel.

* Not implemented error for `__reduce__()` on `ObjectProxy` was incorrectly
displaying the error as being on `__reduce_ex__()`.

Version 1.17.0
--------------

Expand Down
2 changes: 1 addition & 1 deletion src/wrapt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version_info__ = ('1', '17', '0')
__version_info__ = ('1', '17', '1')
__version__ = '.'.join(__version_info__)

from .__wrapt__ import (ObjectProxy, CallableObjectProxy, FunctionWrapper,
Expand Down
2 changes: 1 addition & 1 deletion src/wrapt/_wrappers.c
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ static PyObject *WraptObjectProxy_reduce(
WraptObjectProxyObject *self, PyObject *args, PyObject *kwds)
{
PyErr_SetString(PyExc_NotImplementedError,
"object proxy must define __reduce_ex__()");
"object proxy must define __reduce__()");

return NULL;
}
Expand Down
2 changes: 1 addition & 1 deletion src/wrapt/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def __deepcopy__(self, memo):

def __reduce__(self):
raise NotImplementedError(
'object proxy must define __reduce_ex__()')
'object proxy must define __reduce__()')

def __reduce_ex__(self, protocol):
raise NotImplementedError(
Expand Down

0 comments on commit c41e6ea

Please sign in to comment.