From 6e9a10fa4a98c9e62c4c1f57b46a34a68984cba3 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sat, 4 Nov 2023 19:53:41 -0500 Subject: [PATCH] update ci --- .github/dependabot.yml | 6 ++++-- .github/workflows/tests.yml | 2 +- metakernel/magics/tests/test_parallel_magic.py | 2 ++ pyproject.toml | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f10a5bc..cbd920f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,8 +1,10 @@ version: 2 updates: - # Set update schedule for GitHub Actions - package-ecosystem: "github-actions" directory: "/" schedule: - # Check for updates to GitHub Actions every weekday + interval: "weekly" + - package-ecosystem: "pip" + directory: "/" + schedule: interval: "weekly" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 833dcdb..0451aad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] env: OS: ${{ matrix.os }} diff --git a/metakernel/magics/tests/test_parallel_magic.py b/metakernel/magics/tests/test_parallel_magic.py index bba7ece..f4d525a 100644 --- a/metakernel/magics/tests/test_parallel_magic.py +++ b/metakernel/magics/tests/test_parallel_magic.py @@ -3,6 +3,7 @@ import os import time import pytest +import sys try: import ipyparallel @@ -10,6 +11,7 @@ ipyparallel = None @pytest.mark.skipif(ipyparallel is None, reason="Requires ipyparallel") +@pytest.mark.skipif(sys.platform == 'darwin', reason="Fails on darwin") def test_parallel_magic(): kernel = get_kernel(EvalKernel) # start up an EvalKernel on each node: diff --git a/pyproject.toml b/pyproject.toml index 8dd18ae..1363e22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ "Topic :: System :: Shells", ] urls = {Homepage = "https://github.com/Calysto/metakernel"} -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ "ipykernel >=5.5.6", "jupyter_core >=4.9.2",