#29046: possible race condition with manager logic
-------------------------------------+-------------------------------------
     Reporter:  Andy Grabow          |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Description changed by Andy Grabow:

Old description:

> Hi,
>
> i tried a lot to explain this weird behaviour, but since it happens
> sometimes and doenst at other times i think that its due to some weird
> race condition.
>
> Please have a look at the travis build logs:
> https://travis-ci.org/kakulukia/django-undeletable
> https://travis-ci.org/kakulukia/django-undeletable/builds/331788403
> (build #23)
>
> Most of the time django 1.11 under python2 is failing.
> So please could someone with more knowledge about django manager magic
> have a look at my module?
>
>     git clone https://github.com/kakulukia/django-undeletable.git
>     git checkout cookiecutter-version
>     make init2
>     pipenv shell
>     pip install django=1.11.9
>     make test
>
> BTW: The django sources have been uploaded to pypi resulting in a python2
> pip trying to install django 2 which aint working. Is there a workaround?
> Why are the sources uploaded to pypi?

New description:

 Hi,

 i tried a lot to explain this weird behaviour, but since it happens
 sometimes and doenst at other times i think that its due to some weird
 race condition.

 Please have a look at the travis build logs:
 https://travis-ci.org/kakulukia/django-undeletable
 https://travis-ci.org/kakulukia/django-undeletable/builds/331788403 (build
 #23)

 Most of the time django 1.11 under python2 is failing.
 So please could someone with more knowledge about django manager magic
 have a look at my module?

     git clone https://github.com/kakulukia/django-undeletable.git
     git checkout cookiecutter-version
     make init2
     pipenv shell
     pip install django=1.11.9
     make test

 In the last 4 years of me using that module in different projects, this
 bug never happend. This might be due to the striped to the basics version
 of this unittest compared to a project with multiple other modules to load
 before actually executing any ORM logic. Just a guess.

 BTW: The django sources have been uploaded to pypi resulting in a python2
 pip trying to install django 2 which aint working. Is there a workaround?
 Why are the sources uploaded to pypi?

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29046#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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.95341514a48c864390d1a373c6d303ce%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to