mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
[Dependencies] Move requirements.txt to requirements directory. (#13636)
This commit is contained in:
parent
0c3d9a3eaa
commit
25e1b78eed
5 changed files with 16 additions and 4 deletions
12
.github/dependabot.yml
vendored
12
.github/dependabot.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue