-
Notifications
You must be signed in to change notification settings - Fork 370
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 setting of dlopenflags() to current Python standards (fixes #632) #634
Conversation
…3.6 compatibility problems.
@Silmathoron Could you test this with Python 3.6? I have only tested 3.5 and 2.7 on OSX, while Travis will test 2.7 under Linux. |
Hm, seems that at least Ubuntu 14.04 does not provide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good under 3.6 also 👍
@Silmathoron I just (about five minutes ago) pushed some fixes. Is your 3.6 approval with those fixes, or was that based on my push from about 15 hours ago? |
Yes, don't worry ;) |
Dear @Silmathoron and @heplesser, I have been working quite a bit on the PR and corresponding issue. Now, I'm a bit confused what is the actual problem been solved in there. I'll explain what did I try. In a clean Ubuntu 16.4.1LTS with python 2.7 and 3.5 I tried: Building nest with python3 flags (-Dwith-python=3) Building nest without python 3 flags (-Dwith-python=3) In my opinion It would be helpful to complement the issue with the information about: |
Hi @DimitriPlotnikov! Just to make sure everything is clear:
Thus, HEP's changes make sure that this problem is corrected:
|
You provided me the information which I more or less wanted to know. I'll conduct a test with And no, there is no copy&paste errors in my previous message. I just summarized my observations and tests which I done. |
Looks highly suspect to me, though... but ok, let us know ;) |
From: https://github.com/nest/nest-simulator/blob/master/INSTALL
Since there is no information regarding such options in the PR and issue I tried to reconstruct it from the docu. If I did it wrong, please, let me known. |
Sorry, I should have made it clearer: I just meant I think you used 3 when you wanted to use 2.
But as I said, I think it's a copy-paste error since you seem to understand the option without any problem ;) |
@DimitriPlotnikov Did your test with Python 3.6 go well? |
@heplesser |
Tested the PR in a Ubuntu 16.10 instance with following python version: |
Summary: NEST now works with Python 3.6. |
This solves Python 3.6 compatibility problems (#632) and removes code deprecated since Python 2.6.