APS-2BM-MIC / ipython-user2bmb

ipython configurations for the tomography instrument
2 stars 5 forks source link

update local bluesky & ophyd #56

Closed prjemian closed 5 years ago

prjemian commented 5 years ago

Update to newer versions of bluesky and ophyd. Present installation is:

prjemian commented 5 years ago

activity:

(base) user2bmb@tang ~/.../profile_2bmb/startup $ which conda
/home/beams/USER2BMB/Apps/BlueSky/bin/conda
(base) user2bmb@tang ~/.../profile_2bmb/startup $ conda update -c lightsource2-tag ophyd bluesky databroker hkl hklpy
Solving environment: done

## Package Plan ##

  environment location: /home/beams/USER2BMB/Apps/BlueSky

  added / updated specs: 
    - bluesky
    - databroker
    - hkl
    - hklpy
    - ophyd

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    hklpy-0.3.12               |           py36_2          36 KB  lightsource2-tag
    bluesky-1.4.1              |           py36_0         262 KB  lightsource2-tag
    hkl-5.0.0.2173             |           py36_5         902 KB  lightsource2-tag
    databroker-0.11.3          |           py36_0         188 KB  lightsource2-tag
    ophyd-1.3.0                |           py36_0         301 KB  lightsource2-tag
    ------------------------------------------------------------
                                           Total:         1.6 MB

The following packages will be UPDATED:

    bluesky:    1.3.3-py36_0      lightsource2-tag --> 1.4.1-py36_0      lightsource2-tag
    databroker: 0.11.1-py36_0     lightsource2-tag --> 0.11.3-py36_0     lightsource2-tag
    hkl:        5.0.0.2173-py36_3 lightsource2-tag --> 5.0.0.2173-py36_5 lightsource2-tag
    hklpy:      0.3.12-py36_0     lightsource2-tag --> 0.3.12-py36_2     lightsource2-tag
    ophyd:      1.2.0-py36_0      lightsource2-tag --> 1.3.0-py36_0      lightsource2-tag
prjemian commented 5 years ago

now:

(base) user2bmb@tang ~/.../profile_2bmb/startup $ use_bluesky.sh 2bmb
BlueSky executable path: /home/beams/USER2BMB/Apps/BlueSky/bin
Python 3.6.5 :: Anaconda, Inc.
conda 4.5.11
pip 18.1 from /home/beams/USER2BMB/Apps/BlueSky/lib/python3.6/site-packages/pip (python 3.6)
starting ipython with profile: 2bmb
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56) 
Type 'copyright', 'credits' or 'license' for more information
IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.

IPython profile: 2bmb
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/00-0-checks.py
BlueSky version: 1.4.1
Ophyd version: 1.3.0
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/00-startup.py
Loading metadata history from /home/beams/USER2BMB/.config/bluesky/bluesky_history.db
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/01-databroker.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/02-pyepics.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/10-imports.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/11-motors.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/15-custom-devices.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/18-suspenders.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/20-signals.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/25-PG3-grasshopper.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/30-busy_fly_scan.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/45-interruptions.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/50-plans.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/60-handler.py
/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/60-metadata.py
using profile: 2bmb
Metadata dictionary:
RE.md['APS_BlueSky_tools_VERSION'] = 0.0.34
RE.md['BLUESKY_VERSION'] = 1.4.1
RE.md['EPICS_APP'] = /net/s2dserv/xorApps/epics/synApps_5_6/ioc/2bmb
RE.md['EPICS_AR_PORT'] = 7002
RE.md['EPICS_CA_MAX_ARRAY_BYTES'] = 100000000
RE.md['EPICS_EXTENSIONS'] = /APSshare/epics/extensions
RE.md['EPICS_HOST_ARCH'] = linux-x86_64
RE.md['INSTRUMENT_IN_USE'] = 0
RE.md['OPHYD_VERSION'] = 1.3.0
RE.md['SESSION_STARTED'] = 2018-11-20 11:11:50.731991
RE.md['USER2BMB_ROOT_DIR'] = /local/user2bmb
RE.md['beamline_id'] = 2-BM tomography
RE.md['ipython_profile'] = 2bmb
RE.md['login_id'] = user2bmb@tang.xray.aps.anl.gov
RE.md['pid'] = 18737
RE.md['profile'] = 2bmb
RE.md['proposal_id'] = 62029
RE.md['scan_id'] = 183