#30933: Update installation instructions for GeoDjango dependencies on Windows.
-------------------------------------+-------------------------------------
     Reporter:  Adam Starrh          |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  2.2
     Severity:  Normal               |               Resolution:
     Keywords:  geodjango,           |             Triage Stage:  Accepted
  installation, windows              |
    Has patch:  0                    |      Needs documentation:  1
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Old description:

> ~~I'm setting GeoDjango up on Windows and discovered that GDAL is (at
> least currently) incompatible with 64-bit Python. Using 32-bit Python and
> 32-bit OSGeo4Win, I was finally able to get it working. I suggest this be
> mentioned in the docs to circumvent future headaches for other users.~~
>
> ~~Pull request:
> https://github.com/django/django/pull/11995~~
>
> ----
>
> The installation instructions for dependencies of !GeoDjango on Windows
> are outdated.
>
> Issues that need to be addressed include:
>
> - It seems that there may be some as yet undetermined issue wit 64-bit
> setups.
> - Not referencing only 9.x versions of PostgreSQL which are > 3 years
> old.
> - Consider referring to other geospatial database backends. Why should
> Windows users be forced to use PostGIS?
> - Replace outdated instructions for installation of psycopg2. We have
> binary wheels now that are more up to date.
> - Using !OSGeo4W can lead to a newer version of GEOS than is supported by
> Django with no option to downgrade.
>   - Consider installing individual dependencies for GDAL, GEOS & Proj.

New description:

 ~~I'm setting GeoDjango up on Windows and discovered that GDAL is (at
 least currently) incompatible with 64-bit Python. Using 32-bit Python and
 32-bit OSGeo4Win, I was finally able to get it working. I suggest this be
 mentioned in the docs to circumvent future headaches for other users.~~

 ~~Pull request:
 https://github.com/django/django/pull/11995~~

 ----

 The installation instructions for dependencies of !GeoDjango on Windows
 are outdated.

 Issues that need to be addressed include:

 - It seems that there may be some as yet undetermined issue wit 64-bit
 setups.
 - Not referencing only 9.x versions of PostgreSQL which are > 3 years old.
 - Consider referring to other geospatial database backends. Why should
 Windows users be forced to use PostGIS?
 - Replace outdated instructions for installation of psycopg2. We have
 binary wheels now that are more up to date.
 - ~~Using OSGeo4W can lead to a newer version of GEOS than is supported by
 Django with no option to downgrade.~~
   - ~~Consider installing individual dependencies for GDAL, GEOS & Proj.~~

--

Comment (by Nick Pope):

 Replying to [comment:3 felixxm]:
 > Nick, I still don't see where is an issue, except that
 `http://www.stickpeople.com/projects/python/win-psycopg/` link is
 outdated.

 That and referring to PostgreSQL 9.x seems overly restrictive. There
 haven't been a great many updates to this section of the documentation
 other than cosmetic in years and my impression from my comment above is
 that it could be made easier.

 >> There is also a problem that you have stumbled into that OSGeo4W
 installs a newer version of GDAL than Django 2.2 officially supports
 > I don't think that is true, `OSGeo4W` contains: `gdal200dll`,
 `gdal201dll`, `gdal202dll`, `gdal203dll` all of them are supported by
 Django 2.2.

 I was alluding to the comments starting at
 https://github.com/django/django/pull/10962#issuecomment-548004287, but if
 it installs the older versions too, then ...

 > It can be hard to fix an issue without details.

 Indeed. I asked for some more details at the end...

 Anyway. As I said, I don't use Windows. And I feel like I'm being
 unhelpful here, so I'll back off.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30933#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.9be552d354bad00de2e0f8b9348b3f90%40djangoproject.com.

Reply via email to