Skip to content

Python 3 #1114

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 63 commits into from
Jul 28, 2017
Merged

Python 3 #1114

merged 63 commits into from
Jul 28, 2017

Conversation

dham
Copy link
Member

@dham dham commented Jul 28, 2017

Transition Firedrake to Python 3 (only).

At the same time, move to venv instead of virtualenv, and clean up the cache directory locations.

Attempting to install this (or later) versions using Python 2 will result in an error message, as will attempting to upgrade an old installation to this or any later version.

dham and others added 23 commits July 26, 2017 17:58
execve(2) says:

    A maximum line length of 127 characters is allowed for the first
    line in an interpreter scripts.

Jenkins runs the test suite in a very deep directory hierarchy.
The installation of pip and pytest puts binaries in PATH with a
shebang line that is therefore longer than this limit.  As a result,
the interpreter fails to execute them.  To fix this, just run as
"python -m xxx ...", rather than "xxx ...".
Gusto and Thetis are not yet py3 compatible.
* unify_cache_dirs:
  Unified cache setup
@wence- wence- merged commit c5da773 into master Jul 28, 2017
wence- added a commit that referenced this pull request Jul 28, 2017
* python3: (62 commits)
  docs: Note that Python2 is required to build PETSc
  install: Correct success message for firedrake-update
  but not before mode is set
  Move version checks earlier
  Safer test for upgrade trap
  Also use the new cache locations in firedrake-clean
  Unified cache setup
  fix one more print statement
  Add better version-checking for upgrade path
  Remove singledispatch and six requirements
  install: Make libadjoint find the right python
  xfail app import tests for now
  Documentation fixes
  jenkins: Work around shebang line length limits
  Python 3 install instructions and webpage fixes
  install: Remove get-pip.py after use
  Desix all modules
  Add --honour-petsc-dir to firedrake-zenodo
  py3ise firedrake-zenodo
  Defuturize firedrake-clean/firedrake-status
  ...
@wence- wence- deleted the python3 branch July 28, 2017 13:49
This was referenced Jul 28, 2017
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.

3 participants