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 9EA94200CF3 for ; Wed, 13 Sep 2017 13:21:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9D2721609CB; Wed, 13 Sep 2017 11:21:05 +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 E2C9A1609C9 for ; Wed, 13 Sep 2017 13:21:04 +0200 (CEST) Received: (qmail 14337 invoked by uid 500); 13 Sep 2017 11:21:03 -0000 Mailing-List: contact issues-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 issues@ariatosca.incubator.apache.org Received: (qmail 14328 invoked by uid 99); 13 Sep 2017 11:21:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2017 11:21:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9F4D7C9997 for ; Wed, 13 Sep 2017 11:21:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id PV8KY49xqFHh for ; Wed, 13 Sep 2017 11:21:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2AAEB5F23E for ; Wed, 13 Sep 2017 11:21:01 +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 63F20E00C9 for ; Wed, 13 Sep 2017 11:21:00 +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 202C325381 for ; Wed, 13 Sep 2017 11:21:00 +0000 (UTC) Date: Wed, 13 Sep 2017 11:21:00 +0000 (UTC) From: "Ran Ziv (JIRA)" To: issues@ariatosca.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ARIA-368) Setuptools dependency issues MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 13 Sep 2017 11:21:05 -0000 [ https://issues.apache.org/jira/browse/ARIA-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ran Ziv updated ARIA-368: ------------------------- Description: ARIA currently has a direct dependency on {{setuptools}}, which is used for single-sourcing the version (see [this|https://packaging.python.org/guides/single-sourcing-package-version/], item #5 - implemented [here|https://github.com/apache/incubator-ariatosca/blob/0.1.1/aria/__init__.py#L24]). Having a direct dependency on {{setuptools}} is not recommended in general, plus we currently have in the requirements.in file bounds on the {{setuptools}} package version from both sides (i.e. upper and lower bounds) - which is problematic, as this might cause a downgrade of the current {{setuptools}} version in the environment where ARIA is installed. Perhaps a different solution for single-sourcing ARIA's version should be implemented, though each of the different solutions suggested in the linked article has its own downsides (keeping in mind the solution also needs to work for binary installations, i.e. environments where the {{setup.py}} file isn't around to be used) Note that another downside for this implementation is that the package name is not single sourced (i.e. it appears both in {{setup.py}} and in {{aria/__init__.py}}) was: ARIA currently has a direct dependency on setuptools, which is used for single-sourcing the version (see [this|https://packaging.python.org/guides/single-sourcing-package-version/], item #5 - implemented [here|https://github.com/apache/incubator-ariatosca/blob/0.1.1/aria/__init__.py#L24]). Having a direct dependency on setup.py is not recommended in general, plus we currently have in the requirements.in file bounds on the setuptools package version from both sides (i.e. upper and lower bounds) - which is problematic, as this might cause a downgrade of the current setuptools version in the environment where ARIA is installed. Perhaps a different solution for single-sourcing ARIA's version should be implemented, though each of the different solutions suggested in the linked article has its own downsides (keeping in mind the solution also needs to work for binary installations, i.e. environments where the setup.py file isn't around to be used) Note that another downside for this implementation is that the package name is not single sourced (i.e. it appears both in `setup.py` and in aria/__init__.py) > Setuptools dependency issues > ---------------------------- > > Key: ARIA-368 > URL: https://issues.apache.org/jira/browse/ARIA-368 > Project: AriaTosca > Issue Type: Task > Reporter: Ran Ziv > Priority: Minor > > ARIA currently has a direct dependency on {{setuptools}}, which is used for single-sourcing the version (see [this|https://packaging.python.org/guides/single-sourcing-package-version/], item #5 - implemented [here|https://github.com/apache/incubator-ariatosca/blob/0.1.1/aria/__init__.py#L24]). > Having a direct dependency on {{setuptools}} is not recommended in general, plus we currently have in the requirements.in file bounds on the {{setuptools}} package version from both sides (i.e. upper and lower bounds) - which is problematic, as this might cause a downgrade of the current {{setuptools}} version in the environment where ARIA is installed. > Perhaps a different solution for single-sourcing ARIA's version should be implemented, though each of the different solutions suggested in the linked article has its own downsides (keeping in mind the solution also needs to work for binary installations, i.e. environments where the {{setup.py}} file isn't around to be used) > Note that another downside for this implementation is that the package name is not single sourced (i.e. it appears both in {{setup.py}} and in {{aria/__init__.py}}) -- This message was sent by Atlassian JIRA (v6.4.14#64029)