Skip to content

Commit

Permalink
Remove redundant numpy dependency (#17594)
Browse files Browse the repository at this point in the history
Missed removing ``numpy`` from `setup.cfg` in #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"`
  • Loading branch information
kaxil committed Aug 13, 2021
1 parent 57d60d2 commit 6b327c1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b327c1

Please sign in to comment.