Ticket #8018 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Update IPython and dependencies for the Mac

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: critical Milestone: Release 3.0
Component: GUI Keywords: IPython
Cc: Blocked By:
Blocking: #5939 Tester: Owen Arnold

Description

The required packages are: IPython (1.1), pygments, pyzmq & readline

Change History

comment:1 Changed 7 years ago by Russell Taylor

  • Status changed from new to inprogress

Re #8018. Ignore compiled python files.

Changeset: 0f0143f2797e132714cdeab4d7f616c5ca7b5b31

comment:2 Changed 7 years ago by Russell Taylor

Re #8018. Add pygments version 1.6 (required for IPython).

Changeset: e803987f8981adeb0ac421061ca9f10a5e3820d8

comment:3 Changed 7 years ago by Russell Taylor

Re #8018. Add readline (required for IPython).

Changeset: cccd7eab4246ac09681b3e58074a05048a7b2f6c

comment:4 Changed 7 years ago by Russell Taylor

Re #8018. Add pyzmq version 13.1.0 (required for IPython).

Changeset: 56bcee2b4d537f9f063ad256eb3dcf58a8d9c3bd

comment:5 Changed 7 years ago by Russell Taylor

Re #8018. Ignore compiled python files.

Changeset: 39d393dba18975dcf57c18d6a2c3ed7840a3e6fa

comment:6 Changed 7 years ago by Russell Taylor

Re #8018. Add pygments version 1.6 (required for IPython).

Changeset: fec95c2343ee4f213c34aec06beef765afb898d4

comment:7 Changed 7 years ago by Russell Taylor

Add readline 6.2.4.1 (needed for IPython). Re #8018.

Changeset: 78391f4a8c001944b5931cbda6f57b26e6d3fe4a

comment:8 Changed 7 years ago by Russell Taylor

Re #8018. Add pyzmq version 13.1.0 (required for IPython).

Changeset: 44d6a36c0256d19ce73a5f940c064c63a199f77f

comment:9 Changed 7 years ago by Russell Taylor

Re #8018. Copy Third_Party python packages.

This copies all the python packages in the Third_Party/lib/mac64/Python directory to the build (bin) directory and also into the Contents/MacOS directory in the installed kit. These locations are already in the python search path within MantidPlot.

Changeset: da91b967d9865e8f0c5b7bcd228cff58c88cc3bb

comment:10 Changed 7 years ago by Russell Taylor

Re #8018. Fix silly error.

Changeset: aa241b48d1163745934b4c1ab8aa238a329b8329

comment:11 Changed 7 years ago by Russell Taylor

Re #8018. Add init file to make directory importable as a module.

Changeset: d1074abfb6bca36d3e6a4f67866b5cb25a309deb

comment:12 Changed 7 years ago by Russell Taylor

Re #8018. Add init file to make directory importable as a module.

Changeset: 022a419f5ca1488f4f97821157fd4a4f9138b06f

comment:13 Changed 7 years ago by Russell Taylor

  • Keywords IPython added

comment:14 Changed 7 years ago by Russell Taylor

Re #8018. Add IPython version 1.1.0.

Changeset: e19c19c3beb57a6ddd2c5797c177697c186a0f84

comment:15 Changed 7 years ago by Russell Taylor

Re #8018. Add IPython version 1.1.0.

Changeset: 8386bef22ef45b57df944c77bce0eae414a5d1f4

comment:16 Changed 7 years ago by Russell Taylor

  • Status changed from inprogress to verify
  • Resolution set to fixed

Tester: This needs testing both for a local build and a downloaded (or built) binary package. There is a branch (feature/8018_mac_python_packages) in the main repo containing the changes required to copy the packages to the correct location, so the downloaded binary needs to be of a develop branch build. For the local build, make sure you've run fetch_Third_Party.sh before running CMake & building. If you're running Mountain Lion, please download and test the Snow Leopard package & vice-versa.

In all cases, the following commands need to work without error and produce the output shown:

>> import zmq
>> print zmq.__version__
13.1.0
>> import pygments
>> print pygments.__version__
1.6
>> import IPython
>> print IPython.__version__
1.1.0

comment:17 Changed 7 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:18 Changed 7 years ago by Owen Arnold

Downloaded 10.8 develop package is working as expected

comment:19 Changed 7 years ago by Owen Arnold

Downloaded 10.6 develop package is working as expected

comment:20 Changed 7 years ago by Owen Arnold

  • Status changed from verifying to reopened
  • Resolution fixed deleted

The installed version work fine, but I've just built it in debug and I'm getting a whole load of errors (see below). Also, I couldn't import pygments. I'm definitely using the correct ThirdParty repository branch, although the script which is supposed to select the correct branch doesn't check out the MountainLion one for me, I had to dod it manually.

Could not open library /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib: dlopen(/Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib, 10): Symbol not found: ZNK6Mantid8Geometry12ParameterMap12getRecursiveEPKNS0_10IComponentEPKc

Referenced from: /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib Expected in: /Users/spu92482/mantidbuild/bin/libMantidGeometry.dylib

in /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib

ParaView is available Could not open library /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib: dlopen(/Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib, 10): Symbol not found: ZNK6Mantid8Geometry12ParameterMap12getRecursiveEPKNS0_10IComponentEPKc

Referenced from: /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib Expected in: /Users/spu92482/mantidbuild/bin/libMantidGeometry.dylib

in /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib

Could not open library /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib: dlopen(/Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib, 10): Symbol not found: ZNK6Mantid8Geometry12ParameterMap12getRecursiveEPKNS0_10IComponentEPKc

Referenced from: /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib Expected in: /Users/spu92482/mantidbuild/bin/libMantidGeometry.dylib

in /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib

Could not open library /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib: dlopen(/Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib, 10): Symbol not found: ZNK6Mantid8Geometry12ParameterMap12getRecursiveEPKNS0_10IComponentEPKc

Referenced from: /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib Expected in: /Users/spu92482/mantidbuild/bin/libMantidGeometry.dylib

in /Users/spu92482/mantidbuild/binlibMantidQtImageViewer.dylib

comment:21 Changed 7 years ago by Russell Taylor

  • Status changed from reopened to verify
  • Resolution set to fixed

comment:22 Changed 7 years ago by Owen Arnold

  • Status changed from verify to verifying

comment:23 Changed 7 years ago by Owen Arnold

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/8018_mac_python_packages'

Full changeset: 79444c19144360629655125df142fc4256e2279e

comment:24 Changed 7 years ago by Owen Arnold

Ignore my message above. This is working fine in all test scenarios.

comment:25 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8863

Note: See TracTickets for help on using tickets.