You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/08/13 09:14:55 UTC

[airflow] branch main updated: Remove redundant ``numpy`` dependency (#17594)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 6b327c1  Remove  redundant ``numpy`` dependency (#17594)
6b327c1 is described below

commit 6b327c14f773e265d9c54551d9ca273ac7350fdb
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Fri Aug 13 10:14:30 2021 +0100

    Remove  redundant ``numpy`` dependency (#17594)
    
    Missed removing ``numpy`` from `setup.cfg` in https://github.com/apache/airflow/pull/17575. It was only added in setup.cfg in https://github.com/apache/airflow/pull/15209/files#diff-380c6a8ebbbce17d55d50ef17d3cf906
    
    numpy already has `python_requires` metadata: https://github.com/numpy/numpy/blob/v1.20.3/setup.py#L473
    
    so we don't need to set `numpy<1.20;python_version<"3.7"`
---
 setup.cfg | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index 69ad425..0febc0c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -121,9 +121,6 @@ install_requires =
     markdown>=2.5.2, <4.0
     markupsafe>=1.1.1, <2.0
     marshmallow-oneofschema>=2.0.1
-    # Numpy stopped releasing 3.6 binaries for 1.20.* series.
-    numpy<1.20;python_version<"3.7"
-    numpy;python_version>="3.7"
     # Required by vendored-in connexion
     openapi-spec-validator>=0.2.4
     pendulum~=2.0