[Dependencies] Move requirements.txt to requirements directory. (#13636)

This commit is contained in:
Amog Kamsetty 2021-01-22 16:29:05 -08:00 committed by GitHub
parent 0c3d9a3eaa
commit 25e1b78eed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 4 deletions

View file

@ -21,3 +21,15 @@ updates:
open-pull-requests-limit: 3
reviewers:
- "ray-project/ray-tune"
ignore:
# Ignore pinned dependencies in requirements.txt.
- dependency-name: aiohttp
- dependency-name: msgpack
- dependency-name: opencv-python-headless
- dependency-name: pandas
- dependency-name: scipy
- dependency-name: pydantic
- dependency-name: cython
- dependency-name: llmvlite
- dependency-name: pytest
- dependency-name: scikit-learn

View file

@ -274,7 +274,7 @@ install_dependencies() {
local status="0";
local errmsg="";
for _ in {1..3}; do
errmsg=$(CC=gcc pip install -r "${WORKSPACE_DIR}"/python/requirements.txt 2>&1) && break;
errmsg=$(CC=gcc pip install -r "${WORKSPACE_DIR}"/python/requirements/requirements.txt 2>&1) && break;
status=$errmsg && echo "'pip install ...' failed, will retry after n seconds!" && sleep 30;
done
if [ "$status" != "0" ]; then

View file

@ -1,5 +1,5 @@
# Use base requirements to constrain these requirements.
-c ../requirements.txt
-c ./requirements.txt
ax-platform==0.1.9; python_version < '3.7'
ax-platform==0.1.19; python_version >= '3.7'

View file

@ -92,7 +92,7 @@ ray_files += [
]
# If you're adding dependencies for ray extras, please
# also update the matching section of requirements.txt
# also update the matching section of requirements/requirements.txt
# in this directory
extras = {
"serve": [
@ -120,7 +120,7 @@ extras["all"] = list(set(chain.from_iterable(extras.values())))
# These are the main dependencies for users of ray. This list
# should be carefully curated. If you change it, please reflect
# the change in the matching section of requirements.txt
# the change in the matching section of requirements/requirements.txt
install_requires = [
# TODO(alex) Pin the version once this PR is
# included in the stable release.