Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEwnI-0002BR-E2 for psycopg@arkaria.postgresql.org; Wed, 24 Feb 2021 16:13:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lEwnH-0004FY-Bd for psycopg@arkaria.postgresql.org; Wed, 24 Feb 2021 16:13:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEwnH-0004FM-6P for psycopg@lists.postgresql.org; Wed, 24 Feb 2021 16:13:43 +0000 Received: from mail.dndg.it ([178.32.136.2]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEwnE-00016L-K6 for psycopg@lists.postgresql.org; Wed, 24 Feb 2021 16:13:42 +0000 Received: from [192.168.1.159] (93-40-251-202.ip41.fastwebnet.it [93.40.251.202]) by mail.dndg.it (Postfix) with ESMTPSA id 9E32AA0ECF; Wed, 24 Feb 2021 16:18:12 +0000 (UTC) Subject: Re: License LPGL and commercialization To: psycopg@lists.postgresql.org References: From: Federico Di Gregorio Organization: DNDG srl Cc: "Hunt, Brian C." Message-ID: Date: Wed, 24 Feb 2021 17:13:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,NICE_REPLY_A, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 24/02/21 16:24, Hunt, Brian C. wrote: > I have recently been told by outside council (lawyers) that our > organization is unable to use LGPL licensed packages in software we plan > to sell. > > We have already built a web app using Python + Django. > > Ticket: > > #461 (Support use of pypgsql instead of psycopg) – Django > (djangoproject.com) > > Seems to suggest the purpose of the LGPL license is not to prevent the > intended use we have in mind (selling the web app to be hosted locally > at other organizations). Instead it is to prevent other from building > off the drivers and then selling those drivers. > > Is that the case? Is our intended purpose within the license constraints > outlined? Can we receive written confirmation that our intended use > won’t come back to hurt us and we have permission? Or can we not use > your package in this way? We will be compliant with whatever outcome is > required. If we need to move away from Django (psycopg2) then we can do > that if needed. Dear Brian, you can use psycopg2 in a proprietary, closed-source application as long as you don't modify psycopg2 itself and allow your users to replace the current version of the psycopg2 module with a new one (this is usually not a problem, unless you want to pack everything in a single executable). There is the misconception that the LGPL will "contaminate" Python, then Django and from there your application but this is not the case: accessing psycopg2 API via Python from a proprietary module is perfectly fine - we don't consider it "linking". federico