Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Python 3.13 support #3210

Merged
merged 2 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,18 @@ jobs:
toxenv: py310-test
allow_failure: false

- name: Linux - Python 3.13
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is least controversial to just add a new basic job rather than attaching to remote data, Roman, or use a non-Linux env.

os: ubuntu-latest
python: '3.13'
toxenv: py313-test
allow_failure: false

# 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

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading