Re: [Django] #34053: JS tests depend on Cloudflare CDN for every run

0 views
Skip to first unread message

Django

unread,
Sep 25, 2022, 12:46:20 PM9/25/22
to django-...@googlegroups.com
#34053: JS tests depend on Cloudflare CDN for every run
-------------------------------------+-------------------------------------
Reporter: Hugo Herter | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Testing framework | Version: dev
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 Mariusz Felisiak):

* cc: Claude Paroz, Daniel Hahler (added)
* status: new => closed
* resolution: => needsinfo
* easy: 1 => 0
* type: Bug => Cleanup/optimization


Comment:

This was intentionally changed in b1d6b0a7b121eec860b518b4903d7c8c74f7773b
(see also #26098). I'm not sure what kind of alternative you're proposing,
we definitely don't want to copy `OpenLayers.js` to the Django repository.
It's also [https://docs.djangoproject.com/en/stable/ref/contrib/gis/forms-
api/#django.contrib.gis.forms.widgets.OpenLayersWidget documented] that
`cdnjs.cloudflare.com` is used for `OpenLayersWidget`.

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

Django

unread,
Sep 25, 2022, 3:56:03 PM9/25/22
to django-...@googlegroups.com
#34053: JS tests depend on Cloudflare CDN for every run
-------------------------------------+-------------------------------------
Reporter: Hugo Herter | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Testing framework | Version: dev
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
-------------------------------------+-------------------------------------

Comment (by Claude Paroz):

I'm not very happy, too, to have this connection on test runs, but as
Mariusz said, we do not have satisfying alternatives yet. I hope that in
the future, we might have some way of local caching of such external
dependencies.

--
Ticket URL: <https://code.djangoproject.com/ticket/34053#comment:3>

Reply all
Reply to author
Forward
0 new messages