Skip to content

Official python 3.7 support #698

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

Merged
merged 25 commits into from
Oct 19, 2018
Merged

Official python 3.7 support #698

merged 25 commits into from
Oct 19, 2018

Conversation

den-run-ai
Copy link
Contributor

@den-run-ai den-run-ai commented Jul 5, 2018

What does this implement/fix? Explain your changes.

add py37 support

Does this close any currently open issues?

#609

Any other comments?

TODO:

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • Updated the CHANGELOG

@den-run-ai den-run-ai mentioned this pull request Jul 5, 2018
@filmor
Copy link
Member

filmor commented Jul 23, 2018

What's left to do here?

@codecov
Copy link

codecov bot commented Jul 23, 2018

Codecov Report

Merging #698 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #698      +/-   ##
==========================================
+ Coverage   77.12%   77.15%   +0.02%     
==========================================
  Files          62       63       +1     
  Lines        5688     5695       +7     
  Branches      903      904       +1     
==========================================
+ Hits         4387     4394       +7     
  Misses       1004     1004              
  Partials      297      297
Flag Coverage Δ
#setup_linux 69.42% <100%> (ø) ⬆️
#setup_windows 76.34% <100%> (+0.02%) ⬆️
Impacted Files Coverage Δ
src/runtime/interop37.cs 100% <100%> (ø)
setup.py 87.41% <100%> (ø) ⬆️

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 784190a...222874c. Read the comment docs.

@filmor filmor added this to the 2.4.0 milestone Jul 23, 2018
@den-run-ai
Copy link
Contributor Author

There was one error in Travis CI and I was waiting for python 3.7 in appveyor. Also few changed to VS .sln/.proj files required.

@den-run-ai
Copy link
Contributor Author

I'm traveling extensively and plan to be looking at this again end of next week.

@den-run-ai
Copy link
Contributor Author

also official python 3.7 support in travis ci now requires xenial, not trusty. Hence this may create some unexpected issues with Mono:

travis-ci/travis-ci#9815 (comment)

@stonebig
Copy link
Contributor

so which of appveyor/pr or appveyor/branch is the one to take ?

@den-run-ai
Copy link
Contributor Author

@stonebig both branches should be identical.

@den-run-ai
Copy link
Contributor Author

den-run-ai commented Aug 14, 2018

Upgrading from Python 3.7-dev to official Python 3.7 on Travis CI is throwing a new error:

/opt/python/3.7.0/include/python3.7m/pythread.h:122:5: error: "Require native
      threads. See https://bugs.python.org/issue31370"
#   error "Require native threads. See https://bugs.python.org/issue31370"

https://travis-ci.org/pythonnet/pythonnet/jobs/415741697#L1999

Plus something in the Mono toolchain broke over the last 6 days, which is causing msbuild issues:

dotnet/msbuild#3604

@stonebig
Copy link
Contributor

+1 on removing Python-3.4 support.

@den-run-ai
Copy link
Contributor Author

@stonebig py34 is supported until March 2019:

https://www.python.org/dev/peps/pep-0429/

@Gravityzwell
Copy link

@stonebig py34 is supported until March 2019:

Personally I find 3.7 support much more compelling, if it's a one or the other type of thing. Also, anyone can still use the older version pythonnet for 3.4. There are many such cases where older libs QT etc. are not compatible in different ways, which is one of the reasons for virtual envs.

@filmor
Copy link
Member

filmor commented Aug 22, 2018

I don't know where this py34 discussion is coming from, it's no either/or wrt py37 support.

@stonebig
Copy link
Contributor

stonebig commented Aug 22, 2018

@filmor I suggested droping py34 because it was the one failing at the time https://ci.appveyor.com/project/pythonnet/pythonnet/build/master-1271

@den-run-ai
Copy link
Contributor Author

den-run-ai commented Aug 22, 2018 via email

@den-run-ai
Copy link
Contributor Author

Ok, I'm really puzzled why travis ci is failing with mono/nuget/msbuild/xbuild toolchain. I just tried to reproduce the issue in Virtualbox with no luck:

https://gist.github.com/denfromufa/23557331aba2ad548eba2fbff84f2307

@den-run-ai
Copy link
Contributor Author

Ok, I'm going to try previous versions of nuget and msbuild, like suggested in stackoverflow:

nuget 4.6, msbuild 15
nuget 4.7, msbuild 14
nuget 4.6, msbuild 14

And maybe then previous version of Mono (hopefully not!)

@filmor
Copy link
Member

filmor commented Oct 16, 2018

@denfromufa Is there anything left to do here?

@den-run-ai
Copy link
Contributor Author

@filmor justing waiting for appveyor builds 🕐

@den-run-ai den-run-ai changed the title [WIP] Official python 3.7 support Official python 3.7 support Oct 18, 2018
@filmor filmor merged commit 08344b7 into master Oct 19, 2018
@filmor filmor deleted the py37 branch October 19, 2018 15:04
@stonebig
Copy link
Contributor

time for an official release ?

@filmor
Copy link
Member

filmor commented Oct 19, 2018

We're working on it, 6 merges in the last week, 7 PRs marked as 2.4.0 still to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants