# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#
# build and install are separated so changes to build don't invalidate
# the whole docker cache for the image

# Required dependencies
numpy>=1.17,<1.20.0
requests>=2.20.0,<3
graphviz<0.9.0,>=0.8.1
contextvars;python_version<"3.7"

# Optional dependencies
onnx==1.8.0
onnxruntime==1.7.0
protobuf==3.14.0
scipy==1.4.1
tabulate==0.7.5
Cython==0.29.24

# Development dependencies
cpplint==1.3.0
pylint<3,>=2.8.3 # pylint and astroid need to be aligned
astroid<2.9,>=2.8.0  # pylint and astroid need to be aligned
pytest==6.1.2
pytest-env==0.6.2
pytest-cov==2.10.1
pytest-xdist==2.1.0
pytest-timeout==1.4.2
pytest-rerunfailures==10.2
flaky==3.7.0
setuptools==49.6.0  # https://github.com/pypa/setuptools/issues/2352
wheel

# TVM dependencies
decorator==4.4.0

# Used in examples
boto3==1.9.229
h5py==2.10.0

# Array API Standardization requirements
hypothesis==6.14.0

# Static code checker for CMake files
cmakelint==1.4.1

# Prospector - Python Static Analysis
prospector==1.5.1

# pyflakes - passive checker of Python programs
pyflakes<2.4.0,>=2.2.0
