From e005cf36f015baffd0dc28fb2cc4e05d3d364e51 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] 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 14beb14f6a..b6bfb9f609 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -135,6 +135,7 @@ filterwarnings = [ "ignore:The unit 'Angstrom' has been deprecated in the VOUnit standard\\. Suggested.* 0\\.1nm\\.", "ignore:((.|\n)*)Sentinel is not a public part of the traitlets API((.|\n)*)", "ignore:datetime\\.datetime\\.utcfromtimestamp:DeprecationWarning", # asdf + dateutil<=2.8.2 + Python 3.12 + "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 07eecb30c0..d3a604ff09 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{310,311,312}-test{,-alldeps,-devdeps,-predeps}{-romandeps}{,-cov} + py{310,311,312,313}-test{,-alldeps,-devdeps,-predeps}{-romandeps}{,-cov} linkcheck codestyle pep517