Skip to content

Commit

Permalink
Merge branch 'dev' into precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Feb 7, 2024
2 parents 5d2d534 + bff165f commit b69d823
Show file tree
Hide file tree
Showing 13 changed files with 70 additions and 82 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ jobs:

- name: Install dependencies
run: |
python -m pip install -U pip
pip install ".[arrow]"
pip install -r requirements/requirements-docs.txt
pip install -r requirements/requirements-mxnet.txt
pip install -r requirements/requirements-pytorch.txt
pip install -r requirements/requirements-rotbaum.txt
pip install -r requirements/requirements-extras-statsforecast.txt
pip install ".[arrow]" \
-r requirements/requirements-docs.txt \
-r requirements/requirements-mxnet.txt \
-r requirements/requirements-pytorch.txt \
-r requirements/requirements-rotbaum.txt \
-r requirements/requirements-extras-statsforecast.txt
- name: Install Pandoc
run: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/doctests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install other dependencies
run: |
python -m pip install -U pip
pip install -e .
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-arrow.txt
pip install -e . \
-r requirements/requirements-test.txt \
-r requirements/requirements-arrow.txt
- name: Test with pytest
run: |
pytest -n2 --doctest-modules \
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/mxnet_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,16 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install pip==20.2
pip install pip==20.2
pip install --pre "mxnet<2" -f https://dist.mxnet.io/python
pip install torch==1.10.0+cpu --no-cache-dir -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install pytorch-lightning~=1.5
pip install -e ".[shell]"
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-sagemaker-sdk.txt
pip install -r requirements/requirements-extras-m-competitions.txt
pip install -r requirements/requirements-rotbaum.txt
pip install -r requirements/requirements-extras-anomaly-evaluation.txt
pip install -r requirements/requirements-extras-autogluon.txt
pip install "torch==1.10.0" "pytorch-lightning~=1.5" -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install -e ".[shell]" \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-sagemaker-sdk.txt \
-r requirements/requirements-extras-m-competitions.txt \
-r requirements/requirements-rotbaum.txt \
-r requirements/requirements-extras-anomaly-evaluation.txt \
-r requirements/requirements-extras-autogluon.txt
- name: Test with pytest
run: |
pytest -m 'not (gpu or serial)' --cov src/gluonts --cov-report=term --cov-report xml test
21 changes: 10 additions & 11 deletions .github/workflows/test_release_unix_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,16 @@ jobs:
run: |
git clone https://github.com/awslabs/gluonts --branch $(curl https://api.github.com/repos/awslabs/gluonts/releases/latest | grep tag_name | cut -d : -f 2,3 | tr -d \"\ | tr -d \,\ )
cd gluon-ts
python -m pip install pip==20.2
pip install mxnet~=1.8.0
pip install torch==1.10.0+cpu --no-cache-dir -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install pytorch-lightning~=1.5
pip install -e ".[shell]"
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-sagemaker-sdk.txt
pip install -r requirements/requirements-extras-m-competitions.txt
pip install -r requirements/requirements-rotbaum.txt
pip install -r requirements/requirements-extras-anomaly-evaluation.txt
pip install -r requirements/requirements-extras-autogluon.txt
pip install pip==20.2
pip install "mxnet~=1.8.0" "torch==1.10.0" "pytorch-lightning~=1.5" \
-f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install -e ".[shell]" \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-sagemaker-sdk.txt \
-r requirements/requirements-extras-m-competitions.txt \
-r requirements/requirements-rotbaum.txt \
-r requirements/requirements-extras-anomaly-evaluation.txt \
-r requirements/requirements-extras-autogluon.txt
- name: Test with pytest
run: |
cd gluon-ts
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/test_release_win32_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,14 @@ jobs:
$tmp=$tmp.psobject.properties.value.trim()
git clone https://github.com/awslabs/gluonts --branch $tmp
cd gluon-ts
python -m pip install -U pip
pip install mxnet~=1.7.0
pip install torch
pip install pytorch-lightning~=1.5
pip install -e ".[shell]"
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-sagemaker-sdk.txt
pip install -r requirements/requirements-extras-m-competitions.txt
pip install -r requirements/requirements-rotbaum.txt
pip install -r requirements/requirements-extras-anomaly-evaluation.txt
pip install -r requirements/requirements-extras-autogluon.txt
pip install "mxnet~=1.7.0" torch "pytorch-lightning~=1.5"
pip install -e ".[shell]" \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-sagemaker-sdk.txt \
-r requirements/requirements-extras-m-competitions.txt \
-r requirements/requirements-rotbaum.txt \
-r requirements/requirements-extras-anomaly-evaluation.txt \
-r requirements/requirements-extras-autogluon.txt
shell: powershell
- name: Test with pytest
run: |
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/tests-nixtla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install other dependencies
run: |
python -m pip install -U pip
pip install .
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-statsforecast.txt
pip install -r requirements/requirements-extras-hierarchicalforecast.txt
pip install . \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-statsforecast.txt \
-r requirements/requirements-extras-hierarchicalforecast.txt
- name: Test with pytest
run: |
pytest -n2 --doctest-modules test/ext/statsforecast
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/tests-nursery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@ jobs:
run: pip install mxnet~=1.7.0
- name: Install other dependencies
run: |
python -m pip install -U pip
pip install torch==1.10.0+cpu --no-cache-dir -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install pytorch-lightning~=1.5
pip install -e ".[shell]"
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-sagemaker-sdk.txt
pip install -r requirements/requirements-extras-m-competitions.txt
pip install -r requirements/requirements-extras-anomaly-evaluation.txt
pip install -r requirements/requirements-extras-autogluon.txt
pip install "torch==1.10.0" "pytorch-lightning~=1.5" \
-f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install
pip install -e ".[shell]" \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-sagemaker-sdk.txt \
-r requirements/requirements-extras-m-competitions.txt \
-r requirements/requirements-rotbaum.txt \
-r requirements/requirements-extras-anomaly-evaluation.txt \
-r requirements/requirements-extras-autogluon.txt
- name: Test with pytest
run: |
pytest -n2 --doctest-modules test/nursery
7 changes: 3 additions & 4 deletions .github/workflows/tests-prophet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install other dependencies
run: |
python -m pip install -U pip
pip install .
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-prophet.txt
pip install . \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-prophet.txt
- name: Test with pytest
run: |
pytest -n2 --doctest-modules test/ext/prophet
7 changes: 3 additions & 4 deletions .github/workflows/tests-r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install -U pip
pip install .
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-r.txt
pip install . \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-r.txt
- name: Test with pytest
run: |
pytest -n2 test/ext/r_forecast
11 changes: 5 additions & 6 deletions .github/workflows/tests-torch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U pip
pip install ".[arrow]"
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-m-competitions.txt
pip install -r requirements/requirements-pytorch.txt
pip install -r requirements/requirements-extras-cpflows.txt
pip install ".[arrow]" \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-m-competitions.txt \
-r requirements/requirements-pytorch.txt \
-r requirements/requirements-extras-cpflows.txt
- name: Test with pytest
run: |
pytest -n2 --doctest-modules --ignore test/nursery test
11 changes: 5 additions & 6 deletions .github/workflows/tests-xgboost.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install other dependencies
run: |
python -m pip install -U pip setuptools wheel
python -m pip install -U "Cython<3.0"
pip install .
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-rotbaum.txt
pip install -r requirements/requirements-rotbaum-extra-methods.txt
pip install "Cython<3.0"
pip install . \
-r requirements/requirements-test.txt \
-r requirements/requirements-rotbaum.txt \
-r requirements/requirements-rotbaum-extra-methods.txt
- name: Test with pytest
run: |
pytest -n2 --timeout 120 --doctest-modules test/ext/rotbaum
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install other dependencies
run: |
python -m pip install -U pip
pip install ".[mxnet,arrow,shell]"
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-m-competitions.txt
pip install ".[mxnet,arrow,shell]" \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-m-competitions.txt
- name: Test with pytest
run: |
pytest -n2 --doctest-modules --ignore test/nursery test
2 changes: 1 addition & 1 deletion requirements/requirements-rotbaum-extra-methods.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
lightgbm>=2.3.1
scikit-garden>=0.1.2
# scikit-garden @ https://github.com/scikit-garden/scikit-garden/archive/refs/heads/master.zip

0 comments on commit b69d823

Please sign in to comment.