aiozmq icon indicating copy to clipboard operation
aiozmq copied to clipboard

Prepare 1.0 release

Open JelleZijlstra opened this issue 3 years ago • 3 comments

I'm planning to cut a 1.0 release in the near-ish future that makes a few major changes:

  • Drop support for Python 3.5
  • Use modern asyncio APIs only: no @coroutine, no explicit loop= passing
  • Drop support for using type annotations as conversion functions in RPC calls (since it conflicts with using them as actual type annotations)

If you're using this library and this will cause problems for you, please let me know. I'm serving as the maintainer for this library because I use it in one of my projects, but I don't have time to do much more than making sure it keeps working with new Python versions. The 1.0 tag will be just in order to justify a backwards compatibility break (for the type annotations), not to signal any new features.

JelleZijlstra avatar Mar 06 '21 15:03 JelleZijlstra

Do you have any estimation on the release date of 1.0 atm? thx

PengyiPan avatar Sep 30 '21 05:09 PengyiPan

Not really, I haven't prioritized working on this because the current state of aiozmq isn't really causing me problems. I'd welcome PRs implementing the changes I listed above.

JelleZijlstra avatar Sep 30 '21 14:09 JelleZijlstra

In Python 3.11, @asyncio.coroutine does not exist anymore, leading to AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'? this makes this release necessary for Python 3.11 support.

Thanks for all the work you have done with this package.

kPsarakis avatar Sep 15 '22 08:09 kPsarakis

The test suite now passes under 3.10 and 3.11. There are still some deprecations but I think fixing those can wait.

That leaves removing the parameter conversion stuff, for which I opened #182. After that lands I will cut a release.

JelleZijlstra avatar Oct 31 '22 23:10 JelleZijlstra

I released https://pypi.org/project/aiozmq/1.0.0/

JelleZijlstra avatar Nov 03 '22 01:11 JelleZijlstra

Thanks a lot! Much appreciated

kPsarakis avatar Nov 03 '22 09:11 kPsarakis