Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 7, 2022

Bumps pythonnet from 3.0.0.post1 to 3.0.1.

Release notes

Sourced from pythonnet's releases.

v3.0.1

What's Changed

Full Changelog: pythonnet/pythonnet@v3.0.0...v3.0.1

Changelog

Sourced from pythonnet's changelog.

3.0.1 - 2022-11-03

Added

  • Support for Python 3.11

Changed

  • Allow decoders to override conversion of types derived from primitive types

Fixed

  • Fixed objects leaking when Python attached event handlers to them even if they were later removed
  • Fixed PyInt conversion to BigInteger and System.String produced incorrect result for values between 128 and 255.
  • Fixed implementing a generic interface with a Python class

3.0.0 - 2022-09-29

Added

  • Ability to instantiate new .NET arrays using Array[T](https://github.com/pythonnet/pythonnet/blob/master/dim1, dim2, ...) syntax
  • Python operator method will call C# operator method for supported binary and unary operators (#1324[p1324]).
  • Add GetPythonThreadID and Interrupt methods in PythonEngine
  • Ability to implement delegates with ref and out parameters in Python, by returning the modified parameter values in a tuple. (#1355[i1355])
  • Ability to override .NET methods that have out or ref in Python by returning the modified parameter values in a tuple. (#1481[i1481])
  • PyType - a wrapper for Python type objects, that also permits creating new heap types from TypeSpec
  • Improved exception handling:
  • exceptions can now be converted with codecs
  • InnerException and __cause__ are propagated properly
  • __name__ and __signature__ to reflected .NET methods
  • .NET collection types now implement standard Python collection interfaces from collections.abc. See Mixins/collections.py.
  • you can cast objects to generic .NET interfaces without specifying generic arguments as long as there is no ambiguity.
  • .NET arrays implement Python buffer protocol
  • Python integer interoperability with System.Numerics.BigInteger
  • Python.NET will correctly resolve .NET methods, that accept PyList, PyInt, and other PyObject derived types when called from Python.
  • .NET classes, that have __call__ method are callable from Python
  • PyIterable type, that wraps any iterable object in Python
  • PythonEngine properties for supported Python versions: MinSupportedVersion, MaxSupportedVersion, and IsSupportedVersion
  • The runtime that is loaded on import clr can now be configured via environment variables

Changed

  • Drop support for Python 2, 3.4, 3.5, and 3.6
  • wchar_t size aka Runtime.UCS is now determined at runtime
  • clr.AddReference may now throw errors besides FileNotFoundException, that provide more details about the cause of the failure
  • clr.AddReference no longer adds ".dll" implicitly

... (truncated)

Commits
  • e28dd80 Release 3.0.1
  • cfe1585 Merge pull request #1998 from filmor/fix-derived-generic-interface
  • 5c1e02f fixed resolution of generic methods in Python implementations
  • cc364c3 Update changelog and add Python 3.11 to metadata
  • 6968d01 Merge pull request #1955 from filmor/python-3.11
  • 15e2e95 Set PYTHONHOME for tests
  • 461c9c7 Add tests for deriving a Python subclass from a generic interface
  • 096f50a Adjust code a bit and skip PythonHome tests for empty strings
  • cc97b8a Add an Action variant of TryUsingDll
  • e9283e3 Ensure that Python is initialized before probing properties
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pythonnet](https://github.com/pythonnet/pythonnet) from 3.0.0.post1 to 3.0.1.
- [Release notes](https://github.com/pythonnet/pythonnet/releases)
- [Changelog](https://github.com/pythonnet/pythonnet/blob/master/CHANGELOG.md)
- [Commits](pythonnet/pythonnet@v3.0.0-r1...v3.0.1)

---
updated-dependencies:
- dependency-name: pythonnet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python labels Nov 7, 2022
@DaveSkender DaveSkender changed the base branch from main to update-docs November 13, 2022 22:38
@DaveSkender DaveSkender changed the base branch from update-docs to main November 13, 2022 22:41
@DaveSkender DaveSkender enabled auto-merge (squash) November 13, 2022 22:42
@DaveSkender DaveSkender merged commit 9d0f18e into main Nov 13, 2022
@DaveSkender DaveSkender deleted the dependabot/pip/pythonnet-3.0.1 branch November 13, 2022 22:44
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants