From d3f5add210293a4832dafb85f04cbb73149b9d54 Mon Sep 17 00:00:00 2001 From: Ashwin Srinath <3190405+shwina@users.noreply.github.com> Date: Tue, 9 Feb 2021 10:06:08 -0500 Subject: [PATCH 1/3] Unpin from numpy < 1.20 (#7335) Authors: - Ashwin Srinath (@shwina) Approvers: - Keith Kraus (@kkraus14) - @jakirkham - Ray Douglass (@raydouglass) URL: https://github.com/rapidsai/cudf/pull/7335 --- ci/gpu/build.sh | 4 ++-- conda/environments/cudf_dev_cuda10.1.yml | 2 +- conda/environments/cudf_dev_cuda10.2.yml | 2 +- conda/environments/cudf_dev_cuda11.0.yml | 2 +- conda/recipes/cudf/meta.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/gpu/build.sh b/ci/gpu/build.sh index fa74092809d..581328a48a9 100755 --- a/ci/gpu/build.sh +++ b/ci/gpu/build.sh @@ -83,7 +83,7 @@ gpuci_conda_retry install -y \ # https://docs.rapids.ai/maintainers/depmgmt/ # gpuci_conda_retry remove --force rapids-build-env rapids-notebook-env -gpuci_conda_retry install -y "numpy<1.20" +# gpuci_conda_retry install -y "your-pkg=1.0.0" gpuci_logger "Check compiler versions" @@ -220,4 +220,4 @@ gpuci_logger "Test notebooks" ${WORKSPACE}/ci/gpu/test-notebooks.sh 2>&1 | tee nbtest.log python ${WORKSPACE}/ci/utils/nbtestlog2junitxml.py nbtest.log -return ${EXITCODE} \ No newline at end of file +return ${EXITCODE} diff --git a/conda/environments/cudf_dev_cuda10.1.yml b/conda/environments/cudf_dev_cuda10.1.yml index 3d5402e5748..b810b87111a 100644 --- a/conda/environments/cudf_dev_cuda10.1.yml +++ b/conda/environments/cudf_dev_cuda10.1.yml @@ -16,7 +16,7 @@ dependencies: - cmake_setuptools>=0.1.3 - python>=3.6,<3.8 - numba>=0.49.0,!=0.51.0 - - numpy<1.20 + - numpy - pandas>=1.0,<1.2.0dev0 - pyarrow=1.0.1 - fastavro>=0.22.9 diff --git a/conda/environments/cudf_dev_cuda10.2.yml b/conda/environments/cudf_dev_cuda10.2.yml index 781fe0e0bbc..b4e95bc6730 100644 --- a/conda/environments/cudf_dev_cuda10.2.yml +++ b/conda/environments/cudf_dev_cuda10.2.yml @@ -16,7 +16,7 @@ dependencies: - cmake_setuptools>=0.1.3 - python>=3.6,<3.8 - numba>=0.49,!=0.51.0 - - numpy<1.20 + - numpy - pandas>=1.0,<1.2.0dev0 - pyarrow=1.0.1 - fastavro>=0.22.9 diff --git a/conda/environments/cudf_dev_cuda11.0.yml b/conda/environments/cudf_dev_cuda11.0.yml index 78a43899b0c..3b21f00ab16 100644 --- a/conda/environments/cudf_dev_cuda11.0.yml +++ b/conda/environments/cudf_dev_cuda11.0.yml @@ -16,7 +16,7 @@ dependencies: - cmake_setuptools>=0.1.3 - python>=3.6,<3.8 - numba>=0.49,!=0.51.0 - - numpy<1.20 + - numpy - pandas>=1.0,<1.2.0dev0 - pyarrow=1.0.1 - fastavro>=0.22.9 diff --git a/conda/recipes/cudf/meta.yaml b/conda/recipes/cudf/meta.yaml index b24fc0f15cf..c5f7bd34c25 100644 --- a/conda/recipes/cudf/meta.yaml +++ b/conda/recipes/cudf/meta.yaml @@ -38,7 +38,7 @@ requirements: - pandas >=1.0,<1.2.0dev0 - cupy >7.1.0,<9.0.0a0 - numba >=0.49.0 - - numpy <1.20 + - numpy - {{ pin_compatible('pyarrow', max_pin='x.x.x') }} - fastavro >=0.22.0 - {{ pin_compatible('rmm', max_pin='x.x') }} From 26c2dfed5654c5a093df2cba7047f1e43eabfa71 Mon Sep 17 00:00:00 2001 From: Jordan Jacobelli Date: Tue, 16 Feb 2021 20:52:17 +0100 Subject: [PATCH 2/3] Add GHA to mark issues/prs as stale/rotten (#7388) Issues and PRs without activity for 30d will be marked as stale. If there is no activity for 90d, they will be marked as rotten. Authors: - Jordan Jacobelli (@Ethyling) Approvers: - Dillon Cullinan (@dillon-cullinan) URL: https://github.com/rapidsai/cudf/pull/7388 --- .github/workflows/stale.yaml | 65 ++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 00000000000..3b7de7ec699 --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,65 @@ +name: Mark stale and rotten issues and pull requests + +on: + schedule: + - cron: "0 * * * *" + +jobs: + mark-stale-issues: + runs-on: ubuntu-latest + steps: + - name: Mark Issues as Stale + uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: > + This issue has been marked stale due to no recent activity in the past 30d. + Please close this issue if no further response or action is needed. + Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. + This issue will be marked rotten if there is no activity in the next 60d. + stale-issue-label: "stale" + days-before-issue-stale: 30 + days-before-issue-close: -1 + mark-stale-prs: + runs-on: ubuntu-latest + steps: + - name: Mark PRs as Stale + uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-pr-message: > + This PR has been marked stale due to no recent activity in the past 30d. + Please close this PR if it is no longer required. + Otherwise, please respond with a comment indicating any updates. + This PR will be marked rotten if there is no activity in the next 60d. + stale-pr-label: "stale" + days-before-pr-stale: 30 + days-before-pr-close: -1 + mark-rotten-issues: + runs-on: ubuntu-latest + steps: + - name: Mark Issues as Rotten + uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: > + This issue has been marked rotten due to no recent activity in the past 90d. + Please close this issue if no further response or action is needed. + Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. + stale-issue-label: "rotten" + days-before-issue-stale: 90 + days-before-issue-close: -1 + mark-rotten-prs: + runs-on: ubuntu-latest + steps: + - name: Mark PRs as Rotten + uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-pr-message: > + This PR has been marked rotten due to no recent activity in the past 90d. + Please close this PR if it is no longer required. + Otherwise, please respond with a comment indicating any updates. + stale-pr-label: "rotten" + days-before-pr-stale: 90 + days-before-pr-close: -1 From 53ed28e91c71bd5f7413949c8cdaf0e3bbd0b5b8 Mon Sep 17 00:00:00 2001 From: Mike Wendt <1915404+mike-wendt@users.noreply.github.com> Date: Tue, 16 Feb 2021 21:44:16 -0500 Subject: [PATCH 3/3] Update stale GHA with exemptions & new labels (#7395) Follows #7388 Updates the stale GHA with the following changes: - [x] Uses `inactive-30d` and `inactive-90d` labels instead of `stale` and `rotten` - [x] Updates comments to reflect changes in labels - [x] Exempts the following labels from being marked `inactive-30d` or `inactive-90d` - `0 - Blocked` - `0 - Backlog` - `good first issue` Authors: - Mike Wendt (@mike-wendt) Approvers: - Keith Kraus (@kkraus14) - Ray Douglass (@raydouglass) URL: https://github.com/rapidsai/cudf/pull/7395 --- .github/workflows/stale.yaml | 50 +++++++++++++++--------------------- 1 file changed, 21 insertions(+), 29 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 3b7de7ec699..741e159fbd8 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -1,65 +1,57 @@ -name: Mark stale and rotten issues and pull requests +name: Mark inactive issues and pull requests on: schedule: - cron: "0 * * * *" jobs: - mark-stale-issues: + mark-inactive-30d: runs-on: ubuntu-latest steps: - - name: Mark Issues as Stale + - name: Mark 30 day inactive issues uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: > - This issue has been marked stale due to no recent activity in the past 30d. + This issue has been labeled `inactive-30d` due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. - This issue will be marked rotten if there is no activity in the next 60d. - stale-issue-label: "stale" + This issue will be labeled `inactive-90d` if there is no activity in the next 60 days. + stale-issue-label: "inactive-30d" + exempt-issue-labels: "0 - Blocked,0 - Backlog,good first issue" days-before-issue-stale: 30 days-before-issue-close: -1 - mark-stale-prs: - runs-on: ubuntu-latest - steps: - - name: Mark PRs as Stale - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} stale-pr-message: > - This PR has been marked stale due to no recent activity in the past 30d. + This PR has been labeled `inactive-30d` due to no recent activity in the past 30 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. - This PR will be marked rotten if there is no activity in the next 60d. - stale-pr-label: "stale" + This PR will be labeled `inactive-90d` if there is no activity in the next 60 days. + stale-pr-label: "inactive-30d" + exempt-pr-labels: "0 - Blocked,0 - Backlog,good first issue" days-before-pr-stale: 30 days-before-pr-close: -1 - mark-rotten-issues: + operations-per-run: 50 + mark-inactive-90d: runs-on: ubuntu-latest steps: - - name: Mark Issues as Rotten + - name: Mark 90 day inactive issues uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: > - This issue has been marked rotten due to no recent activity in the past 90d. + This issue has been labeled `inactive-90d` due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. - stale-issue-label: "rotten" + stale-issue-label: "inactive-90d" + exempt-issue-labels: "0 - Blocked,0 - Backlog,good first issue" days-before-issue-stale: 90 days-before-issue-close: -1 - mark-rotten-prs: - runs-on: ubuntu-latest - steps: - - name: Mark PRs as Rotten - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} stale-pr-message: > - This PR has been marked rotten due to no recent activity in the past 90d. + This PR has been labeled `inactive-90d` due to no recent activity in the past 90 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. - stale-pr-label: "rotten" + stale-pr-label: "inactive-90d" + exempt-pr-labels: "0 - Blocked,0 - Backlog,good first issue" days-before-pr-stale: 90 days-before-pr-close: -1 + operations-per-run: 50