Esri/military-tools-geoprocessing-toolbox

arcgis api is uninstalled

guyn2gis opened this issue · 3 comments

Expected Behavior

Running conda install -c solutionsdev militarytools uninstalls arcgis: 1.4.0-py36ha4e63dc_1 esri

mfunk commented

I tested this on Pro 2.2 and MilitaryTools 3.0 in a cloned 'testenv' but i'm not seeing it remove arcgis. Should test on Pro 2.1 with MT 2.0 and see what is going on there (I don't have a 2.1 vm handy).

@guyn2gis can we ask you for some more details? Is this on Pro 2.1, 2.1.1, 2.1.2, 2.1.3? Were you installing into a separate python environment? Cloned or new? You can send us the results from ```conda info`` (please remove your personal info first!!) to help with that. Thanks!!

(testenv) C:\Users\<user>\AppData\Local\ESRI\conda\envs\testenv>conda list
# packages in environment at C:\Users\<user>\AppData\Local\ESRI\conda\envs\testenv:
#
# Name                    Version                   Build  Channel
arcgis                    1.4.1            py36h52c3b5e_1    esri
arcgispro                 2.2                           0    esri
asn1crypto                0.24.0                   py36_0
attrs                     17.4.0                   py36_0
...
...
xlwt                      1.3.0            py36h1a4751e_0
zlib                      1.2.11               h8395fce_2

(testenv) C:\Users\<user>\AppData\Local\ESRI\conda\envs\testenv>conda install -c solutionsdev militarytools
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.5.4
  latest version: 4.5.5

Please update conda by running

    $ conda update -n base conda



## Package Plan ##

  environment location: C:\Users\<user>\AppData\Local\ESRI\conda\envs\testenv

  added / updated specs:
    - militarytools


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    militarytools-3.0          |           py36_1         1.4 MB  solutionsdev

The following NEW packages will be INSTALLED:

    militarytools: 3.0-py36_1 solutionsdev

Proceed ([y]/n)? y


Downloading and Extracting Packages
militarytools-3.0    |  1.4 MB | ############################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(testenv) C:\Users\<user>\AppData\Local\ESRI\conda\envs\testenv>conda list
# packages in environment at C:\Users\<user>\AppData\Local\ESRI\conda\envs\testenv:
#
# Name                    Version                   Build  Channel
arcgis                    1.4.1            py36h52c3b5e_1    esri
arcgispro                 2.2                           0    esri
asn1crypto                0.24.0                   py36_0
attrs                     17.4.0                   py36_0
backcall                  0.1.0                    py36_0
...
...
kiwisolver                1.0.1            py36h12c3424_0
libpng                    1.6.34               h79bbb47_0
markupsafe                1.0              py36h0e26971_1
matplotlib                2.2.2                   py36_0e  [arcgispro]  esri
militarytools             3.0                      py36_1    solutionsdev
mistune                   0.8.3                    py36_0
mkl                       2018.0.2            arcgispro_2  [arcgispro]  esri
mkl_fft                   1.0.1            py36h452e1ab_0
...
...
xlrd                      1.1.0            py36h1cb58dc_1
xlwt                      1.3.0            py36h1a4751e_0
zlib                      1.2.11               h8395fce_2

(testenv) C:\Users\<user>\AppData\Local\ESRI\conda\envs\testenv>

I was also not able to repro this issue on Pro 2.1 or 2.2 - after first cloning the default install.

conda create -n my_arcgispro-py3-clone --clone="C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3"

activate my_arcgispro-py3-clone

conda install -c solutionsdev militarytools

There is no dependency of militarytools on the arcgis (this is the rest API) library to my knowledge.

Closing. Non-reproducible.
@guyn2gis If you encounter this again, please reach out.