From 41e9ab1f6f2a8c6205c65ed5ec25100ee965fc1b Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Tue, 1 Oct 2024 17:44:53 -0400 Subject: [PATCH 1/2] TST: Add Linux job to use Python 3.13 Ignore DeprecationWarning from ipykernel. Add note about devdeps. --- .github/workflows/ci_workflows.yml | 7 +++++++ pyproject.toml | 1 + tox.ini | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index 76feaab5e0..4bc40ce88d 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -63,6 +63,13 @@ jobs: toxenv: py310-test allow_failure: false + - name: Linux - Python 3.13 + os: ubuntu-latest + python: '3.13' + toxenv: py313-test + allow_failure: false + + # FIXME: Upgrade to Python 3.13 after glue-viz/bqplot-image-gl#111 is resolved. # This also runs on cron but we want to make sure new changes # won't break this job at the PR stage. - name: Python 3.12 with latest dev versions of key dependencies, and remote data diff --git a/pyproject.toml b/pyproject.toml index f03840a362..87cffe5ede 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -140,6 +140,7 @@ filterwarnings = [ "ignore:datetime\\.datetime\\.utcfromtimestamp:DeprecationWarning", # asdf + dateutil<=2.8.2 + Python 3.12 "ignore:'audioop' is deprecated and slated for removal in Python 3.13", "ignore:Importing display from IPython.core.display is deprecated since IPython 7.14, please import from IPython.display", + "ignore:Parsing dates involving a day of month without a year:DeprecationWarning", # ipykernel<7 "ignore::DeprecationWarning:glue", "ignore::DeprecationWarning:asteval", "ignore:::specutils.spectra.spectrum1d", diff --git a/tox.ini b/tox.ini index e33e4b5c33..2bf9780ee6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{310,311,312}-test{,-alldeps,-devdeps,-predeps}{-romandeps,-straussdeps}{,-cov} + py{310,311,312,313}-test{,-alldeps,-devdeps,-predeps}{-romandeps,-straussdeps}{,-cov} linkcheck codestyle pep517 From 17cbfea3fef4cc125d7746894335360703b8739a Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:45:52 -0500 Subject: [PATCH 2/2] TST: Use Python 3.13 on devdeps --- .github/workflows/ci_workflows.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index 4bc40ce88d..eebe59a549 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -69,13 +69,12 @@ jobs: toxenv: py313-test allow_failure: false - # FIXME: Upgrade to Python 3.13 after glue-viz/bqplot-image-gl#111 is resolved. # This also runs on cron but we want to make sure new changes # won't break this job at the PR stage. - - name: Python 3.12 with latest dev versions of key dependencies, and remote data + - name: Python 3.13 with latest dev versions of key dependencies, and remote data os: ubuntu-latest - python: '3.12' - toxenv: py312-test-devdeps + python: '3.13' + toxenv: py313-test-devdeps toxposargs: --remote-data --run-slow allow_failure: true