<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:37:35 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-1615] RFC: Consider basing ICS on rubin-env conda/python environment</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1615</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;The production ICS python environment is currently a conda 3.7 + handful-of-packages thing, as defined in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-306&quot; title=&quot;Define python environment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-306&quot;&gt;INSTRM-306&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The hxActor requires 3.8, because of how nice and reliable the new multiprocessing.shared_memory module was. I have been testing for months with 3.9, figuring that if we update we might as well catch up with the latest stable version.&lt;/p&gt;

&lt;p&gt;Rubin has switched to a conda-forge based environment named rubin-env. For the version of DRP that PFS has just switched to, that is rubin-env 3.0.0 (python 3.8). Their current environment is 4.0.0, which is python 3.10 (the current stable version).&lt;/p&gt;

&lt;p&gt;Both of those have current cython, astropy, fitsio, psycopg2, etc, and in general are up-to-date, very very much unlike the previous LSST environment.&lt;/p&gt;

&lt;p&gt;Promisingly, the hxActor and oneCmd are happily running under something like the following at JHU:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;mamba create -n rubin3_ics -c conda-forge rubin-env=3.0.0
conda activate rubin3_ics
mamba install -c conda-forge twisted ply dnspython astroplan
EUPS_PATH=$EUPS_PATH:/software/mhs/products
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;[ there will be a few more packages needed. pyqt, qt5reactor, fysom (still pip only, grr), etc. Plus Jupyter, etc. Does &lt;tt&gt;conda activate --stack&lt;/tt&gt; work?  ]&lt;/p&gt;

&lt;p&gt;So, we certainly could base ICS on the Rubin environment. Would that be a good idea? I don&apos;t quite know yet: I have been trampled while dancing with this particular elephant before. But I think we can and should look into it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22803">INSTRM-1615</key>
            <summary>RFC: Consider basing ICS on rubin-env conda/python environment</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="1" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 May 2022 20:01:38 +0000</created>
                <updated>Fri, 11 Nov 2022 14:24:34 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                <comments>
                            <comment id="30959" author="price" created="Wed, 1 Jun 2022 15:41:01 +0000"  >&lt;p&gt;The 2D pipeline has just upgraded the base LSST version and adopted their environment because it&apos;s convenient, not because I don&apos;t have lingering concerns. Foremost of those concerns is that &lt;tt&gt;rubin-env&lt;/tt&gt; leaves many packages un-pinned (compare the &lt;a href=&quot;https://github.com/conda-forge/rubinenv-feedstock/blob/main/recipe/conda_build_config.yaml&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;list of pins&lt;/a&gt; with the &lt;a href=&quot;https://github.com/conda-forge/rubinenv-feedstock/blob/main/recipe/meta.yaml&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;list of packages&lt;/a&gt;), which means that different installations can produce different results when using the same pipeline version.&lt;/p&gt;</comment>
                            <comment id="31209" author="cloomis" created="Thu, 4 Aug 2022 20:20:58 +0000"  >&lt;p&gt;For ICS, the python 3.10 &lt;tt&gt;rubin-env=4.1.0&lt;/tt&gt; environment seems to be basically fine. I have only tested a couple of actors, and have not restarted the run hub or the archiver, but do not expect trouble there either.&lt;/p&gt;

&lt;p&gt;To be specific:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;mamba create -n rubin4_ics -c conda-forge rubin-env=4.1.0
conda activate rubin4_ics
mamba install -c conda-forge twisted ply dnspython astroplan pyqt qt5reactor ipython pyserial
pip install fysom
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In rubin-env 4.1.0, at least, both numpy and &lt;del&gt;astropy&lt;/del&gt; are pinned. Those are the ones I worry about most.&lt;/p&gt;</comment>
                            <comment id="31785" author="cloomis" created="Fri, 11 Nov 2022 13:34:22 +0000"  >&lt;p&gt;I liked having &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-306&quot; title=&quot;Define python environment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-306&quot;&gt;INSTRM-306&lt;/a&gt; as a live reference of the accumulated requirements for condo-ics, and we should make one for rubin3-ics.  The above stanza is a start, and there have been a few more packages added.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="23107">INSTRM-1785</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="12116">INSTRM-306</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzstxb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>