Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Release candidate for Python.NET 3.0#1837

Jun 27, 2022· 6 comments· 19 replies
Discussion options

What's Changed

New Contributors

Full Changelog:v3.0.0-a2...v3.0.0-rc1


This discussion was created from the releaseRelease candidate for Python.NET 3.0.
You must be logged in to vote

Replies: 6 comments 19 replies

Comment options

filmor
Jun 27, 2022
Maintainer Author

@lostmsu Could you please upload the Nuget packages to nuget.org? My user (filmor) either lost access or never had it :)

You must be logged in to vote
7 replies
@lostmsu
Comment options

@filmor sent you another invite to NuGet pythonnet organization.

@filmor
Comment options

filmorJun 27, 2022
Maintainer Author

I'd suggest we just pause preview packages until 3.0 final is released. Every significant patch/code change on therelease branch is worth a new rc in my book. As soon as it's finalised, we merge back tomaster and bump the version to 3.1.0-dev.

@lostmsu
Comment options

@filmor I don't think it makes sense to pause monthly/weekly/daily previews. I'd rather have 3.0.1-rc2, 3.0.2-rc3 etc. E.g. since rc1 is cut we should bump the build up by 1 right now.

@filmor
Comment options

filmorJun 28, 2022
Maintainer Author

No, the RCs will be named 3.0.0-rc1..n.

@lostmsu
Comment options

@filmor is there a reason to not adopt the scheme with 3.0.1-rc2?

Seesemver/semver#200 (comment)

Comment options

Packages are also available onconda-forge

conda install -c conda-forge/label/pythonnet_rc -c conda-forge pythonnet
You must be logged in to vote
3 replies
@filmor
Comment options

filmorJun 27, 2022
Maintainer Author

Great, thanks!

@maxcapodi78
Comment options

@filmor why the 3.0.rc1 has been yanked from pypi? do you plan to release soon 3.0?

@filmor
Comment options

filmorJul 5, 2022
Maintainer Author

I yanked it because I accidentally left a debugraise in the code (check the release branch). It's fixed already and I will be back home tonight where I can create an rc2.

Comment options

filmor
Jul 6, 2022
Maintainer Author

There is a new release candidate available now:https://github.com/pythonnet/pythonnet/releases/tag/v3.0.0-rc2. It's already available from Nuget and Pypi. I encourage you all to test it as much as you can.

If we don't get any reports of blocking bugs or regressions, we will release 3.0 on2022-07-16. The time until then will be spent on updating documentation.

A small one up front: If you want to use .NET Core, that has been simplified a bit. You can either do

frompythonnetimportloadload("coreclr",runtime_config="location/of/your/runtimeconfig.json")importclr

or you can configure the same thing as environment variables:

PYTHONNET_RUNTIME=coreclrPYTHONNET_CORECLR_RUNTIME_CONFIG=location/of/your/runtimeconfig.json
You must be logged in to vote
1 reply
@maxcapodi78
Comment options

That's great. the new method works also very well. A suggestion for future linux version. I've found a package named dotnetcore2 on pypi.org that works well on linux. I've been able to use this as coreclr in linux (CentOS) and seems to work ok (I had to manually create a runtimeconfig.json because it is not in the dotnetcore2 folder but all dlls and dotnet executable are ok). Maybe you may think in the future to add it as requirement for Linux installation and automatically enable by default the coreclr and dotenetcore2 package and leave user the possibilty to customize it if they want.
This is how I made it working for RC2

from pythonnet import loados.path.dirname(__file__)runtime = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "dotnetcore2", "bin"))json_file = os.path.abspath(os.path.join(os.path.dirname(__file__), "misc", "myapp.runtimeconfig.json"))# rt = get_coreclr(json_file, runtime)# set_runtime(rt)load("coreclr", runtime_config=json_file, dotnet_root=runtime)
Comment options

filmor
Jul 11, 2022
Maintainer Author

I published the third (and hopefully last) release candidate just now:https://github.com/pythonnet/pythonnet/releases/tag/v3.0.0-rc3

This one should fix a few regressions regarding construction of primitive types. The plan is still to release on Saturday. The progress is tracked here:#1860

You must be logged in to vote
0 replies
Comment options

filmor
Jul 16, 2022
Maintainer Author

I published the fourth (and hopefully last ;)) release candidate just now:https://github.com/pythonnet/pythonnet/releases/tag/v3.0.0-rc4

This one (only) fixes a memory leak found by@m-rossi and fixed by@lostmsu (in PR#1873), see#1872.

You must be logged in to vote
7 replies
@maxcapodi78
Comment options

@filmor do you have any update?

@filmor
Comment options

filmorJul 27, 2022
Maintainer Author

It's a bit stuck. I have been working on some improvements to clr-loader and the docs are still not in. I'll try to get some work done until the weekend.

@emilaz
Comment options

Hey@filmor, thanks for putting so much work into this :)
I was wondering if you have any updates for us regarding the new release date?

@maxcapodi78
Comment options

Hey@filmor any update about the final ETA?

@filmor
Comment options

filmorSep 20, 2022
Maintainer Author

The only thing missing is finishing up the documentation. I hope to be able to do that by next week. Please test rc6 thoroughly.

Comment options

after update to RC6

we could not useget_coreclr() any more. but it works in rc 4

TypeErrorget_coreclr() takes 0 positional arguments but 1 was given  File "D:\lourney\__init__.py", line 29, in <module>    rt = get_coreclr(os.path.join(dllpath, configfile))
You must be logged in to vote
1 reply
@filmor
Comment options

filmorSep 22, 2022
Maintainer Author

The function parameters are all strict keyword arguments now, so this would need to beget_coreclr(runtime_config=...) now.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
6 participants
@filmor@lostmsu@heartacker@m-rossi@emilaz@maxcapodi78

[8]ページ先頭

©2009-2025 Movatter.jp