From 4d94ab3008ae597f53afca9000866d345b650bdb Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Thu, 9 Nov 2023 09:02:51 -0500 Subject: [PATCH 1/2] Test against Python 3.12 --- .github/workflows/test-nonetwork.yml | 1 + .github/workflows/test.yml | 1 + setup.cfg | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/test-nonetwork.yml b/.github/workflows/test-nonetwork.yml index ff254a4..912d5c8 100644 --- a/.github/workflows/test-nonetwork.yml +++ b/.github/workflows/test-nonetwork.yml @@ -23,6 +23,7 @@ jobs: - 3.9 - '3.10' - '3.11' + - '3.12' steps: - name: Set up environment uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6fb129e..0eaf12d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,6 +24,7 @@ jobs: - 3.9 - '3.10' - '3.11' + - '3.12' steps: - name: Set up environment uses: actions/checkout@v4 diff --git a/setup.cfg b/setup.cfg index b892b0a..ff3369b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Scientific/Engineering license = Apache 2.0 description = Schemata for DANDI archive project From d49cd8054358c9cefc880038b7ebdd7d37ffd348 Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Thu, 9 Nov 2023 09:18:01 -0500 Subject: [PATCH 2/2] Ignore deprecation warning from dependency --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9a476a1..43b8ba1 100644 --- a/tox.ini +++ b/tox.ini @@ -30,7 +30,10 @@ commands = [pytest] addopts = --cov=dandischema --tb=short --durations=10 -filterwarnings = error +filterwarnings = + error + # + ignore:.*utcfromtimestamp.* is deprecated:DeprecationWarning:dateutil [coverage:run] parallel = True