I took out the last references to pex.logging, and sent it through the Jenkins build, which completed successfully for py2 and py3.
changes merged to daf_base
$ git push
Counting objects: 1, done.
Writing objects: 100% (1/1), 245 bytes | 0 bytes/s, done.
Total 1 (delta 0), reused 0 (delta 0)
To git@github.com:lsst/daf_base.git
a28b38a..3a3e718 master -> master
changes merged to ctrl_events
cd ctrl_events
bash-4.2$ git push
Counting objects: 1, done.
Writing objects: 100% (1/1), 245 bytes | 0 bytes/s, done.
Total 1 (delta 0), reused 0 (delta 0)
To git@github.com:lsst/ctrl_events.git
b6b4f2a..8e83922 master -> master
Updated code to Python 3 compatibility.
Did a "futurize -1 -w .", made additional fixes, and committed. Then did a "futurize -w .", which pointed out that I needed to update a example
program in examples/ that used the old pex.logging code. I updated that to use pex.log.
Made an additional fix daf_base. Previously doing this:
from lsst.daf.base import PropertySet
root = PropertySet()
root.set("blank", "")
worked. Under Python 3 this gave an error. Added an additional check in daf_base/tickets/
DM-7169for this. I'm unsure if there's a "more correct" way of checking for this condition.These changes have been committed and pushed to their respective ticket branches.