← Winnitude! Search  ·  Reader Mode (2078 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 125 LINKS

Python 3.9 by filmor · Pull Request #1264 · pythonnet/pythonnet

Repository navigation

Python 3.9 - #1264


Merged
filmor merged 6 commits into master from python3.9 Nov 13, 2020
Merged

Python 3.9 #1264 filmor merged 6 commits into master from python3.9

Conversation

filmor commented Oct 14, 2020



Copy link Copy Markdown
Member

What does this implement/fix? Explain your changes.

Adds Python 3.9 to CI.

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

filmor commented Oct 14, 2020



Copy link Copy Markdown
Member

Author

We'll have to wait until 3.9 is available in both Travis and Appveyor.

filmor mentioned this pull request Oct 14, 2020 Status/plan of pythonnet for Python 3.9 support #1262 Closed

filmor commented Oct 14, 2020



Copy link Copy Markdown
Member

Author

Waiting for
[ ] appveyor/ci#3541
[ ] https://travis-ci.community/t/python-3-9-0-build/10091 (Discussion)

filmor force-pushed the python3.9 branch from 759f36f to d9c6bfb
Compare
October 29, 2020 11:51 Add Python 3.9 to CI 5c37f33 filmor force-pushed the python3.9 branch from d9c6bfb to 5c37f33
Compare
October 29, 2020 11:53

domdfcoding commented Nov 6, 2020



Copy link Copy Markdown

Python 3.9 is now available on Travis

Merge branch 'master' into python3.9 5d9e983 ecomodeller mentioned this pull request Nov 11, 2020 Support python 3.9 DHI/mikeio#123 Closed filmor added 3 commits November 11, 2020 20:19 Update AppVeyor image and always install all requirements 34348aa Add Python 3.9 interop file View comments on this commit fd4f9bc Fix geninterop script and regenerate interop39.cs 094bf2c
- Only record structs when they are defined, not when they are declared
- If a struct was only declared when a typedef was created, it won't
  contain its member declarations. Those have to be drawn from the
  recorded structs instead.
- Rename internal members of AstParser to make it easier to debug
filmor changed the title Add Python 3.9 to CI Python 3.9 Nov 13, 2020

filmor commented Nov 13, 2020



Copy link Copy Markdown
Member

Author

@lostmsu This is passing tests now, feel free to review. I'll backport this to 2.5.

codecov-io commented Nov 13, 2020 · edited Loading



Copy link Copy Markdown

Codecov Report

Merging #1264 (a1316a1 ) into master (36bdb98 ) will increase coverage by 0.34%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1264      +/-   ##
==========================================
+ Coverage   87.62%   87.97%   +0.34%     
==========================================
  Files           1        1              
  Lines         291      291              
==========================================
+ Hits          255      256       +1     
+ Misses         36       35       -1     
Flag Coverage Δ
setup_linux 65.29% <ø> (+0.34%) ⬆️
setup_windows 74.22% <ø> (+0.34%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
setup.py 87.97% <0.00%> (+0.34%) ⬆️

Continue to review full report at Codecov .

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov . Last update 36bdb98...a1316a1 . Read the comment docs .

lostmsu approved these changes Nov 13, 2020
View reviewed changes

lostmsu left a comment



Copy link Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more .

Looks good, but maybe removing underscore from most members of gen_interop is a bit destructive to file's blame.

I'd also squash.

filmor commented Nov 13, 2020



Copy link Copy Markdown
Member

Author

I'll clean things up a bit, but if I ever need to debug this again, I want the double-underscores already gone ;)

Merge branch 'master' into python3.9 a1316a1 filmor merged commit 6be3636 into master Nov 13, 2020 filmor added a commit that referenced this pull request Nov 13, 2020 Python 3.9 (#1264) 58504e4
* Add Python 3.9 to CI
* Update AppVeyor image and always install all requirements
* Add Python 3.9 interop file
* Fix geninterop script and regenerate interop39.cs
    - Only record structs when they are defined, not when they are declared
    - If a struct was only declared when a typedef was created, it won't
      contain its member declarations. Those have to be drawn from the
      recorded structs instead.
   - Rename internal members of AstParser to make it easier to debug
m-rossi mentioned this pull request Nov 14, 2020 Rebuild for python39 conda-forge/pythonnet-feedstock#6 Merged Nepitwin mentioned this pull request Jan 4, 2021 Python 3.9 Support GDATASoftwareAG/robotframework-flaui#6 Closed 6 tasks done filmor deleted the python3.9 branch January 23, 2021 11:30 samschott mentioned this pull request Feb 7, 2021 Windows support samschott/desktop-notifier#1 Closed

retheon commented Feb 25, 2021



Copy link Copy Markdown

Hi, it seems this branch is already merged to master but here here it says that pythonnet does not support python 3.9. Does this page have to be updated or there is still a step I'm missing before python 3.9 is supported?

filmor commented Feb 25, 2021



Copy link Copy Markdown
Member

Author

Things are complicated, check #1389 .

filmor referenced this pull request Jan 26, 2023 Specify supported Python version in project metadata View comments on this commit 0119f1c

codecov-commenter commented Dec 13, 2025



Copy link Copy Markdown

⚠️ Please install the to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.97%. Comparing base (36bdb98 ) to head (a1316a1 ).
⚠️ Report is 721 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1264      +/-   ##
==========================================
+ Coverage   87.62%   87.97%   +0.34%     
==========================================
  Files           1        1              
  Lines         291      291              
==========================================
+ Hits          255      256       +1     
+ Misses         36       35       -1     
Flag Coverage Δ
setup_linux 65.29% <ø> (+0.34%) ⬆️
setup_windows 74.22% <ø> (+0.34%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry .
📢 Have feedback on the report? Share it here .

🚀 New features to boost your workflow:
  • ❄️ Test Analytics : Detect flaky tests, report on failures, and find test suite problems.
Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

7 participants