#35348: Inconsistent behaviour with annotate using concat and 
GenericIPAddressField
-------------------------------------+-------------------------------------
     Reporter:  Lorenzo Morandini    |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  4.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * resolution:   => needsinfo
 * status:  new => closed

Comment:

 Hi Lorenzo, thank you for this report.

 I am struggling to replicate this locally and need a few more details. To
 help me, please provide:
 - what database are you using
 - what version of Python are you using
 - did you upgrade Python when upgrading from Django 3.2 to 4.2

 We use
 [https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Network
 ipaddress] from the Python standard library and `/32` is documented as a
 default mask for `IPv4Network`, hence the version of Python might be
 important here and whether this changed while upgrading.

 If you want to make my day, you could
 [https://docs.djangoproject.com/en/5.0/internals/contributing/writing-code
 /unit-tests/#unit-tests write a regression test] which will help verify
 the issue and make sure it gets resolved quickly.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35348#comment:1>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e9e6ffe76-773515e0-cd5e-42d9-90fa-2f922dda2e1a-000000%40eu-central-1.amazonses.com.

Reply via email to