title: Install py[2]-numpy in Alpine Edge (Alpine 3.10 is current and has py[2]-numpy)
body: <p>Due to <a href="https://pkgs.alpinelinux.org/packages?name=gdal&amp;branch=edge" rel="nofollow noreferrer"><code>gdal</code></a> and <a href="https://pkgs.alpinelinux.org/packages?name=proj&amp;branch=edge" rel="nofollow noreferrer"><code>proj</code></a> (aka <code>proj4</code>) only being available in Alpine Edge ("testing" repository), I am locked to that branch.</p>
  
  <p>The Python module <code>gdal</code> (not the above mentioned library) does not compile on Alpine Edge when using Python 3, so this locks me to using Python 2.</p>
  
  <p>I get lots of errors like</p>
  
  <pre><code>    extensions/gdal_wrap.cpp: In function 'CPLErr GDALDatasetShadow_SetGCPs2(GDALDatasetShadow*, int, const GDAL_GCP*, OSRSpatialReferenceShadow*)':
      extensions/gdal_wrap.cpp:4735:12: error: 'GDALSetGCPs2' was not declared in this scope; did you mean 'GDALSetGCPs'?
       4735 |     return GDALSetGCPs2( self, nGCPs, pGCPs, (OGRSpatialReferenceH)hSRS );
            |            ^~~~~~~~~~~~
            |            GDALSetGCPs
      extensions/gdal_wrap.cpp: In function 'PyObject* _wrap_EscapeString(PyObject*, PyObject*, PyObject*)':
      extensions/gdal_wrap.cpp:7850:63: warning: 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' is deprecated [-Wdeprecated-declarations]
       7850 |       int res = PyObject_AsReadBuffer(obj0, &amp;safeBuf, &amp;safeLen);
            |                                                               ^
      In file included from /usr/include/python3.7m/Python.h:147,
                       from extensions/gdal_wrap.cpp:173:
      /usr/include/python3.7m/abstract.h:489:17: note: declared here
        489 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
            |                 ^~~~~~~~~~~~~~~~~~~~~
  
  </code></pre>
  
  <p>which I assume are due to this Python version mismatch.</p>
  
  <p>I need to use <code>py-numpy</code> (<code>py2-numpy</code>) + the <code>-dev</code> packages as well as <code>py2-matplotlib</code>, but these are not available in the Edge branch repository. That one only has those packages precompiled for Python 3.</p>
  
  <pre><code>OK:  ---&gt; Running in a83422b2e066
  OK: fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
  OK: fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
  OK: fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
  OK: ERROR: unsatisfiable constraints:
  
  OK:   py-numpy (missing):
      required by: world[py-numpy]
    py-numpy-dev (missing):
      required by: world[py-numpy-dev]
    py2-matplotlib (missing):
      required by: world[py2-matplotlib]
  </code></pre>
  
  <p>The packages of numpy and matplotlib exist for Python 2 in the 3.10 branch.</p>
  
  <p>Is there a way I can use/install them in the Edge branch?</p>
  
  <p>This is the relevant part of my Dockerfile</p>
  
  <pre><code>RUN apk --update --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
        build-base \
        gdal \
        gdal-dev \
        proj \
        proj-dev \
        python2 \
        python2-dev \
        py-numpy \
        py-numpy-dev \
        py2-pillow \
        py2-matplotlib \
        py2-pip &amp;&amp; \
      \
      pip install --upgrade pip &amp;&amp; \
      pip install --upgrade subprocess32 cycler gdal arrow &amp;&amp; \
  ...
  </code></pre>