Visitar URL original
Status/plan of pythonnet for Python 3.9 support · Issue #1262 · pythonnet/pythonnet · GitHub
Skip to content

Status/plan of pythonnet for Python 3.9 support #1262

Description

@m-rossi

What's the status/plan for support for Python 3.9? The migration of the conda-forge-recipes for Python 3.9 started recently and the pipelines for Python 3.9 failed: conda-forge/pythonnet-feedstock#6

Activity

  1. filmor commented on Oct 14, 2020

    @filmor
    Member

    Python 3.9 is not supported, yet. I have opened #1264 to see whether the tests pass, but neither Travis nor Appveyor has Python 3.9 available at this time. Once that is the case, we'll look into it for master. If the changes required are trivial, I'll backport them to the 2.5 branch.

  2. m-rossi commented on Oct 14, 2020

    @m-rossi
    ContributorAuthor

    Ok, thanks for the update!

  3. passariello commented on Oct 24, 2020

    @passariello
  4. xhevahir commented on Oct 29, 2020

    @xhevahir

    Travis and Appveyor have 3.9 now.

  5. m-rossi commented on Nov 14, 2020

    @m-rossi
    ContributorAuthor

    Looks like this can be closed. Looking forward for a new release of pythonnet with support for Python 3.9, thanks!

  6. vipulpatel2103 commented on May 11, 2021

    @vipulpatel2103

    Is pythonnet available for 3.9.x now? If yes, does it support 3.9.5?

  7. m-rossi commented on May 11, 2021

    @m-rossi
    ContributorAuthor

    Officially not, see #1389 for example.

  8. Sshankar7 commented on May 30, 2021

    @Sshankar7

    When can we expect an official release of pythonnet available for Python 3.9.0? None of the solutions provided is working on my Windows 10.

  9. vipulpatel2103 commented on Jun 1, 2021

    @vipulpatel2103

    Hi @Sshankar7, Please try 2.5.2.0. I tried along with Python 3.9.5 and it's working.

  10. matthew1davis commented on Nov 5, 2021

    @matthew1davis

    It's November 2021 and the pythonnet library still does not officially support 3.9 yet despite a commit in October that mentioned 3.10 compatibility... does this issue need to be reopened?

  11. dlc60 commented on Nov 24, 2021

    @dlc60

    It's November 2021 and the pythonnet library still does not officially support 3.9 yet despite a commit in October that mentioned 3.10 compatibility... does this issue need to be reopened?

    Not yet. A pip install still errors out on Python 3.9.6.

  12. Richard944 commented on Dec 9, 2021

    @Richard944

    This looks like it needs to be reopened because there is no 3.9 support on pypi.org.

    In an unsecure workaround people are using it by downloading a wheel file from an .edu site:
    https://stackoverflow.com/questions/67418533/how-to-fix-error-during-pythonnet-installation

  13. lostmsu commented on Dec 9, 2021

    @lostmsu
    Member

    There's now 3.0.0a1 package available with 3.9 support

  14. Richard944 commented on Dec 17, 2021

    @Richard944

    There's now 3.0.0a1 package available with 3.9 support

    Not really? Looking on pypi.org it's the same 2.5.2 from Feb 5, 2021 (https://pypi.org/project/pythonnet/). Is there some disconnect in how this package gets released?

  15. lostmsu commented on Dec 17, 2021

    @lostmsu
    Member

    @Richard944 https://pypi.org/project/pythonnet/#history

    BTW, @filmor , there's no alpha for 3.10. Do we have anything blocking it?

  16. m-rossi commented on Dec 17, 2021

    @m-rossi
    ContributorAuthor

    There's now 3.0.0a1 package available with 3.9 support

    Not really? Looking on pypi.org it's the same 2.5.2 from Feb 5, 2021 (https://pypi.org/project/pythonnet/). Is there some disconnect in how this package gets released?

    You can install pre releases with

    pip install --pre pythonnet

    See https://pip.pypa.io/en/stable/cli/pip_install/#pre-release-versions

  17. Richard944 commented on Dec 17, 2021

    @Richard944

    @Richard944 https://pypi.org/project/pythonnet/#history

    BTW, @filmor , there's no alpha for 3.10. Do we have anything blocking it?

    "PRE-RELEASE" Thanks!

  18. filmor commented on Dec 17, 2021

    @filmor
    Member

    @Richard944 https://pypi.org/project/pythonnet/#history

    BTW, @filmor , there's no alpha for 3.10. Do we have anything blocking it?

    No, this is just a mistake in the metadata. I'll fix it tomorrow.

  19. Richard944 commented on Jan 14, 2022

    @Richard944

    I'm finding that pythonnet 3.0.0a1 works and pythonnet 3.0.0a2 does not work. There must be some difference. I am running a 3.9.6 python virtual environment.

    With both versions I see the dll in site-packages\pythonnet\runtime.

    ...venv_amd64_3.9.6\lib\site-packages\pythonnet_init_.py:44: in load
    raise RuntimeError("Failed to initialize Python.Runtime.dll")
    E RuntimeError: Failed to initialize Python.Runtime.dll

    I'm ok using 3.0.0a1 but I wanted to share what I saw.

  20. m-rossi commented on Jan 15, 2022

    @m-rossi
    ContributorAuthor

    I'm finding that pythonnet 3.0.0a1 works and pythonnet 3.0.0a2 does not work. There must be some difference. I am running a 3.9.6 python virtual environment.

    With both versions I see the dll in site-packages\pythonnet\runtime.

    ...venv_amd64_3.9.6\lib\site-packages\pythonnet__init__.py:44: in load raise RuntimeError("Failed to initialize Python.Runtime.dll") E RuntimeError: Failed to initialize Python.Runtime.dll

    I'm ok using 3.0.0a1 but I wanted to share what I saw.

    @Richard944 I recommend opening a separate issue for this error.

  21. m-rossi commented on Jan 15, 2022

    @m-rossi
    ContributorAuthor

    The pre-release version can now also be installed via conda by executing

    conda install -c conda-forge/label/pythonnet_dev -c conda-forge pythonnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions