Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ABC5F200C40 for ; Thu, 23 Mar 2017 11:02:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AA3E9160B92; Thu, 23 Mar 2017 10:02:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EC515160B75 for ; Thu, 23 Mar 2017 11:02:45 +0100 (CET) Received: (qmail 45973 invoked by uid 500); 23 Mar 2017 10:02:45 -0000 Mailing-List: contact dev-help@ariatosca.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ariatosca.incubator.apache.org Delivered-To: mailing list dev@ariatosca.incubator.apache.org Received: (qmail 45954 invoked by uid 99); 23 Mar 2017 10:02:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2017 10:02:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A86FF18495F for ; Thu, 23 Mar 2017 10:02:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.549 X-Spam-Level: X-Spam-Status: No, score=-98.549 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id BN2BRTPWy4iH for ; Thu, 23 Mar 2017 10:02:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 8BCEA5FDC9 for ; Thu, 23 Mar 2017 10:02:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7C681E06C9 for ; Thu, 23 Mar 2017 10:02:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D718821DA2 for ; Thu, 23 Mar 2017 10:02:41 +0000 (UTC) Date: Thu, 23 Mar 2017 10:02:41 +0000 (UTC) From: "Ran Ziv (JIRA)" To: dev@ariatosca.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (ARIA-96) Dependency versions strictness / conflicts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Mar 2017 10:02:46 -0000 [ https://issues.apache.org/jira/browse/ARIA-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ran Ziv closed ARIA-96. ----------------------- > Dependency versions strictness / conflicts > ------------------------------------------ > > Key: ARIA-96 > URL: https://issues.apache.org/jira/browse/ARIA-96 > Project: AriaTosca > Issue Type: Task > Reporter: Ran Ziv > Assignee: Avia Efrat > Fix For: 0.1.0 > > > When ARIA is used by another project, it might lead to dependency versions conflicts. > Dependency versions should be made less strict (i.e. ranges). > Alternatively we could consider vendoring some of the more common dependencies inside ARIA. > -------------------------------------------------------------------------------------------------------------------------- > Our conclusions: > 1. Currently, don't vendor any library. > 2. Use pip-tools (specifically, pip-compile) to manage our dependencies / requirement files. > 3. requirements.in: > The requirements.in will be read into `install_requires`, and includes loose dependencies (as possible, and only direct dependencies), as is common when installing using a setup.py file. > Since we haven't tested ARIA with many versions of our dependencies, our dependencies are not very loose, but we are hoping to improve this as our project matures. > Currently, when we provide an upper bound, it is either because of python 2.6 compatibility, or according to a semantic versioning (i.e. future versions that could break the current API). Lower boundaries are usually the lowest version that we tested with ARIA, or because version before are lacking functionality we are using. > 4. requirements.txt: > The requirements.txt is generated from requirements.in via pip-compile, and includes fixed-version dependencies, including all transitive dependencies, in order to provide an stable environment that ARIA is ensured to work on. > 5. python 2.6 compatible dependencies: > As pip-compile currently does not provide support for conditional dependencies (https://github.com/jazzband/pip-tools/issues/435), we are adding these dependencies explicitly in the setup.py via `extras_require`, and manually in the generated requirements.txt. We are also mentioning this issue in a comment in requirements.in. -- This message was sent by Atlassian JIRA (v6.3.15#6346)