Hi all,
I'm proud to finally release the first new major version of Python.NET in 7 years.
This is the culmination of over 2 years of work from many contributors to modernise the code base and support modern .NET and Python versions.
Highlights:
- Support for Python 3.9 and 3.10 - Support for .NET 6 - Codec system to control conversions between .NET and Python objects - Single assembly for all Python versions and operation systems (and thus also just a single wheel) - Significantly simplified the build system, only requires a modern .NET SDK to build the Python package
The new package is available from PyPI and Nuget, respectively. Updated documentation is available here:
https://pythonnet.github.io/pythonnet/
In particular, there is an updated Getting Started section that documents using .NET 6 (coreclr) from Python:
https://pythonnet.github.io/pythonnet/python.html#getting-started
While we tried to keep this release as backwards-compatible as possible, there are still some breaking changes. The changelog is available here:
https://github.com/pythonnet/pythonnet/blob/master/CHANGELOG.md#300---2022-0...
Best Regards Benedikt