Closed prjemian closed 4 years ago
Can't specify ophyd=1.4.0rc4
for conda install because it does not exist, but rc3 is available. Try that.
```
(bluesky) mintadmin@mint-vm:~/.../eclipse/apstools$ ./publish.sh
PACKAGE: apstools
RELEASE: 1.1.17rc3
Building for upload to PyPI
running sdist
running egg_info
writing apstools.egg-info/PKG-INFO
writing dependency_links to apstools.egg-info/dependency_links.txt
writing entry points to apstools.egg-info/entry_points.txt
writing requirements to apstools.egg-info/requires.txt
writing top-level names to apstools.egg-info/top_level.txt
reading manifest file 'apstools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'apstools.egg-info/SOURCES.txt'
running check
creating apstools-1.1.17rc3
creating apstools-1.1.17rc3/apstools
creating apstools-1.1.17rc3/apstools.egg-info
creating apstools-1.1.17rc3/apstools/synApps
copying files to apstools-1.1.17rc3...
copying CHANGES.rst -> apstools-1.1.17rc3
copying LICENSE.txt -> apstools-1.1.17rc3
copying MANIFEST.in -> apstools-1.1.17rc3
copying README.md -> apstools-1.1.17rc3
copying setup.cfg -> apstools-1.1.17rc3
copying setup.py -> apstools-1.1.17rc3
copying versioneer.py -> apstools-1.1.17rc3
copying apstools/__init__.py -> apstools-1.1.17rc3/apstools
copying apstools/_requirements.py -> apstools-1.1.17rc3/apstools
copying apstools/_version.py -> apstools-1.1.17rc3/apstools
copying apstools/callbacks.py -> apstools-1.1.17rc3/apstools
copying apstools/devices.py -> apstools-1.1.17rc3/apstools
copying apstools/examples.py -> apstools-1.1.17rc3/apstools
copying apstools/filewriters.py -> apstools-1.1.17rc3/apstools
copying apstools/plans.py -> apstools-1.1.17rc3/apstools
copying apstools/run_snapshot.py -> apstools-1.1.17rc3/apstools
copying apstools/run_snapshot_gui.py -> apstools-1.1.17rc3/apstools
copying apstools/signals.py -> apstools-1.1.17rc3/apstools
copying apstools/snapshot.py -> apstools-1.1.17rc3/apstools
copying apstools/suspenders.py -> apstools-1.1.17rc3/apstools
copying apstools/textreadonly.py -> apstools-1.1.17rc3/apstools
copying apstools/utils.py -> apstools-1.1.17rc3/apstools
copying apstools.egg-info/PKG-INFO -> apstools-1.1.17rc3/apstools.egg-info
copying apstools.egg-info/SOURCES.txt -> apstools-1.1.17rc3/apstools.egg-info
copying apstools.egg-info/dependency_links.txt -> apstools-1.1.17rc3/apstools.egg-info
copying apstools.egg-info/entry_points.txt -> apstools-1.1.17rc3/apstools.egg-info
copying apstools.egg-info/not-zip-safe -> apstools-1.1.17rc3/apstools.egg-info
copying apstools.egg-info/requires.txt -> apstools-1.1.17rc3/apstools.egg-info
copying apstools.egg-info/top_level.txt -> apstools-1.1.17rc3/apstools.egg-info
copying apstools/synApps/__init__.py -> apstools-1.1.17rc3/apstools/synApps
copying apstools/synApps/_common.py -> apstools-1.1.17rc3/apstools/synApps
copying apstools/synApps/asyn.py -> apstools-1.1.17rc3/apstools/synApps
copying apstools/synApps/busy.py -> apstools-1.1.17rc3/apstools/synApps
copying apstools/synApps/calcout.py -> apstools-1.1.17rc3/apstools/synApps
copying apstools/synApps/epid.py -> apstools-1.1.17rc3/apstools/synApps
copying apstools/synApps/save_data.py -> apstools-1.1.17rc3/apstools/synApps
copying apstools/synApps/sscan.py -> apstools-1.1.17rc3/apstools/synApps
copying apstools/synApps/swait.py -> apstools-1.1.17rc3/apstools/synApps
copying apstools/synApps/transform.py -> apstools-1.1.17rc3/apstools/synApps
Writing apstools-1.1.17rc3/setup.cfg
UPDATING apstools-1.1.17rc3/apstools/_version.py
set apstools-1.1.17rc3/apstools/_version.py to '1.1.17rc3'
Creating tar archive
removing 'apstools-1.1.17rc3' (and everything under it)
running bdist_wheel
running build
running build_py
UPDATING build/lib/apstools/_version.py
set build/lib/apstools/_version.py to '1.1.17rc3'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/__init__.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/_version.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/devices.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/examples.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/run_snapshot_gui.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/suspenders.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/utils.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/snapshot.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/signals.py -> build/bdist.linux-x86_64/wheel/apstools
creating build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/__init__.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/epid.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/busy.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/asyn.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/swait.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/sscan.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/save_data.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/transform.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/calcout.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/_common.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/plans.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/filewriters.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/textreadonly.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/run_snapshot.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/callbacks.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/_requirements.py -> build/bdist.linux-x86_64/wheel/apstools
running install_egg_info
Copying apstools.egg-info to build/bdist.linux-x86_64/wheel/apstools-1.1.17rc3-py3.7.egg-info
running install_scripts
adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/apstools-1.1.17rc3.dist-info/WHEEL
creating 'dist/apstools-1.1.17rc3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'apstools/__init__.py'
adding 'apstools/_requirements.py'
adding 'apstools/_version.py'
adding 'apstools/callbacks.py'
adding 'apstools/devices.py'
adding 'apstools/examples.py'
adding 'apstools/filewriters.py'
adding 'apstools/plans.py'
adding 'apstools/run_snapshot.py'
adding 'apstools/run_snapshot_gui.py'
adding 'apstools/signals.py'
adding 'apstools/snapshot.py'
adding 'apstools/suspenders.py'
adding 'apstools/textreadonly.py'
adding 'apstools/utils.py'
adding 'apstools/synApps/__init__.py'
adding 'apstools/synApps/_common.py'
adding 'apstools/synApps/asyn.py'
adding 'apstools/synApps/busy.py'
adding 'apstools/synApps/calcout.py'
adding 'apstools/synApps/epid.py'
adding 'apstools/synApps/save_data.py'
adding 'apstools/synApps/sscan.py'
adding 'apstools/synApps/swait.py'
adding 'apstools/synApps/transform.py'
adding 'apstools-1.1.17rc3.dist-info/LICENSE.txt'
adding 'apstools-1.1.17rc3.dist-info/METADATA'
adding 'apstools-1.1.17rc3.dist-info/WHEEL'
adding 'apstools-1.1.17rc3.dist-info/entry_points.txt'
adding 'apstools-1.1.17rc3.dist-info/top_level.txt'
adding 'apstools-1.1.17rc3.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Uploading distributions to https://upload.pypi.org/legacy/
Uploading apstools-1.1.17rc3-py3-none-any.whl
100%|██████████████████████████████████████████████████████████████████████████████████████████████████| 84.8k/84.8k [00:01<00:00, 48.6kB/s]
Uploading apstools-1.1.17rc3.tar.gz
100%|██████████████████████████████████████████████████████████████████████████████████████████████████| 87.2k/87.2k [00:01<00:00, 56.2kB/s]
Building for upload to conda
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
Copying /home/mintadmin/Documents/eclipse/apstools to /tmp/conda-bld/apstools_1580510273746/work/
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Attempting to finalize metadata for apstools
INFO:conda_build.metadata:Attempting to finalize metadata for apstools
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
BUILD START: ['apstools-1.1.17rc3-py_0.tar.bz2']
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /tmp/conda-bld/apstools_1580510273746/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
The following NEW packages will be INSTALLED:
_libgcc_mutex: 0.1-main
ca-certificates: 2020.1.1-0
certifi: 2019.11.28-py37_0
ld_impl_linux-64: 2.33.1-h53a641e_7
libedit: 3.1.20181209-hc058e9b_0
libffi: 3.2.1-hd88cf55_4
libgcc-ng: 9.1.0-hdf63c60_0
libstdcxx-ng: 9.1.0-hdf63c60_0
ncurses: 6.1-he6710b0_1
openssl: 1.1.1d-h7b6447c_3
pip: 20.0.2-py37_1
python: 3.7.6-h0371630_2
readline: 7.0-h7b6447c_5
setuptools: 45.1.0-py37_0
sqlite: 3.30.1-h7b6447c_0
tk: 8.6.8-hbc83047_0
wheel: 0.34.1-py37_0
xz: 5.2.4-h14c3975_4
zlib: 1.2.11-h7b6447c_3
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
source tree in: /tmp/conda-bld/apstools_1580510273746/work
export PREFIX=/tmp/conda-bld/apstools_1580510273746/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
export BUILD_PREFIX=/tmp/conda-bld/apstools_1580510273746/_build_env
export SRC_DIR=/tmp/conda-bld/apstools_1580510273746/work
Processing $SRC_DIR
Building wheels for collected packages: apstools
Building wheel for apstools (setup.py): started
Building wheel for apstools (setup.py): finished with status 'done'
Created wheel for apstools: filename=apstools-1.1.17rc3-py3-none-any.whl size=79924 sha256=3b4900b915c8eac86aec6426fcda7a4a591d8ba92edb3c61102123d50e231141
Stored in directory: /tmp/pip-ephem-wheel-cache-cw3dnfbb/wheels/b8/05/f3/2c82392761781cd62230a9e229a5f1f06c2e2af25e95c74ecb
Successfully built apstools
Installing collected packages: apstools
Successfully installed apstools-1.1.17rc3
Resource usage statistics from building apstools:
Process count: 3
CPU time: Sys=0:00:00.1, User=0:00:00.7
Memory: 62.2M
Disk usage: 6.1K
Time elapsed: 0:00:04.1
Packaging apstools
INFO:conda_build.build:Packaging apstools
INFO conda_build.build:build(1540): Packaging apstools
Packaging apstools-1.1.17rc3-py_0
INFO:conda_build.build:Packaging apstools-1.1.17rc3-py_0
INFO conda_build.build:bundle_conda(879): Packaging apstools-1.1.17rc3-py_0
number of files: 35
Fixing permissions
Packaged license file.
TEST START: /tmp/conda-bld/noarch/apstools-1.1.17rc3-py_0.tar.bz2
Adding in variants from /tmp/tmpctfh_ox1/info/recipe/conda_build_config.yaml
INFO:conda_build.variants:Adding in variants from /tmp/tmpctfh_ox1/info/recipe/conda_build_config.yaml
INFO conda_build.variants:_combine_spec_dictionaries(189): Adding in variants from /tmp/tmpctfh_ox1/info/recipe/conda_build_config.yaml
Renaming work directory, /tmp/conda-bld/apstools_1580510273746/work to /tmp/conda-bld/apstools_1580510273746/work_moved_apstools-1.1.17rc3-py_0_noarch
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /tmp/conda-bld/apstools_1580510273746/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place
The following NEW packages will be INSTALLED:
_libgcc_mutex: 0.1-main
apstools: 1.1.17rc3-py_0 local
asn1crypto: 1.3.0-py37_0
asteval: 0.9.16-pyh5ca1d4c_0 conda-forge
attrs: 19.3.0-py_0
backcall: 0.1.0-py37_0
blas: 1.0-mkl
bluesky: 1.5.5-py_0 conda-forge
boltons: 20.0.0-py_0 conda-forge
ca-certificates: 2020.1.1-0
certifi: 2019.11.28-py37_0
cffi: 1.13.2-py37h2e261b9_0
chardet: 3.0.4-py37_1003
cryptography: 2.8-py37h1ba5d50_0
cycler: 0.10.0-py37_0
cytoolz: 0.10.1-py37h7b6447c_0
databroker: 0.13.3-py_0 conda-forge
dbus: 1.13.12-h746ee38_0
decorator: 4.4.1-py_0
doct: 1.1.0-py_0 conda-forge
enum34: 1.1.6-py37_1002 conda-forge
event-model: 1.13.2-py_0 conda-forge
expat: 2.2.6-he6710b0_0
fontconfig: 2.13.0-h9420a91_0
freetype: 2.9.1-h8a8886c_1
glib: 2.63.1-h5a9c865_0
gst-plugins-base: 1.14.0-hbbd80ab_1
gstreamer: 1.14.0-hb453b48_1
h5py: 2.10.0-py37h7918eee_0
hdf5: 1.10.4-hb1b8bf9_0
historydict: 1.2.3-py_0 conda-forge
humanize: 0.5.1-py37_1
icu: 58.2-h9c2bf20_1
idna: 2.8-py37_0
imagecodecs-lite: 2019.12.3-py37h516909a_0 conda-forge
importlib_metadata: 1.4.0-py37_0
intel-openmp: 2019.4-243
ipython: 7.11.1-py37h39e3cac_0
ipython_genutils: 0.2.0-py37_0
jedi: 0.16.0-py37_0
jinja2: 2.10.3-py_0
jpeg: 9b-h024ee3a_2
jsonschema: 3.2.0-py37_0
kiwisolver: 1.1.0-py37he6710b0_0
ld_impl_linux-64: 2.33.1-h53a641e_7
libedit: 3.1.20181209-hc058e9b_0
libffi: 3.2.1-hd88cf55_4
libgcc-ng: 9.1.0-hdf63c60_0
libgfortran-ng: 7.3.0-hdf63c60_0
libpng: 1.6.37-hbc83047_0
libsodium: 1.0.16-h1bed415_0
libstdcxx-ng: 9.1.0-hdf63c60_0
libtiff: 4.1.0-h2733197_0
libuuid: 1.0.3-h1bed415_2
libxcb: 1.13-h1bed415_1
libxml2: 2.9.9-hea5a465_1
libxslt: 1.1.33-h7d1a2b0_0
lmfit: 1.0.0-py_0 conda-forge
lxml: 4.4.2-py37hefd8a0e_0
markupsafe: 1.1.1-py37h7b6447c_0
matplotlib: 3.1.2-py37_1
matplotlib-base: 3.1.2-py37hef1b27d_1
mkl: 2019.4-243
mkl-service: 2.3.0-py37he904b0f_0
mkl_fft: 1.0.15-py37ha843d7b_0
mkl_random: 1.1.0-py37hd6b4f25_0
mongoquery: 1.3.5-py_0 conda-forge
more-itertools: 8.0.2-py_0
ncurses: 6.1-he6710b0_1
networkx: 2.4-py_0
numpy: 1.18.1-py37h4f9e942_0
numpy-base: 1.18.1-py37hde5b4d6_1
olefile: 0.46-py37_0
openssl: 1.1.1d-h7b6447c_3
ophyd: 1.4.0rc3-py_0 lightsource2-tag
pandas: 1.0.0-py37h0573a6f_0
parso: 0.6.0-py_0
pathlib: 1.0.1-py37_1
pcre: 8.43-he6710b0_0
pexpect: 4.8.0-py37_0
pickleshare: 0.7.5-py37_0
pillow: 7.0.0-py37hb39fc2d_0
pims: 0.4.1-py_1 conda-forge
pip: 20.0.2-py37_1
prettytable: 0.7.2-py_3 conda-forge
prompt_toolkit: 3.0.3-py_0
ptyprocess: 0.6.0-py37_0
pycparser: 2.19-py37_0
pyepics: 3.4.0-py37_1 conda-forge
pygments: 2.5.2-py_0
pyopenssl: 19.1.0-py37_0
pyparsing: 2.4.6-py_0
pyqt: 5.9.2-py37h05f1152_2
pyresttable: 2020.0.2-py_0 aps-anl-tag
pyrsistent: 0.15.7-py37h7b6447c_0
pysocks: 1.7.1-py37_0
python: 3.7.6-h0371630_2
python-dateutil: 2.8.1-py_0
pytz: 2019.3-py_0
pyyaml: 5.2-py37h7b6447c_0
pyzmq: 18.1.0-py37he6710b0_0
qt: 5.9.7-h5867ecd_1
readline: 7.0-h7b6447c_5
requests: 2.22.0-py37_1
scipy: 1.3.2-py37h7c811a0_0
setuptools: 45.1.0-py37_0
sip: 4.19.8-py37hf484d3e_0
six: 1.14.0-py37_0
slicerator: 1.0.0-py_0 conda-forge
spec2nexus: 2021.1.7-h39e3cac_0 aps-anl-tag
sqlite: 3.30.1-h7b6447c_0
super_state_machine: 2.0.2-py37_1000 conda-forge
tifffile: 2019.7.26.2-py37_0 conda-forge
tk: 8.6.8-hbc83047_0
toolz: 0.10.0-py_0
tornado: 6.0.3-py37h7b6447c_0
tqdm: 4.42.0-py_0
traitlets: 4.3.3-py37_0
tzlocal: 2.0.0-py37_0
ujson: 1.35-py37h14c3975_0
uncertainties: 3.1.3-py_0 conda-forge
urllib3: 1.25.8-py37_0
wcwidth: 0.1.7-py37_0
wheel: 0.34.1-py37_0
xlrd: 1.2.0-py37_0
xz: 5.2.4-h14c3975_4
yaml: 0.1.7-had09818_2
zeromq: 4.3.1-he6710b0_3
zipp: 0.6.0-py_0
zlib: 1.2.11-h7b6447c_3
zstd: 1.3.7-h0b5b093_0
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
export PREFIX=/tmp/conda-bld/apstools_1580510273746/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place
export SRC_DIR=/tmp/conda-bld/apstools_1580510273746/test_tmp
Traceback (most recent call last):
File "/tmp/conda-bld/apstools_1580510273746/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/ctypes/__init__.py", line 97, in CFUNCTYPE
import: 'apstools'
import: 'apstools.synApps'
return _c_functype_cache[(restype, argtypes, flags)]
KeyError: (None, (
Missing some form of EPICS base? Has not been needed before. Add that to requirements.
Conda build still failing:
```
(bluesky) mintadmin@mint-vm:~/.../eclipse/apstools$ ./publish.sh
PACKAGE: apstools
RELEASE: 1.1.17rc4
Building for upload to PyPI
running sdist
running egg_info
writing apstools.egg-info/PKG-INFO
writing dependency_links to apstools.egg-info/dependency_links.txt
writing entry points to apstools.egg-info/entry_points.txt
writing requirements to apstools.egg-info/requires.txt
writing top-level names to apstools.egg-info/top_level.txt
reading manifest file 'apstools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'apstools.egg-info/SOURCES.txt'
running check
creating apstools-1.1.17rc4
creating apstools-1.1.17rc4/apstools
creating apstools-1.1.17rc4/apstools.egg-info
creating apstools-1.1.17rc4/apstools/synApps
copying files to apstools-1.1.17rc4...
copying CHANGES.rst -> apstools-1.1.17rc4
copying LICENSE.txt -> apstools-1.1.17rc4
copying MANIFEST.in -> apstools-1.1.17rc4
copying README.md -> apstools-1.1.17rc4
copying setup.cfg -> apstools-1.1.17rc4
copying setup.py -> apstools-1.1.17rc4
copying versioneer.py -> apstools-1.1.17rc4
copying apstools/__init__.py -> apstools-1.1.17rc4/apstools
copying apstools/_requirements.py -> apstools-1.1.17rc4/apstools
copying apstools/_version.py -> apstools-1.1.17rc4/apstools
copying apstools/callbacks.py -> apstools-1.1.17rc4/apstools
copying apstools/devices.py -> apstools-1.1.17rc4/apstools
copying apstools/examples.py -> apstools-1.1.17rc4/apstools
copying apstools/filewriters.py -> apstools-1.1.17rc4/apstools
copying apstools/plans.py -> apstools-1.1.17rc4/apstools
copying apstools/run_snapshot.py -> apstools-1.1.17rc4/apstools
copying apstools/run_snapshot_gui.py -> apstools-1.1.17rc4/apstools
copying apstools/signals.py -> apstools-1.1.17rc4/apstools
copying apstools/snapshot.py -> apstools-1.1.17rc4/apstools
copying apstools/suspenders.py -> apstools-1.1.17rc4/apstools
copying apstools/textreadonly.py -> apstools-1.1.17rc4/apstools
copying apstools/utils.py -> apstools-1.1.17rc4/apstools
copying apstools.egg-info/PKG-INFO -> apstools-1.1.17rc4/apstools.egg-info
copying apstools.egg-info/SOURCES.txt -> apstools-1.1.17rc4/apstools.egg-info
copying apstools.egg-info/dependency_links.txt -> apstools-1.1.17rc4/apstools.egg-info
copying apstools.egg-info/entry_points.txt -> apstools-1.1.17rc4/apstools.egg-info
copying apstools.egg-info/not-zip-safe -> apstools-1.1.17rc4/apstools.egg-info
copying apstools.egg-info/requires.txt -> apstools-1.1.17rc4/apstools.egg-info
copying apstools.egg-info/top_level.txt -> apstools-1.1.17rc4/apstools.egg-info
copying apstools/synApps/__init__.py -> apstools-1.1.17rc4/apstools/synApps
copying apstools/synApps/_common.py -> apstools-1.1.17rc4/apstools/synApps
copying apstools/synApps/asyn.py -> apstools-1.1.17rc4/apstools/synApps
copying apstools/synApps/busy.py -> apstools-1.1.17rc4/apstools/synApps
copying apstools/synApps/calcout.py -> apstools-1.1.17rc4/apstools/synApps
copying apstools/synApps/epid.py -> apstools-1.1.17rc4/apstools/synApps
copying apstools/synApps/save_data.py -> apstools-1.1.17rc4/apstools/synApps
copying apstools/synApps/sscan.py -> apstools-1.1.17rc4/apstools/synApps
copying apstools/synApps/swait.py -> apstools-1.1.17rc4/apstools/synApps
copying apstools/synApps/transform.py -> apstools-1.1.17rc4/apstools/synApps
Writing apstools-1.1.17rc4/setup.cfg
UPDATING apstools-1.1.17rc4/apstools/_version.py
set apstools-1.1.17rc4/apstools/_version.py to '1.1.17rc4'
Creating tar archive
removing 'apstools-1.1.17rc4' (and everything under it)
running bdist_wheel
running build
running build_py
UPDATING build/lib/apstools/_version.py
set build/lib/apstools/_version.py to '1.1.17rc4'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/__init__.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/_version.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/devices.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/examples.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/run_snapshot_gui.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/suspenders.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/utils.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/snapshot.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/signals.py -> build/bdist.linux-x86_64/wheel/apstools
creating build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/__init__.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/epid.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/busy.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/asyn.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/swait.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/sscan.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/save_data.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/transform.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/calcout.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/synApps/_common.py -> build/bdist.linux-x86_64/wheel/apstools/synApps
copying build/lib/apstools/plans.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/filewriters.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/textreadonly.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/run_snapshot.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/callbacks.py -> build/bdist.linux-x86_64/wheel/apstools
copying build/lib/apstools/_requirements.py -> build/bdist.linux-x86_64/wheel/apstools
running install_egg_info
Copying apstools.egg-info to build/bdist.linux-x86_64/wheel/apstools-1.1.17rc4-py3.7.egg-info
running install_scripts
adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/apstools-1.1.17rc4.dist-info/WHEEL
creating 'dist/apstools-1.1.17rc4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'apstools/__init__.py'
adding 'apstools/_requirements.py'
adding 'apstools/_version.py'
adding 'apstools/callbacks.py'
adding 'apstools/devices.py'
adding 'apstools/examples.py'
adding 'apstools/filewriters.py'
adding 'apstools/plans.py'
adding 'apstools/run_snapshot.py'
adding 'apstools/run_snapshot_gui.py'
adding 'apstools/signals.py'
adding 'apstools/snapshot.py'
adding 'apstools/suspenders.py'
adding 'apstools/textreadonly.py'
adding 'apstools/utils.py'
adding 'apstools/synApps/__init__.py'
adding 'apstools/synApps/_common.py'
adding 'apstools/synApps/asyn.py'
adding 'apstools/synApps/busy.py'
adding 'apstools/synApps/calcout.py'
adding 'apstools/synApps/epid.py'
adding 'apstools/synApps/save_data.py'
adding 'apstools/synApps/sscan.py'
adding 'apstools/synApps/swait.py'
adding 'apstools/synApps/transform.py'
adding 'apstools-1.1.17rc4.dist-info/LICENSE.txt'
adding 'apstools-1.1.17rc4.dist-info/METADATA'
adding 'apstools-1.1.17rc4.dist-info/WHEEL'
adding 'apstools-1.1.17rc4.dist-info/entry_points.txt'
adding 'apstools-1.1.17rc4.dist-info/top_level.txt'
adding 'apstools-1.1.17rc4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Uploading distributions to https://upload.pypi.org/legacy/
Uploading apstools-1.1.17rc4-py3-none-any.whl
100%|██████████████████████████████████████████████████████████████████████████████████████████████████| 85.0k/85.0k [00:01<00:00, 54.6kB/s]
Uploading apstools-1.1.17rc4.tar.gz
100%|██████████████████████████████████████████████████████████████████████████████████████████████████| 87.3k/87.3k [00:01<00:00, 51.9kB/s]
Building for upload to conda
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
Copying /home/mintadmin/Documents/eclipse/apstools to /tmp/conda-bld/apstools_1580511505317/work/
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Attempting to finalize metadata for apstools
INFO:conda_build.metadata:Attempting to finalize metadata for apstools
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
BUILD START: ['apstools-1.1.17rc4-py_0.tar.bz2']
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /tmp/conda-bld/apstools_1580511505317/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
The following NEW packages will be INSTALLED:
_libgcc_mutex: 0.1-main
ca-certificates: 2020.1.1-0
certifi: 2019.11.28-py37_0
ld_impl_linux-64: 2.33.1-h53a641e_7
libedit: 3.1.20181209-hc058e9b_0
libffi: 3.2.1-hd88cf55_4
libgcc-ng: 9.1.0-hdf63c60_0
libstdcxx-ng: 9.1.0-hdf63c60_0
ncurses: 6.1-he6710b0_1
openssl: 1.1.1d-h7b6447c_3
pip: 20.0.2-py37_1
python: 3.7.6-h0371630_2
readline: 7.0-h7b6447c_5
setuptools: 45.1.0-py37_0
sqlite: 3.30.1-h7b6447c_0
tk: 8.6.8-hbc83047_0
wheel: 0.34.1-py37_0
xz: 5.2.4-h14c3975_4
zlib: 1.2.11-h7b6447c_3
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
source tree in: /tmp/conda-bld/apstools_1580511505317/work
export PREFIX=/tmp/conda-bld/apstools_1580511505317/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
export BUILD_PREFIX=/tmp/conda-bld/apstools_1580511505317/_build_env
export SRC_DIR=/tmp/conda-bld/apstools_1580511505317/work
Processing $SRC_DIR
Building wheels for collected packages: apstools
Building wheel for apstools (setup.py): started
Building wheel for apstools (setup.py): finished with status 'done'
Created wheel for apstools: filename=apstools-1.1.17rc4-py3-none-any.whl size=79931 sha256=6fe566cfc28747aa4b7f573dc6fdcd241272714a8691f0752a298ee7db287168
Stored in directory: /tmp/pip-ephem-wheel-cache-u14p1ow5/wheels/ef/93/c0/8e7531f35cdb7ab0d392d4257ff8b446aeb0be9a74ef68dcde
Successfully built apstools
Installing collected packages: apstools
Successfully installed apstools-1.1.17rc4
Resource usage statistics from building apstools:
Process count: 3
CPU time: Sys=0:00:00.1, User=0:00:00.5
Memory: 50.7M
Disk usage: 6.3K
Time elapsed: 0:00:04.1
Packaging apstools
INFO:conda_build.build:Packaging apstools
INFO conda_build.build:build(1540): Packaging apstools
Packaging apstools-1.1.17rc4-py_0
INFO:conda_build.build:Packaging apstools-1.1.17rc4-py_0
INFO conda_build.build:bundle_conda(879): Packaging apstools-1.1.17rc4-py_0
number of files: 35
Fixing permissions
Packaged license file.
TEST START: /tmp/conda-bld/noarch/apstools-1.1.17rc4-py_0.tar.bz2
Adding in variants from /tmp/tmpgk2vlbfn/info/recipe/conda_build_config.yaml
INFO:conda_build.variants:Adding in variants from /tmp/tmpgk2vlbfn/info/recipe/conda_build_config.yaml
INFO conda_build.variants:_combine_spec_dictionaries(189): Adding in variants from /tmp/tmpgk2vlbfn/info/recipe/conda_build_config.yaml
Renaming work directory, /tmp/conda-bld/apstools_1580511505317/work to /tmp/conda-bld/apstools_1580511505317/work_moved_apstools-1.1.17rc4-py_0_noarch
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /tmp/conda-bld/apstools_1580511505317/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place
The following NEW packages will be INSTALLED:
_libgcc_mutex: 0.1-main
apstools: 1.1.17rc4-py_0 local
asn1crypto: 1.3.0-py37_0
asteval: 0.9.16-pyh5ca1d4c_0 conda-forge
attrs: 19.3.0-py_0
backcall: 0.1.0-py37_0
blas: 1.0-mkl
bluesky: 1.5.5-py_0 conda-forge
boltons: 20.0.0-py_0 conda-forge
ca-certificates: 2020.1.1-0
certifi: 2019.11.28-py37_0
cffi: 1.13.2-py37h2e261b9_0
chardet: 3.0.4-py37_1003
cryptography: 2.8-py37h1ba5d50_0
cycler: 0.10.0-py37_0
cytoolz: 0.10.1-py37h7b6447c_0
databroker: 0.13.3-py_0 conda-forge
dbus: 1.13.12-h746ee38_0
decorator: 4.4.1-py_0
doct: 1.1.0-py_0 conda-forge
enum34: 1.1.6-py37_1002 conda-forge
epics-base: 3.15.6-he1b5a44_0 conda-forge
event-model: 1.13.2-py_0 conda-forge
expat: 2.2.6-he6710b0_0
fontconfig: 2.13.0-h9420a91_0
freetype: 2.9.1-h8a8886c_1
glib: 2.63.1-h5a9c865_0
gst-plugins-base: 1.14.0-hbbd80ab_1
gstreamer: 1.14.0-hb453b48_1
h5py: 2.10.0-py37h7918eee_0
hdf5: 1.10.4-hb1b8bf9_0
historydict: 1.2.3-py_0 conda-forge
humanize: 0.5.1-py37_1
icu: 58.2-h9c2bf20_1
idna: 2.8-py37_0
imagecodecs-lite: 2019.12.3-py37h516909a_0 conda-forge
importlib_metadata: 1.4.0-py37_0
intel-openmp: 2019.4-243
ipython: 7.11.1-py37h39e3cac_0
ipython_genutils: 0.2.0-py37_0
jedi: 0.16.0-py37_0
jinja2: 2.10.3-py_0
jpeg: 9b-h024ee3a_2
jsonschema: 3.2.0-py37_0
kiwisolver: 1.1.0-py37he6710b0_0
ld_impl_linux-64: 2.33.1-h53a641e_7
libedit: 3.1.20181209-hc058e9b_0
libffi: 3.2.1-hd88cf55_4
libgcc-ng: 9.1.0-hdf63c60_0
libgfortran-ng: 7.3.0-hdf63c60_0
libpng: 1.6.37-hbc83047_0
libsodium: 1.0.16-h1bed415_0
libstdcxx-ng: 9.1.0-hdf63c60_0
libtiff: 4.1.0-h2733197_0
libuuid: 1.0.3-h1bed415_2
libxcb: 1.13-h1bed415_1
libxml2: 2.9.9-hea5a465_1
libxslt: 1.1.33-h7d1a2b0_0
lmfit: 1.0.0-py_0 conda-forge
lxml: 4.4.2-py37hefd8a0e_0
markupsafe: 1.1.1-py37h7b6447c_0
matplotlib: 3.1.2-py37_1
matplotlib-base: 3.1.2-py37hef1b27d_1
mkl: 2019.4-243
mkl-service: 2.3.0-py37he904b0f_0
mkl_fft: 1.0.15-py37ha843d7b_0
mkl_random: 1.1.0-py37hd6b4f25_0
mongoquery: 1.3.5-py_0 conda-forge
more-itertools: 8.0.2-py_0
ncurses: 6.1-he6710b0_1
networkx: 2.4-py_0
numpy: 1.18.1-py37h4f9e942_0
numpy-base: 1.18.1-py37hde5b4d6_1
olefile: 0.46-py37_0
openssl: 1.1.1d-h7b6447c_3
ophyd: 1.4.0rc3-py_0 lightsource2-tag
pandas: 1.0.0-py37h0573a6f_0
parso: 0.6.0-py_0
pathlib: 1.0.1-py37_1
pcre: 8.43-he6710b0_0
pexpect: 4.8.0-py37_0
pickleshare: 0.7.5-py37_0
pillow: 7.0.0-py37hb39fc2d_0
pims: 0.4.1-py_1 conda-forge
pip: 20.0.2-py37_1
prettytable: 0.7.2-py_3 conda-forge
prompt_toolkit: 3.0.3-py_0
ptyprocess: 0.6.0-py37_0
pycparser: 2.19-py37_0
pyepics: 3.4.0-py37_1 conda-forge
pygments: 2.5.2-py_0
pyopenssl: 19.1.0-py37_0
pyparsing: 2.4.6-py_0
pyqt: 5.9.2-py37h05f1152_2
pyresttable: 2020.0.2-py_0 aps-anl-tag
pyrsistent: 0.15.7-py37h7b6447c_0
pysocks: 1.7.1-py37_0
python: 3.7.6-h0371630_2
python-dateutil: 2.8.1-py_0
pytz: 2019.3-py_0
pyyaml: 5.2-py37h7b6447c_0
pyzmq: 18.1.0-py37he6710b0_0
qt: 5.9.7-h5867ecd_1
readline: 7.0-h7b6447c_5
requests: 2.22.0-py37_1
scipy: 1.3.2-py37h7c811a0_0
setuptools: 45.1.0-py37_0
sip: 4.19.8-py37hf484d3e_0
six: 1.14.0-py37_0
slicerator: 1.0.0-py_0 conda-forge
spec2nexus: 2021.1.7-h39e3cac_0 aps-anl-tag
sqlite: 3.30.1-h7b6447c_0
super_state_machine: 2.0.2-py37_1000 conda-forge
tifffile: 2019.7.26.2-py37_0 conda-forge
tk: 8.6.8-hbc83047_0
toolz: 0.10.0-py_0
tornado: 6.0.3-py37h7b6447c_0
tqdm: 4.42.0-py_0
traitlets: 4.3.3-py37_0
tzlocal: 2.0.0-py37_0
ujson: 1.35-py37h14c3975_0
uncertainties: 3.1.3-py_0 conda-forge
urllib3: 1.25.8-py37_0
wcwidth: 0.1.7-py37_0
wheel: 0.34.1-py37_0
xlrd: 1.2.0-py37_0
xz: 5.2.4-h14c3975_4
yaml: 0.1.7-had09818_2
zeromq: 4.3.1-he6710b0_3
zipp: 0.6.0-py_0
zlib: 1.2.11-h7b6447c_3
zstd: 1.3.7-h0b5b093_0
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
export PREFIX=/tmp/conda-bld/apstools_1580511505317/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place
export SRC_DIR=/tmp/conda-bld/apstools_1580511505317/test_tmp
Traceback (most recent call last):
File "/tmp/conda-bld/apstools_1580511505317/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/ctypes/__init__.py", line 97, in CFUNCTYPE
import: 'apstools'
import: 'apstools.synApps'
return _c_functype_cache[(restype, argtypes, flags)]
KeyError: (None, (
Not releasing today.
Requirement of epics-base is a setback:
(/share1/bluesky/conda_envs/bluesky_2020_1) usaxs@usaxscontrol ~/.../profile_bluesky/startup $ pip install apstools==1.1.17rc5
Collecting apstools==1.1.17rc5
Downloading apstools-1.1.17rc5-py3-none-any.whl (79 kB)
|████████████████████████████████| 79 kB 2.3 MB/s
Requirement already satisfied: event-model>=1.10 in /share1/bluesky/conda_envs/bluesky_2020_1/lib/python3.7/site-packages (from apstools==1.1.17rc5) (1.13.1)
Requirement already satisfied: jsonschema>3 in /share1/bluesky/conda_envs/bluesky_2020_1/lib/python3.7/site-packages (from apstools==1.1.17rc5) (3.2.0)
Requirement already satisfied: spec2nexus>=2021.1.2 in /share1/bluesky/conda_envs/bluesky_2020_1/lib/python3.7/site-packages (from apstools==1.1.17rc5) (2021.1.7)
Requirement already satisfied: databroker[all] in /share1/bluesky/conda_envs/bluesky_2020_1/lib/python3.7/site-packages (from apstools==1.1.17rc5) (0.13.3)
Requirement already satisfied: pyRestTable in /share1/bluesky/conda_envs/bluesky_2020_1/lib/python3.7/site-packages/pyRestTable-2020.0.2-py3.7.egg (from apstools==1.1.17rc5) (2020.0.2)
Requirement already satisfied: attrs>=17.4.0 in /share1/bluesky/conda_envs/bluesky_2020_1/lib/python3.7/site-packages (from apstools==1.1.17rc5) (19.3.0)
Requirement already satisfied: bluesky in /share1/bluesky/conda_envs/bluesky_2020_1/lib/python3.7/site-packages (from apstools==1.1.17rc5) (1.5.5)
ERROR: Could not find a version that satisfies the requirement epics-base (from apstools==1.1.17rc5) (from versions: none)
ERROR: No matching distribution found for epics-base (from apstools==1.1.17rc5)
see:
settling now on pip install apstools==1.1.17rc6
for USAXS
Missing some form of EPICS base? Has not been needed before. Add that to requirements.
See #281
Noe that in the build referenced by #281, ophyd version of 1.4.0rc3 is used
ophyd: 1.4.0rc3-py_0 lightsource2-tag
Also, change channel lightsource2-tag to nsls2forge.
(bluesky_2020_1) mintadmin@mint-vm:~/.../eclipse/apstools$ git grep lightsource2
rtd-build-method.rst: conda install -c lightsource2-tag bluesky ophyd
Does that channel come from the build environment?
(bluesky_2020_1) mintadmin@mint-vm:~/.../eclipse/apstools$ conda info | grep lightsource
https://conda.anaconda.org/lightsource2-tag/linux-64
https://conda.anaconda.org/lightsource2-tag/noarch
https://conda.anaconda.org/lightsource2-dev/linux-64
https://conda.anaconda.org/lightsource2-dev/noarch
Installing a newer epics-base package in the base environment, did not keep the conda build from failing. This is the epics-base installed during the build:
epics-base: 3.15.6-he1b5a44_0 conda-forge
despite these installed in the build environment:
(bluesky) mintadmin@mint-vm:~/.../eclipse/apstools$ conda list epics
# packages in environment at /home/mintadmin/Apps/anaconda/envs/bluesky:
#
# Name Version Build Channel
epics-base 7.0.3.1 pl526_1 apsu
pyepics 3.4.0 py37_1 conda-forge
Add channel apsu to default channels, before conda-forge and nsls2forge
failed.
first, try using the package locally, pyepics and epics-base/apsu have troubles about libreadline
~/Apps/anaconda/envs/bluesky/lib/python3.7/site-packages/epics/ca.py in initialize_libca()
325 libca = load_dll(find_libca())
326 except Exception as exc:
--> 327 raise ChannelAccessException('loading Epics CA DLL failed: ' + str(exc))
328
329 ca_context = {False:0, True:1}[PREEMPTIVE_CALLBACK]
ChannelAccessException: loading Epics CA DLL failed: libreadline.so.6: cannot open shared object file: No such file or directory
In [4]: exit
(bluesky) mintadmin@mint-vm:~/.../eclipse/apstools$ conda list epics
# packages in environment at /home/mintadmin/Apps/anaconda/envs/bluesky:
#
# Name Version Build Channel
epics-base 7.0.3.1 pl526_1 apsu
pyepics 3.4.0 py37_1 conda-forge
(bluesky) mintadmin@mint-vm:~/.../eclipse/apstools$ conda list readline
# packages in environment at /home/mintadmin/Apps/anaconda/envs/bluesky:
#
# Name Version Build Channel
readline 7.0 h7b6447c_5
@sveseli - Can you rebuild the epics-base 7.0.n conda package for libreadline 7?
The epics-base package from LCLS-II works locally. Put its conda channel in the build environment. https://anaconda.org/lcls-ii/epics-base
failed
```
(bluesky) mintadmin@mint-vm:~/.../eclipse/apstools$ conda build ./conda-recipe/
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
Copying /home/mintadmin/Documents/eclipse/apstools to /tmp/conda-bld/apstools_1581292395728/work/
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Attempting to finalize metadata for apstools
INFO:conda_build.metadata:Attempting to finalize metadata for apstools
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
BUILD START: ['apstools-1.1.17rc6+1.ga1700f5-py_0.tar.bz2']
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /tmp/conda-bld/apstools_1581292395728/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
The following NEW packages will be INSTALLED:
_libgcc_mutex: 0.1-main
ca-certificates: 2020.1.1-0
certifi: 2019.11.28-py37_0
ld_impl_linux-64: 2.33.1-h53a641e_7
libedit: 3.1.20181209-hc058e9b_0
libffi: 3.2.1-hd88cf55_4
libgcc-ng: 9.1.0-hdf63c60_0
libstdcxx-ng: 9.1.0-hdf63c60_0
ncurses: 6.1-he6710b0_1
openssl: 1.1.1d-h7b6447c_3
pip: 20.0.2-py37_1
python: 3.7.6-h0371630_2
readline: 7.0-h7b6447c_5
setuptools: 45.1.0-py37_0
sqlite: 3.31.1-h7b6447c_0
tk: 8.6.8-hbc83047_0
wheel: 0.34.2-py37_0
xz: 5.2.4-h14c3975_4
zlib: 1.2.11-h7b6447c_3
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
source tree in: /tmp/conda-bld/apstools_1581292395728/work
export PREFIX=/tmp/conda-bld/apstools_1581292395728/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
export BUILD_PREFIX=/tmp/conda-bld/apstools_1581292395728/_build_env
export SRC_DIR=/tmp/conda-bld/apstools_1581292395728/work
Processing $SRC_DIR
Building wheels for collected packages: apstools
Building wheel for apstools (setup.py): started
Building wheel for apstools (setup.py): finished with status 'done'
Created wheel for apstools: filename=apstools-1.1.17rc6+1.ga1700f5-py3-none-any.whl size=80092 sha256=5a49168338c630aa4c3bd7c146a55e490a51b27f4682d5466e5e6513cd721d61
Stored in directory: /tmp/pip-ephem-wheel-cache-7380yx8d/wheels/1e/7e/9b/ac2e8b2906659631b8227f96a531f2f29da2a14286dc33f438
Successfully built apstools
Installing collected packages: apstools
Successfully installed apstools-1.1.17rc6+1.ga1700f5
Resource usage statistics from building apstools:
Process count: 2
CPU time: Sys=0:00:00.0, User=0:00:00.1
Memory: 17.8M
Disk usage: 7.0K
Time elapsed: 0:00:04.3
Packaging apstools
INFO:conda_build.build:Packaging apstools
INFO conda_build.build:build(1540): Packaging apstools
Packaging apstools-1.1.17rc6+1.ga1700f5-py_0
INFO:conda_build.build:Packaging apstools-1.1.17rc6+1.ga1700f5-py_0
INFO conda_build.build:bundle_conda(879): Packaging apstools-1.1.17rc6+1.ga1700f5-py_0
number of files: 35
Fixing permissions
Packaged license file.
Package verification results:
-----------------------------
/tmp/tmp_c9oionf/apstools-1.1.17rc6+1.ga1700f5-py_0.tar.bz2: C1105 Found invalid version number in info/index.json
TEST START: /tmp/conda-bld/noarch/apstools-1.1.17rc6+1.ga1700f5-py_0.tar.bz2
Adding in variants from /tmp/tmp85153gi1/info/recipe/conda_build_config.yaml
INFO:conda_build.variants:Adding in variants from /tmp/tmp85153gi1/info/recipe/conda_build_config.yaml
INFO conda_build.variants:_combine_spec_dictionaries(189): Adding in variants from /tmp/tmp85153gi1/info/recipe/conda_build_config.yaml
Renaming work directory, /tmp/conda-bld/apstools_1581292395728/work to /tmp/conda-bld/apstools_1581292395728/work_moved_apstools-1.1.17rc6+1.ga1700f5-py_0_noarch
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /tmp/conda-bld/apstools_1581292395728/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place
The following NEW packages will be INSTALLED:
_libgcc_mutex: 0.1-main
apstools: 1.1.17rc6+1.ga1700f5-py_0 local
asn1crypto: 1.3.0-py37_0
asteval: 0.9.16-pyh5ca1d4c_0 conda-forge
attrs: 19.3.0-py_0
backcall: 0.1.0-py37_0
blas: 1.0-mkl
bluesky: 1.5.5-py_0 conda-forge
boltons: 20.0.0-py_0 conda-forge
ca-certificates: 2020.1.1-0
certifi: 2019.11.28-py37_0
cffi: 1.13.2-py37h2e261b9_0
chardet: 3.0.4-py37_1003
cryptography: 2.8-py37h1ba5d50_0
cycler: 0.10.0-py37_0
cytoolz: 0.10.1-py37h7b6447c_0
databroker: 0.13.3-py_0 conda-forge
dbus: 1.13.12-h746ee38_0
decorator: 4.4.1-py_0
doct: 1.1.0-py_0 conda-forge
epics-base: 7.0.2.2-0 lcls-ii
event-model: 1.13.2-py_0 conda-forge
expat: 2.2.6-he6710b0_0
fontconfig: 2.13.0-h9420a91_0
freetype: 2.9.1-h8a8886c_1
glib: 2.63.1-h5a9c865_0
gst-plugins-base: 1.14.0-hbbd80ab_1
gstreamer: 1.14.0-hb453b48_1
h5py: 2.10.0-py37h7918eee_0
hdf5: 1.10.4-hb1b8bf9_0
historydict: 1.2.3-py_0 conda-forge
humanize: 0.5.1-py37_1
icu: 58.2-h9c2bf20_1
idna: 2.8-py37_0
importlib_metadata: 1.5.0-py37_0
inflect: 4.1.0-py37_0
intel-openmp: 2020.0-166
ipython: 7.12.0-py37h5ca1d4c_0
ipython_genutils: 0.2.0-py37_0
jaraco.itertools: 5.0.0-py_0
jedi: 0.16.0-py37_0
jinja2: 2.11.1-py_0
jpeg: 9b-h024ee3a_2
jsonschema: 3.2.0-py37_0
kiwisolver: 1.1.0-py37he6710b0_0
ld_impl_linux-64: 2.33.1-h53a641e_7
libedit: 3.1.20181209-hc058e9b_0
libffi: 3.2.1-hd88cf55_4
libgcc-ng: 9.1.0-hdf63c60_0
libgfortran-ng: 7.3.0-hdf63c60_0
libpng: 1.6.37-hbc83047_0
libsodium: 1.0.16-h1bed415_0
libstdcxx-ng: 9.1.0-hdf63c60_0
libtiff: 4.1.0-h2733197_0
libuuid: 1.0.3-h1bed415_2
libxcb: 1.13-h1bed415_1
libxml2: 2.9.9-hea5a465_1
libxslt: 1.1.33-h7d1a2b0_0
lmfit: 1.0.0-py_0 conda-forge
lxml: 4.5.0-py37hefd8a0e_0
markupsafe: 1.1.1-py37h7b6447c_0
matplotlib: 3.1.3-py37_0
matplotlib-base: 3.1.3-py37hef1b27d_0
mkl: 2020.0-166
mkl-service: 2.3.0-py37he904b0f_0
mkl_fft: 1.0.15-py37ha843d7b_0
mkl_random: 1.1.0-py37hd6b4f25_0
mongoquery: 1.3.5-py_0 conda-forge
more-itertools: 8.2.0-py_0
ncurses: 6.1-he6710b0_1
networkx: 2.4-py_0
numpy: 1.18.1-py37h4f9e942_0
numpy-base: 1.18.1-py37hde5b4d6_1
olefile: 0.46-py37_0
openssl: 1.1.1d-h7b6447c_3
ophyd: 1.4.0rc3-py_0 nsls2forge
pandas: 1.0.0-py37h0573a6f_0
parso: 0.6.0-py_0
pcre: 8.43-he6710b0_0
pexpect: 4.8.0-py37_0
pickleshare: 0.7.5-py37_0
pillow: 7.0.0-py37hb39fc2d_0
pims: 0.4.1-py_1 conda-forge
pip: 20.0.2-py37_1
prettytable: 0.7.2-py_3 conda-forge
prompt_toolkit: 3.0.3-py_0
ptyprocess: 0.6.0-py37_0
pycparser: 2.19-py37_0
pyepics: 3.4.0-py37_1 conda-forge
pygments: 2.5.2-py_0
pyopenssl: 19.1.0-py37_0
pyparsing: 2.4.6-py_0
pyqt: 5.9.2-py37h05f1152_2
pyresttable: 2020.0.2-py_0 aps-anl-tag
pyrsistent: 0.15.7-py37h7b6447c_0
pysocks: 1.7.1-py37_0
python: 3.7.6-h0371630_2
python-dateutil: 2.8.1-py_0
pytz: 2019.3-py_0
pyyaml: 5.3-py37h7b6447c_0
pyzmq: 18.1.1-py37he6710b0_0
qt: 5.9.7-h5867ecd_1
readline: 7.0-h7b6447c_5
requests: 2.22.0-py37_1
scipy: 1.4.1-py37h0b6359f_0
setuptools: 45.1.0-py37_0
sip: 4.19.8-py37hf484d3e_0
six: 1.14.0-py37_0
slicerator: 1.0.0-py_0 conda-forge
spec2nexus: 2021.1.7-h39e3cac_0 aps-anl-tag
sqlite: 3.31.1-h7b6447c_0
super_state_machine: 2.0.2-py37_1000 conda-forge
tifffile: 2019.7.26-py37hc1659b7_1 conda-forge
tk: 8.6.8-hbc83047_0
toolz: 0.10.0-py_0
tornado: 6.0.3-py37h7b6447c_1
tqdm: 4.42.0-py_0
traitlets: 4.3.3-py37_0
tzlocal: 2.0.0-py37_0
ujson: 1.35-py37h14c3975_0
uncertainties: 3.1.2-py37_0 conda-forge
urllib3: 1.25.8-py37_0
wcwidth: 0.1.8-py_0
wheel: 0.34.2-py37_0
xlrd: 1.2.0-py37_0
xz: 5.2.4-h14c3975_4
yaml: 0.1.7-had09818_2
zeromq: 4.3.1-he6710b0_3
zipp: 2.1.0-py_0
zlib: 1.2.11-h7b6447c_3
zstd: 1.3.7-h0b5b093_0
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
export PREFIX=/tmp/conda-bld/apstools_1581292395728/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place
export SRC_DIR=/tmp/conda-bld/apstools_1581292395728/test_tmp
import: 'apstools'
import: 'apstools.synApps'
Traceback (most recent call last):
File "/tmp/conda-bld/apstools_1581292395728/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/ctypes/__init__.py", line 97, in CFUNCTYPE
return _c_functype_cache[(restype, argtypes, flags)]
KeyError: (None, (
but local use works:
(bluesky) mintadmin@mint-vm:~/.../eclipse/apstools$ ipython
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import epics
In [2]: epics.caget("sky:m1")
Out[2]: 0.12564889807620153
In [3]: !conda list epics
# packages in environment at /home/mintadmin/Apps/anaconda/envs/bluesky:
#
# Name Version Build Channel
epics-base 7.0.2.2 0 lcls-ii
pyepics 3.4.0 py37_1 conda-forge
There's a problem with Python 3.7.6 and PyEpics 3.4.0. We've got that combination here. PyEpics has a newer release: 3.4.1.
The report to EPICS tech-talk describes our problem EXACTLY.
Work up a test environment for building this package and test for this bug with:
python -c "import epics; print(epics.caget('sky:m1.DESC'))"
should return
motor 1
start with:
#!/bin/bash
# create a conda environment to build apstools
export CONDA_ENVIRONMENT=apstools-build
conda create \
-n ${CONDA_ENVIRONMENT} \
python=3.7 \
epics-base \
"pyepics>=3.4.1"
complete shell script:
#!/bin/bash
# create a conda environment to build apstools
export CONDA_ENVIRONMENT=apstools-build
conda create \
-n ${CONDA_ENVIRONMENT} \
"attrs>=17.4.0" \
bluesky \
"databroker[all]" \
epics-base \
"event-model>=1.10" \
historydict \
"jsonschema>3" \
"ophyd>=1.4.0rc3" \
pandas \
"pyepics>=3.4.1" \
pyRestTable \
"python=3.7" \
"spec2nexus>=2021.1.2" \
xlrd
# to use this environment:
# conda activate ${CONDA_ENVIRONMENT}
# to remove this environment:
# conda env remove -n ${CONDA_ENVIRONMENT}
With that, revise the requirements.txt and meta.yaml files, including version restrictions.
conda build
succeeded! Make a new rc tag and try to publish.
success with the conda-build + publish
travis-ci:
Collecting epics-base (from -r requirements.txt (line 4))
Could not find a version that satisfies the requirement epics-base (from -r requirements.txt (line 4)) (from versions: )
No matching distribution found for epics-base (from -r requirements.txt (line 4))
now, travis-ci builds
test the conda-build
(again) to make sure we did not just break it
Success! Prepare for release 1.1.17.
Problem with the conda build process when specifying the ophyd version. We want newer ophyd than 1.3.3. Because of this, we cannot make a conda build, although the PyPI upload is working.