From 40ab14a781b14fe8cfaaddd077d149ce8d887325 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 17:33:48 +0000 Subject: [PATCH 1/2] Bump OpenAstronomy/github-actions-workflows Bumps the actions group in /.github/workflows with 1 update: [OpenAstronomy/github-actions-workflows](https://github.com/openastronomy/github-actions-workflows). Updates `OpenAstronomy/github-actions-workflows` from 2.1.0 to 2.2.1 - [Release notes](https://github.com/openastronomy/github-actions-workflows/releases) - [Commits](https://github.com/openastronomy/github-actions-workflows/compare/86823142467dd2afcd1bbac57d3a664cf468eb3b...28e947497bed4d6ec3fa1d66d198e95a1d17bc63) --- updated-dependencies: - dependency-name: OpenAstronomy/github-actions-workflows dependency-version: 2.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/ci_workflows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index e90e053..94a2c25 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -14,7 +14,7 @@ concurrency: jobs: tests: - uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@86823142467dd2afcd1bbac57d3a664cf468eb3b # v2.1.0 + uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@28e947497bed4d6ec3fa1d66d198e95a1d17bc63 # v2.2.1 with: envs: | - linux: codestyle @@ -31,7 +31,7 @@ jobs: - linux: py312-test-devdeps publish: needs: tests - uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@86823142467dd2afcd1bbac57d3a664cf468eb3b # v2.1.0 + uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@28e947497bed4d6ec3fa1d66d198e95a1d17bc63 # v2.2.1 with: test_extras: test test_command: pytest $GITHUB_WORKSPACE/tests; pytest --arraydiff $GITHUB_WORKSPACE/tests From 55584f79578e30d57c22cf47c5421cc19c59724f Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Fri, 1 Aug 2025 15:10:05 -0400 Subject: [PATCH 2/2] TST: Skip HDF5 test if no tables --- tests/test_pytest_arraydiff.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_pytest_arraydiff.py b/tests/test_pytest_arraydiff.py index 31c12cb..11a191b 100644 --- a/tests/test_pytest_arraydiff.py +++ b/tests/test_pytest_arraydiff.py @@ -24,6 +24,7 @@ def test_succeeds_func_text(): @pytest.mark.skipif(not NUMPY_LT_2_0, reason="AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use `np.str_` instead.") @pytest.mark.array_compare(file_format='pd_hdf', reference_dir=reference_dir) def test_succeeds_func_pdhdf(): + pytest.importorskip('tables') # Need this "optional" dependency pd = pytest.importorskip('pandas') return pd.DataFrame(data=np.arange(20, dtype='int64'), columns=['test_data'])