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 pythonnet requirement from ~=3.0.1 to ~=3.0.2 #312

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 29, 2023

Updates the requirements on pythonnet to permit the latest version.

Release notes

Sourced from pythonnet's releases.

v3.0.2

What's Changed

New Contributors

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

Changelog

Sourced from pythonnet's changelog.

3.0.2 - 2023-08-29

Fixed

  • Fixed error occuring when inheriting a class containing a virtual generic method
  • Make a second call to pythonnet.load a no-op, as it was intended
  • Added support for multiple inheritance when inheriting from a class and/or multiple interfaces
  • Fixed error occuring when calling GetBuffer for anything other than PyBUF.SIMPLE
  • Bumped clr_loader dependency to incorporate patches

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

... (truncated)

Commits
  • 6a4e04c Release 3.0.2
  • 639023a Bump clr_loader dependency
  • 3b6500f Add documentation dependency to fix empty docs
  • dddadbe Adjust docs for importing
  • a1cd73f Exclude .gitignore from binary distribution
  • 131b466 Fix GetBuffer throwing ArgumentOutOfRangeException (#2120)
  • a404d6e 1783 Implement Interface And Inherit Class (#2028)
  • c2fa467 Remove suggestions to use internal functions (#2092)
  • a041811 Ensure that load only runs once (#2079)
  • 4020a0c don't force setuptools upgrade during installation of requirements for testing
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [pythonnet](https://github.com/pythonnet/pythonnet) to permit the latest version.
- [Release notes](https://github.com/pythonnet/pythonnet/releases)
- [Changelog](https://github.com/pythonnet/pythonnet/blob/master/CHANGELOG.md)
- [Commits](pythonnet/pythonnet@v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: pythonnet
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 29, 2023
@mathoudebine mathoudebine merged commit 1613620 into main Sep 6, 2023
17 checks passed
@dependabot dependabot bot deleted the dependabot/pip/pythonnet-approx-eq-3.0.2 branch September 6, 2023 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant