Skip to content

Commit

Permalink
Clean up CI (#273)
Browse files Browse the repository at this point in the history
* update ci

* cleanup

* address another warning

* fix warning
  • Loading branch information
blink1073 authored Nov 5, 2023
1 parent 7c0ee76 commit 05e0384
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
python_version: "3.7"
dependency_type: minimum

- name: Install normally
run: make install
Expand Down
2 changes: 2 additions & 0 deletions metakernel/magics/tests/test_parallel_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
import os
import time
import pytest
import sys

try:
import ipyparallel
except ImportError:
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:
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -59,6 +59,6 @@ filterwarnings= [
"ignore:There is no current event loop:DeprecationWarning",
# When we run ipcluster and then run the tests we get this warning
"ignore:Widget.* is deprecated:DeprecationWarning",
# Deprecated in Python 3.12. Warnings from use in jupyter_client.
"ignore:.*datetime.utcnow.* is deprecated:DeprecationWarning",
"module:datetime.datetime.utc:DeprecationWarning:dateutil",
"module:datetime.datetime.utc:DeprecationWarning:ipyparallel",
]

0 comments on commit 05e0384

Please sign in to comment.