From 07cd69aa9fee9d08febaab39acc060c4a47e5d31 Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Sun, 11 Feb 2024 20:51:21 -0500 Subject: [PATCH 1/6] Update dependabot, actions, and the readme. (#976) * Test on the latest macos-14 runners. These should be faster than the current macos-latest. * Automatically update GitHub actions versions with dependabot. Adjust dependabot PRs to a weekly schedule with a limit on the active PRs to reduce noise. * Mention the discussion board in the README. * Use latest github actions versions. * Switch back to macos-latest on failing builds. --- .github/dependabot.yml | 18 ++++++++++++++++-- .github/workflows/publish-packages.yml | 4 ++-- .github/workflows/run-pytest.yml | 8 ++++---- README.md | 6 ++++-- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index bb634c642..556067724 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,21 @@ updates: - package-ecosystem: pip directory: "/" schedule: - interval: monthly - open-pull-requests-limit: 10 + interval: "weekly" + time: "07:00" + timezone: "EST5EDT" + open-pull-requests-limit: 2 reviewers: - glotzerlab/signac-maintainers +- package-ecosystem: "github-actions" + directory: "/" + target-branch: main + schedule: + interval: "weekly" + time: "07:00" + timezone: "EST5EDT" + pull-request-branch-name: + separator: "-" + reviewers: + - glotzerlab/signac-maintainers + open-pull-requests-limit: 2 diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index f0bff771d..711cd4fc0 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -17,9 +17,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" - name: Install dependencies diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 93c522fb2..6f7247c1d 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -52,16 +52,16 @@ jobs: os: 'ubuntu-latest' python: '3.12' dependencies: 'minimal' - - os: 'macos-latest' + - os: 'macos-14' python: '3.12' dependencies: 'minimal' - os: 'windows-latest' python: '3.12' dependencies: 'minimal' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Install newest dependencies @@ -87,6 +87,6 @@ jobs: - name: Test with pytest run: | pytest --cov=signac --cov-config=pyproject.toml --cov-report=xml tests/ -v - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index 2ed84e20f..395ea2fe5 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,10 @@ This makes it easier to operate on large data spaces, streamlines post-processin Examples, tutorials, topic guides, and package Python APIs. - [Package documentation](https://docs.signac.io/projects/core/): API reference for the **signac** package. -- [Slack Chat Support](https://signac.io/slack-invite/): - Get help and ask questions on the **signac** Slack workspace. +- [Discussion board](https://github.com/glotzerlab/signac/discussions/): + Ask the **signac** user community for help. +- [Slack workspace](https://signac.io/slack-invite/): + Chat about **signac**. - [**signac** website](https://signac.io/): Framework overview and news. From 1a13610a2a6456e2d92653802b32a13923bf599f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 08:13:06 -0500 Subject: [PATCH 2/6] Bump actions/upload-artifact from 3 to 4 (#977) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/publish-packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 711cd4fc0..ccc6b55f9 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -44,7 +44,7 @@ jobs: run: python -m pytest -v tests/ - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: release path: dist/ From d95500fb299e3f8423b797ec2168df809f446d50 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 08:13:19 -0500 Subject: [PATCH 3/6] Bump actions/download-artifact from 3 to 4 (#978) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/publish-packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index ccc6b55f9..720033bfe 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -54,7 +54,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: release path: dist/ From d11e60399e64d20f35e9320de7d1c828dea3bf1a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 08:13:30 -0500 Subject: [PATCH 4/6] Bump ruamel-yaml from 0.18.5 to 0.18.6 (#979) Bumps [ruamel-yaml]() from 0.18.5 to 0.18.6. --- updated-dependencies: - dependency-name: ruamel-yaml dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/requirements-test-optional.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/requirements-test-optional.txt b/requirements/requirements-test-optional.txt index f97d62f58..1f35a2abc 100644 --- a/requirements/requirements-test-optional.txt +++ b/requirements/requirements-test-optional.txt @@ -1,5 +1,5 @@ h5py==3.10.0; implementation_name=='cpython' numpy==1.26.3 pandas==2.2.0; implementation_name=='cpython' -ruamel.yaml==0.18.5 +ruamel.yaml==0.18.6 tables==3.9.2; implementation_name=='cpython' From d23b336c711d2fb5183a5e2ece1d7bc3761eb2b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 08:13:39 -0500 Subject: [PATCH 5/6] Bump numpy from 1.26.3 to 1.26.4 (#980) Bumps [numpy](https://github.com/numpy/numpy) from 1.26.3 to 1.26.4. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v1.26.3...v1.26.4) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/requirements-test-optional.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/requirements-test-optional.txt b/requirements/requirements-test-optional.txt index 1f35a2abc..a18efc5ef 100644 --- a/requirements/requirements-test-optional.txt +++ b/requirements/requirements-test-optional.txt @@ -1,5 +1,5 @@ h5py==3.10.0; implementation_name=='cpython' -numpy==1.26.3 +numpy==1.26.4 pandas==2.2.0; implementation_name=='cpython' ruamel.yaml==0.18.6 tables==3.9.2; implementation_name=='cpython' From c28bfb9b582bf9071aa7f613ec9ed7a59abd5401 Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Mon, 12 Feb 2024 11:37:37 -0500 Subject: [PATCH 6/6] Remove ruamel.yaml dependency. (#981) * Remove ruamel.yaml dependency. It is not used anywhere in the codebase. * Update changelog --------- Co-authored-by: Corwin Kerr --- changelog.txt | 5 +++++ requirements/requirements-test-optional.txt | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 671ccdd94..63c7af8cd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -27,6 +27,11 @@ Fixed - Fixed parsing of ``$not`` query expressions on command line (#970). +Removed ++++++++ + + - Unused ``ruamel.yaml`` dependency (#981). + [2.1.0] -- 2023-07-12 --------------------- diff --git a/requirements/requirements-test-optional.txt b/requirements/requirements-test-optional.txt index a18efc5ef..fa7b27152 100644 --- a/requirements/requirements-test-optional.txt +++ b/requirements/requirements-test-optional.txt @@ -1,5 +1,4 @@ h5py==3.10.0; implementation_name=='cpython' numpy==1.26.4 pandas==2.2.0; implementation_name=='cpython' -ruamel.yaml==0.18.6 tables==3.9.2; implementation_name=='cpython'