From owner-freebsd-python@freebsd.org Sat May 9 02:39:48 2020 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D83372D6B04 for ; Sat, 9 May 2020 02:39:48 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49JryD3F3Rz44wg for ; Sat, 9 May 2020 02:39:48 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6F35F2D6B03; Sat, 9 May 2020 02:39:48 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6EF912D6B02 for ; Sat, 9 May 2020 02:39:48 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 49JryC5GB0z44wf for ; Sat, 9 May 2020 02:39:47 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from numenor.groumpf.org (numenor [78.251.129.10]) by aragorn.amdh.fr (Postfix) with ESMTP id A5FEF1342FF for ; Sat, 9 May 2020 04:39:46 +0200 (CEST) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id 1AECA26FCC for ; Sat, 9 May 2020 04:39:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at groumpf.org Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Q4WyQ5jl5cil for ; Sat, 9 May 2020 04:39:20 +0200 (CEST) Received: from [192.168.0.16] (unknown [88.122.81.46]) by numenor.groumpf.org (Postfix) with ESMTPSA id 37AF425D24 for ; Sat, 9 May 2020 04:39:16 +0200 (CEST) Subject: Fwd: Grafana, Django, Graphite, ect References: <1537825b-f6ba-6f50-094b-4fa4e74eeb6f@groumpf.org> To: python@freebsd.org From: Xavier Humbert X-Forwarded-Message-Id: <1537825b-f6ba-6f50-094b-4fa4e74eeb6f@groumpf.org> Message-ID: <0db61bb8-9103-3c25-0bdc-8ff5ee452d87@groumpf.org> Date: Sat, 9 May 2020 04:39:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <1537825b-f6ba-6f50-094b-4fa4e74eeb6f@groumpf.org> Content-Language: en-US X-Rspamd-Queue-Id: 49JryC5GB0z44wf X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of xavier@groumpf.org has no SPF policy when checking 176.31.180.205) smtp.mailfrom=xavier@groumpf.org X-Spamd-Result: default: False [-1.85 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[python@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[groumpf.org]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.85)[ip: (-7.74), ipnet: 176.31.0.0/16(1.49), asn: 16276(1.99), country: FR(-0.00)]; RECEIVED_SPAMHAUS_PBL(0.00)[46.81.122.88.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11, 10.129.251.78.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.32 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2020 02:39:48 -0000 FYI, I'll try to update django to 1.9 (afaik, last support for python 2.7) and graphite-web to 1.1.7. Is there projects on your side to do this, or should I proceed ? Or do you have some advice to port it entirely to pyton 3.7 whith django >=2 and graphite-web 1.2 ? Thanks, Regards, Xavier -------- Forwarded Message -------- Subject: Grafana, Django, Graphite, ect Date: Sat, 9 May 2020 04:20:33 +0200 From: Xavier Humbert To: FreeBSD Ports Hello, InĀ  my understanding, to work with graphite datasource, Grafana needs to connect to graphite-web, since it cannot fetch data directly like with ELK. But graphite-web is afaik, stucked with python 2.7, (and a bunch of py27 modules), while django 1.1.1 is EOLed. Tried django 2.2 (py37 only), which as expected, crashes while importing modules. So the simple question is : how to make all this stuff work with python 37, django 2 or 3, and recent graphite ? I know that (according to graphite-web's github : > ...keep in mind that Graphite-web supports Python versions *2.6 to > 2.7* and Django versions *1.4 and above*. So I think I will continue with python 2.7, but at least need to upgrade django to the latest py27 version I have plenty of time to test and try upgrading (thanks Covid), my Grafana is not production yet, but I need some hints. TIA, Cheers, Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer