Re: [Django] #34086: Confirm support for PostGIS 3.3

2022-10-12 Thread Django
#34086: Confirm support for PostGIS 3.3
-+-
 Reporter:  Paolo Melchiorre |Owner:  Paolo
 |  Melchiorre
 Type:  New feature  |   Status:  closed
Component:  GIS  |  Version:  dev
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  postgis  | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by GitHub ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7c9d0c31d5c1ec75df9cb173914b8e752017c205" 7c9d0c31]:
 {{{
 #!CommitTicketReference repository=""
 revision="7c9d0c31d5c1ec75df9cb173914b8e752017c205"
 Fixed #34086 -- Confirmed support for PostGIS 3.3.
 }}}

-- 
Ticket URL: 
Django 
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/01070183cb03232b-c77dd572-2f6c-43d9-ab66-a0b14f0fd951-00%40eu-central-1.amazonses.com.


Re: [Django] #34086: Confirm support for PostGIS 3.3

2022-10-11 Thread Django
#34086: Confirm support for PostGIS 3.3
-+-
 Reporter:  Paolo Melchiorre |Owner:  Paolo
 |  Melchiorre
 Type:  New feature  |   Status:  assigned
Component:  GIS  |  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:  postgis  | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
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/01070183c8906326-a6d27bd9-b397-4e67-b2c0-9a497e9956bd-00%40eu-central-1.amazonses.com.


Re: [Django] #34086: Confirm support for PostGIS 3.3

2022-10-11 Thread Django
#34086: Confirm support for PostGIS 3.3
-+-
 Reporter:  Paolo Melchiorre |Owner:  Paolo
 |  Melchiorre
 Type:  New feature  |   Status:  assigned
Component:  GIS  |  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:  postgis  | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Description changed by Paolo Melchiorre:

Old description:

> I checked that the tests pass on PostGIS 3.3.
>
> == Files
>
> `postgis.py`
> {{{
> #!python
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.contrib.gis.db.backends.postgis',
> 'HOST': 'postgres',
> 'NAME': 'geodjango',
> 'PASSWORD': 'postgres',
> 'PORT': 5432,
> 'USER': 'postgres',
> },
> 'other': {
> 'ENGINE': 'django.contrib.gis.db.backends.postgis',
> 'HOST': 'postgres',
> 'NAME': 'other',
> 'PASSWORD': 'postgres',
> 'PORT': 5433,
> 'USER': 'postgres',
> },
> }
>
> SECRET_KEY = 'django_tests_secret_key'
>
> USE_TZ = False
> }}}
>
> `docker-compose.yaml`
> {{{
> #!yaml
> services:
>
>   geodjango:
> environment:
>   - POSTGRES_DB=geodjango
>   - POSTGRES_PASSWORD=postgres
> image: postgis/postgis:14-3.3
> ports:
>   - "5432:5432"
> volumes:
>   - geodjango_data:/var/lib/postgresql/data
>
>   other:
> environment:
>   - POSTGRES_DB=other
>   - POSTGRES_PASSWORD=postgres
> image: postgis/postgis:14-3.3
> ports:
>   - "5433:5432"
> volumes:
>   - other_data:/var/lib/postgresql/data
>
> volumes:
>   geodjango_data: {}
>   other_data: {}
> }}}
>
> == Test
>
> {{{
> #!bash
> (django) paulox@net:~/Projects/django/tests$ time ./runtests.py
> --settings=postgis gis_tests --timing -v0
> System check identified 52 issues (1 silenced).
> --
> Ran 553 tests in 23.196s
>
> OK (skipped=20)
> Total database setup took 14.557s
>   Creating 'default' took 2.982s
>   Cloning 'default' took 0.639s
>   Cloning 'default' took 0.481s
>   Cloning 'default' took 0.564s
>   Cloning 'default' took 0.542s
>   Cloning 'default' took 0.551s
>   Cloning 'default' took 0.475s
>   Cloning 'default' took 0.452s
>   Cloning 'default' took 0.470s
>   Creating 'other' took 3.105s
>   Cloning 'other' took 0.598s
>   Cloning 'other' took 0.550s
>   Cloning 'other' took 0.539s
>   Cloning 'other' took 0.550s
>   Cloning 'other' took 0.522s
>   Cloning 'other' took 0.601s
>   Cloning 'other' took 0.480s
>   Cloning 'other' took 0.454s
> Total database teardown took 2.556s
> Total run took 40.594s
> }}}

New description:

 I checked that the tests pass on PostGIS 3.3.

 == Files

 `postgis.py`
 {{{
 #!python
 DATABASES = {
 'default': {
 'ENGINE': 'django.contrib.gis.db.backends.postgis',
 'HOST': 'postgres',
 'NAME': 'geodjango',
 'PASSWORD': 'postgres',
 'PORT': 5432,
 'USER': 'postgres',
 },
 'other': {
 'ENGINE': 'django.contrib.gis.db.backends.postgis',
 'HOST': 'postgres',
 'NAME': 'other',
 'PASSWORD': 'postgres',
 'PORT': 5433,
 'USER': 'postgres',
 },
 }

 SECRET_KEY = 'django_tests_secret_key'

 USE_TZ = False
 }}}

 `docker-compose.yaml`
 {{{
 #!yaml
 services:

   geodjango:
 environment:
   - POSTGRES_DB=geodjango
   - POSTGRES_PASSWORD=postgres
 image: postgis/postgis:14-3.3
 ports:
   - "5432:5432"
 volumes:
   - geodjango_data:/var/lib/postgresql/data

   other:
 environment:
   - POSTGRES_DB=other
   - POSTGRES_PASSWORD=postgres
 image: postgis/postgis:14-3.3
 ports:
   - "5433:5432"
 volumes:
   - other_data:/var/lib/postgresql/data

 volumes:
   geodjango_data: {}
   other_data: {}
 }}}

 == Test

 {{{
 #!shell
 (django) paulox@net:~/Projects/django/tests$ ./runtests.py
 --settings=postgis gis_tests --timing -v0
 System check identified 52 issues (1 silenced).
 --
 Ran 553 tests in 23.196s

 OK (skipped=20)
 Total database setup took 14.557s
   Creating 'default' took 2.982s
   Cloning 'default' took 0.639s
   Cloning 'default' took 0.481s
   Cloning 'default' took 0.564s
   Cloning 'default' took 0.542s
   Cloning 'default' took 0.551s
   Cloning 'default' took 0.475s
   Cloning 'default' took 0.452s
   Cloning 'default' took 0.470s
   Creating 'other' 

Re: [Django] #34086: Confirm support for PostGIS 3.3

2022-10-11 Thread Django
#34086: Confirm support for PostGIS 3.3
-+-
 Reporter:  Paolo Melchiorre |Owner:  Paolo
 |  Melchiorre
 Type:  New feature  |   Status:  assigned
Component:  GIS  |  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:  postgis  | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Description changed by Paolo Melchiorre:

Old description:

> I checked that the tests pass on PostGIS 3.3.
>
> == Files
>
> `postgis.py`
> {{{
> #!python
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.contrib.gis.db.backends.postgis',
> 'HOST': 'postgres',
> 'NAME': 'geodjango',
> 'PASSWORD': 'postgres',
> 'PORT': 5432,
> 'USER': 'postgres',
> },
> 'other': {
> 'ENGINE': 'django.contrib.gis.db.backends.postgis',
> 'HOST': 'postgres',
> 'NAME': 'other',
> 'PASSWORD': 'postgres',
> 'PORT': 5433,
> 'USER': 'postgres',
> },
> }
>
> SECRET_KEY = 'django_tests_secret_key'
>
> USE_TZ = False
> }}}
>
> `docker-compose.yaml`
> {{{
> #!yaml
> services:
>
>   geodjango:
> environment:
>   - POSTGRES_DB=geodjango
>   - POSTGRES_PASSWORD=postgres
> image: postgis/postgis:14-3.3
> ports:
>   - "5432:5432"
> volumes:
>   - geodjango_data:/var/lib/postgresql/data
>
>   other:
> environment:
>   - POSTGRES_DB=other
>   - POSTGRES_PASSWORD=postgres
> image: postgis/postgis:14-3.3
> ports:
>   - "5433:5432"
> volumes:
>   - other_data:/var/lib/postgresql/data
>
> volumes:
>   geodjango_data: {}
>   other_data: {}
> }}}
>
> == Test
>
> {{{
> #!python
> (django) paulox@net:~/Projects/django/tests$ time ./runtests.py
> --settings=postgis gis_tests --timing -v0
> System check identified 52 issues (1 silenced).
> --
> Ran 553 tests in 23.196s
>
> OK (skipped=20)
> Total database setup took 14.557s
>   Creating 'default' took 2.982s
>   Cloning 'default' took 0.639s
>   Cloning 'default' took 0.481s
>   Cloning 'default' took 0.564s
>   Cloning 'default' took 0.542s
>   Cloning 'default' took 0.551s
>   Cloning 'default' took 0.475s
>   Cloning 'default' took 0.452s
>   Cloning 'default' took 0.470s
>   Creating 'other' took 3.105s
>   Cloning 'other' took 0.598s
>   Cloning 'other' took 0.550s
>   Cloning 'other' took 0.539s
>   Cloning 'other' took 0.550s
>   Cloning 'other' took 0.522s
>   Cloning 'other' took 0.601s
>   Cloning 'other' took 0.480s
>   Cloning 'other' took 0.454s
> Total database teardown took 2.556s
> Total run took 40.594s
> }}}

New description:

 I checked that the tests pass on PostGIS 3.3.

 == Files

 `postgis.py`
 {{{
 #!python
 DATABASES = {
 'default': {
 'ENGINE': 'django.contrib.gis.db.backends.postgis',
 'HOST': 'postgres',
 'NAME': 'geodjango',
 'PASSWORD': 'postgres',
 'PORT': 5432,
 'USER': 'postgres',
 },
 'other': {
 'ENGINE': 'django.contrib.gis.db.backends.postgis',
 'HOST': 'postgres',
 'NAME': 'other',
 'PASSWORD': 'postgres',
 'PORT': 5433,
 'USER': 'postgres',
 },
 }

 SECRET_KEY = 'django_tests_secret_key'

 USE_TZ = False
 }}}

 `docker-compose.yaml`
 {{{
 #!yaml
 services:

   geodjango:
 environment:
   - POSTGRES_DB=geodjango
   - POSTGRES_PASSWORD=postgres
 image: postgis/postgis:14-3.3
 ports:
   - "5432:5432"
 volumes:
   - geodjango_data:/var/lib/postgresql/data

   other:
 environment:
   - POSTGRES_DB=other
   - POSTGRES_PASSWORD=postgres
 image: postgis/postgis:14-3.3
 ports:
   - "5433:5432"
 volumes:
   - other_data:/var/lib/postgresql/data

 volumes:
   geodjango_data: {}
   other_data: {}
 }}}

 == Test

 {{{
 #!bash
 (django) paulox@net:~/Projects/django/tests$ time ./runtests.py
 --settings=postgis gis_tests --timing -v0
 System check identified 52 issues (1 silenced).
 --
 Ran 553 tests in 23.196s

 OK (skipped=20)
 Total database setup took 14.557s
   Creating 'default' took 2.982s
   Cloning 'default' took 0.639s
   Cloning 'default' took 0.481s
   Cloning 'default' took 0.564s
   Cloning 'default' took 0.542s
   Cloning 'default' took 0.551s
   Cloning 'default' took 0.475s
   Cloning 'default' took 0.452s
   Cloning 'default' took 0.470s
   Creating 

Re: [Django] #34086: Confirm support for PostGIS 3.3

2022-10-11 Thread Django
#34086: Confirm support for PostGIS 3.3
-+-
 Reporter:  Paolo Melchiorre |Owner:  Paolo
 |  Melchiorre
 Type:  New feature  |   Status:  assigned
Component:  GIS  |  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:  postgis  | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Paolo Melchiorre):

 * has_patch:  0 => 1


Comment:

 [https://github.com/django/django/pull/16171 PR #16171]

-- 
Ticket URL: 
Django 
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/01070183c8557280-2573ec58-a332-4f31-bab1-c18562273427-00%40eu-central-1.amazonses.com.