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

Update lazy-object-proxy to 1.10.0 #773

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates lazy-object-proxy from 1.3.1 to 1.10.0.

Changelog

1.10.0

-------------------

* Added Python 3.12 wheels.
* Dropped support for Python 3.7.
* Applied some reformatting and lint fixes using ruff to the codebase (mostly more Python 2 leftover cleanups).

1.9.0

------------------

* Added support for matrix multiplication operator (`).
* Should have all the wheels now (including the manylinux ones).
* Bumped minimum version requirements for setuptools and setuptools-scm.
* Switched the default pure python fallback implementation to the "simple" one (when you ``from lazy_object_proxy import Proxy``
and the C extension is not available).
Previously the "slots" implementation was used but as it turns out it is slower on Python 3.

1.8.0

------------------

* Cleaned up use of cPickle. Contributed by Sandro Tosi in `62 <https://github.com/ionelmc/python-lazy-object-proxy/pull/62>`_.
* Cleaned up more dead Python 2 code.
* Added Python 3.11 wheels.
* Dropped support for Python 3.6.

1.7.1

------------------

* Removed most of the Python 2 support code and fixed ``python_requires`` to require at least Python 3.6.

Note that 1.7.0 has been yanked because it could not install on Python 2.7.
Installing lazy-object-proxy on Python 2.7 should automatically fall back to the 1.6.0 release now.

1.7.0

------------------

* Switched CI to GitHub Actions, this has a couple consequences:

* Support for Python 2.7 is dropped. You can still install it there but it's not tested anymore and
 Python 2 specific handling will be removed at some point.
* Linux wheels are now provided in `musllinux` and `manylinux2014` variants.

* Fixed ``__index__`` to fallback to ``int`` if the wrapped object doesn't have an ``__index__`` method.
This prevents situations where code using a proxy would otherwise likely just call ``int`` had the object
not have an ``__index__`` method.

1.6.0

------------------

* Added support for async special methods (``__aiter__``, ``__anext__``,
``__await__``, ``__aenter__``, ``__aexit__``).
These are used in the ``async for``, ``await` and ``async with`` statements.

Note that ``__await__`` returns a wrapper that tries to emulate the crazy
stuff going on in the ceval loop, so there will be a small performance overhead.
* Added the ``__resolved__`` property. You can use it to check if the factory has
been called.

1.5.2

------------------

* Added Python 3.9 wheels.
* Removed Python 2.7 Windows wheels
(not supported on newest image with Python 3.9).

1.5.1

------------------

* Added ARM64 wheels (manylinux2014).

1.5.0

------------------

* Added support for ``__fspath__``.
* Dropped support for Python 3.4.

1.4.3

------------------

* Added binary wheels for Python 3.8.
* Fixed license metadata.

1.4.2

------------------

* Included a ``pyproject.toml`` to allow users install the sdist with old python/setuptools, as the
setuptools-scm dep will be fetched by pip instead of setuptools.
Fixes `30 <https://github.com/ionelmc/python-lazy-object-proxy/issues/30>`_.

1.4.1

------------------

* Fixed wheels being built with ``-coverage`` cflags. No more issues about bogus ``cext.gcda`` files.
* Removed useless C file from wheels.
* Changed ``setup.py`` to use setuptools-scm.

1.4.0

------------------

* Fixed ``__mod__`` for the slots backend. Contributed by Ran Benita in
`28 <https://github.com/ionelmc/python-lazy-object-proxy/pull/28>`_.
* Dropped support for Python 2.6 and 3.3. Contributed by "hugovk" in
`24 <https://github.com/ionelmc/python-lazy-object-proxy/pull/24>`_.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant