From 364e39051cb4fcb89a42e38af2b42e8eb7faee25 Mon Sep 17 00:00:00 2001 From: Casper Guo <89810860+Casper-Guo@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:33:08 -0400 Subject: [PATCH] MNT: Add python 3.12 to test (#469) --- .github/workflows/tests.yml | 2 +- pytest.ini | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3839e5fd9..a321f1be1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11'] + python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12'] name: Tests on ${{ matrix.python-version }} steps: - name: Setup python diff --git a/pytest.ini b/pytest.ini index d9f6b8845..5c25857b3 100644 --- a/pytest.ini +++ b/pytest.ini @@ -23,3 +23,10 @@ filterwarnings = # external, verified as not relevant # (10/2022) ignore:.*df.iloc.*will attempt to set the values inplace.*:FutureWarning + # external, datetime module deprecation + # (11/2023) + ignore:.*datetime\.datetime.utcnow\(\) is deprecated.*:DeprecationWarning + ignore:.*datetime\.datetime.utcfromtimestamp\(\) is deprecated.*:DeprecationWarning + # external, attribute removal planned for Python 3.14 + # (11/2023) + ignore:.*Attribute s is deprecated and will be removed in Python 3.14.*:DeprecationWarning