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 807DC200CF3 for ; Wed, 13 Sep 2017 10:12:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7E7C81609CA; Wed, 13 Sep 2017 08:12:12 +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 C49DA1609C9 for ; Wed, 13 Sep 2017 10:12:11 +0200 (CEST) Received: (qmail 24479 invoked by uid 500); 13 Sep 2017 08:12:10 -0000 Mailing-List: contact commits-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list commits@airflow.incubator.apache.org Received: (qmail 24470 invoked by uid 99); 13 Sep 2017 08:12:10 -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 08:12:10 +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 70EA4C1D0C for ; Wed, 13 Sep 2017 08:12:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, 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 a6fnXOJiRnVl for ; Wed, 13 Sep 2017 08:12:08 +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 4C14A5FE64 for ; Wed, 13 Sep 2017 08:12:08 +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 3AFA8E0F01 for ; Wed, 13 Sep 2017 08:12:06 +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 57C6525389 for ; Wed, 13 Sep 2017 08:12:02 +0000 (UTC) Date: Wed, 13 Sep 2017 08:12:02 +0000 (UTC) From: "Bolke de Bruin (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AIRFLOW-1594) Installing via pip copies test files into python library dirs 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 08:12:12 -0000 [ https://issues.apache.org/jira/browse/AIRFLOW-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bolke de Bruin resolved AIRFLOW-1594. ------------------------------------- Resolution: Fixed Fix Version/s: 1.9.0 Issue resolved by pull request #2597 [https://github.com/apache/incubator-airflow/pull/2597] > Installing via pip copies test files into python library dirs > ------------------------------------------------------------- > > Key: AIRFLOW-1594 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1594 > Project: Apache Airflow > Issue Type: Improvement > Reporter: Ash Berlin-Taylor > Fix For: 1.9.0 > > > The default way of installing airflow is to run {{pip install apache-airflow}} and when done this ends up installing the tests.* modules. i.e. we have: > - /usr/local/lib/python3.6/site-packages/airflow/configuration.py (as we should) > - /usr/local/lib/python3.6/site-packages/tests/jobs.py etc. (which we shouldn't!) > A simple change to setup.py will fix this so we don't install the tests, but still include them when running the {{sdist}} command. -- This message was sent by Atlassian JIRA (v6.4.14#64029)