[osgeo4w] #567: python2 update required

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[osgeo4w] #567: python2 update required

OSGeo4W
#567: python2 update required
--------------------+---------------------------
Reporter:  ndawson  |      Owner:  osgeo4w-dev@…
    Type:  defect   |     Status:  new
Priority:  major    |  Component:  Package
 Version:           |   Keywords:  python
--------------------+---------------------------
 The current version of Python 2 in osgeo4w (2.7.4) is no longer compatible
 with the pip repository - trying to run pip install under osgeo4w python
 results in errors "SNIMissingWarning: An HTTPS request has been made, but
 the SNI (Subject Name Indication) extension to TLS is not available on
 this platform." and "Could not fetch URL
 https://pypi.python.org/simple/pint/: There was a problem confirming the
 ssl certificate: [Errno 1] _ssl.c:504: error:1407742E:SSL
 routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version - skipping
 Could not find a version that satisfies the requirement pint (from
 versions: )"

 As a result it's no longer possible to install Python2 packages using pip
 on osgeo4w. There's no reliable workarounds which users can do to avoid
 this - the only solution is to update the Python library to a more recent
 version.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/567>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #567: python2 update required

OSGeo4W
#567: python2 update required
---------------------+----------------------------
Reporter:  ndawson   |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  new
Priority:  critical  |   Component:  Package
 Version:            |  Resolution:
Keywords:  python    |
---------------------+----------------------------
Changes (by martinl):

 * priority:  major => critical


--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/567#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #567: python2 update required

OSGeo4W
In reply to this post by OSGeo4W
#567: python2 update required
---------------------+----------------------------
Reporter:  ndawson   |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  new
Priority:  critical  |   Component:  Package
 Version:            |  Resolution:
Keywords:  python    |
---------------------+----------------------------

Comment (by chau):

 I do have python 2.7.5-3 from OSGeo4W, but still have the same issue
 blocking my installs.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/567#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #567: python2 update required

OSGeo4W
In reply to this post by OSGeo4W
#567: python2 update required
---------------------+----------------------------
Reporter:  ndawson   |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  new
Priority:  critical  |   Component:  Package
 Version:            |  Resolution:
Keywords:  python    |
---------------------+----------------------------

Comment (by muellea):

 It seems, there must be a reason, nobody comes with a new package? So, why
 is there no update to python? As described in pkg-python/Python27 there is
 a lot of manual work to do, extracting and mergin the files for osgeo4w
 packages. I just tried it for python27, 32bit-and i am very unsure in what
 i'm doing. Is there some information why the packages are as they are? Do
 other packages made with 2.7.4 exist that would need to be updated too?
 How was it done for python3, do any automatisms/scripts exist?

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/567#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #567: python2 update required

OSGeo4W
In reply to this post by OSGeo4W
#567: python2 update required
---------------------+----------------------------
Reporter:  ndawson   |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  new
Priority:  critical  |   Component:  Package
 Version:            |  Resolution:
Keywords:  python    |
---------------------+----------------------------

Comment (by muellea):

 i now have two fresh packages python and python-core which, i think, need
 further testing. Python is 32bit and 2.7.14.

 Here is a short description of what i did:

 - install python27-msi-file (current user!)
 - create a folder named python-core
 - unzip python-skeleton.zip in python-core
 - copy python27 folder to python-core/apps
 - uninstall python27 (if you like)
 - copy python.exe, python27.dll, pythonw.exe and w9xpopen.exe to bin
 - tar cvjf apps bin etc to python-core-version.tar.gz like here:
 https://trac.osgeo.org/osgeo4w/wiki/pkg-python/Python27
 - used and modified the python meta package

 (there are no further packaged like python-help python-tcltk python-
 testsuite needed anymore, its all inclusive. it is just like the
 python3-pkg)

 My Tests: start python shell, import gdal, start idle, start qgis-ltr,
 install pip with pkg setuptools installed. Someone interested and willing
 to test? Both packages are in tar.gz format with a setup.hint file.
 Someone who can tell me how to upload the packages?

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/567#comment:4>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #567: python2 update required

OSGeo4W
In reply to this post by OSGeo4W
#567: python2 update required
---------------------+----------------------------
Reporter:  ndawson   |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  new
Priority:  critical  |   Component:  Package
 Version:            |  Resolution:
Keywords:  python    |
---------------------+----------------------------

Comment (by muellea):

 I made a repository for the packages under https://github.com/amr66
 /python-osgeo4w. If anybody is willing to upload.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/567#comment:5>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev