Skip to content
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

Python 3 #249

Merged
merged 109 commits into from May 27, 2016
Merged

Python 3 #249

merged 109 commits into from May 27, 2016

Conversation

renefritze
Copy link
Member

No description provided.

sdrave and others added 30 commits May 4, 2016 11:05
in py3 check_output defaults to opening stdout as a binary stream ->
returned string is binary data string
type(None) is mandated in pep294
MethodType in python 3 only accepts two arguments and the instance
cannot be None. I've reimplemented what I thought was the previous
code's intention. Please confirm/correct @sdrave
I got 'size' being NoneType instance, which failed the comparison. There
might be a underlying change in how the sqlite api behaves in py3, but
this change seems to make it work for now (tm).
This is no longer necessarily true when the size is a
np.int64.
More precisely a patched pyevtk available at
https://bitbucket.org/dmitryew/pyevtk
This seems to work with TriaGrid, but not RectGrid yet.
refs #128, #134
this'll only execute "not_slow" marked pytests
this marks demo tests xfail iff pyside's not available and PySideMissing
was raised
renefritze and others added 24 commits May 13, 2016 09:48
[build] change suggested pip command to install packeges one by one
this is still somewhat hacky, but I've no better idea atm.
@sdrave maybe?
This leaves a file called '3to2.conversion.ok' next to setup.py after
the conversion is complete.
Also removes duplicated code in 3to2.sh
This fixes a pip install into a clean virtualenv with older
setuptools versions. (Prepending 3to2 seems to ensure that
numpy is installed first, which is necessary for some unknown
reason.)
@sdrave
Copy link
Member

sdrave commented May 25, 2016

Ok, so I believe we have finally fixed all obvious issues with the python3 branch. If no one objects, I will merge to master on Friday. Any objections, @renemilk, @ftalbrecht, @andreasbuhr, @pmli?

@andreasbuhr
Copy link
Contributor

Great! :-)

@pmli
Copy link
Member

pmli commented May 25, 2016

No objections :)

@ftalbrecht
Copy link
Contributor

ftalbrecht commented May 26, 2016 via email

@sdrave sdrave merged commit 4c95dc0 into master May 27, 2016
@renefritze renefritze deleted the python3 branch July 18, 2016 09:00
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.

None yet

5 participants