From 9bdabc8f5565bd32a57ea9fe8c04308fa76d2250 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 9 Oct 2023 19:48:27 -0500 Subject: [PATCH 1/3] test on py312 --- .github/workflows/main.yml | 8 ++++---- pyproject.toml | 6 +----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e47033e..7f47e12a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,16 +38,16 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.8", "3.11"] + python-version: ["3.8", "3.12"] include: - os: windows-latest - python-version: "3.9" + python-version: "3.11" - os: ubuntu-latest - python-version: "pypy-3.8" + python-version: "pypy-3.9" - os: ubuntu-latest python-version: "3.10" - os: macos-latest - python-version: "3.8" + python-version: "3.9" steps: - uses: actions/checkout@v4 - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 diff --git a/pyproject.toml b/pyproject.toml index 34c25101..d9e0af76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,11 +16,7 @@ classifiers = [ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3" ] requires-python = ">=3.8" dependencies = [ From 564e9d54c442607e7cec1a26e84f2cad8abc6cd5 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 9 Oct 2023 20:04:22 -0500 Subject: [PATCH 2/3] ignore datetime warnings --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d9e0af76..350f77f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,9 @@ dependencies = [ "pyzmq>=23.0", "tornado>=6.2", "traitlets>=5.3", + # from python-dateutil + "ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning", + "ignore:datetime.datetime.utcnow:DeprecationWarning", ] [[project.authors]] From 76ce3b0dc65aeb10682d92f4006ae33a108c952b Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 9 Oct 2023 20:12:04 -0500 Subject: [PATCH 3/3] ignore datetime warnings --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 350f77f8..e716c121 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,9 +26,6 @@ dependencies = [ "pyzmq>=23.0", "tornado>=6.2", "traitlets>=5.3", - # from python-dateutil - "ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning", - "ignore:datetime.datetime.utcnow:DeprecationWarning", ] [[project.authors]] @@ -142,6 +139,9 @@ timeout_method = "thread" filterwarnings= [ # Fail on warnings "error", + # from python-dateutil + "ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning", + "ignore:datetime.datetime.utcnow:DeprecationWarning", ] [tool.coverage.report]