Skip to content

Commit

Permalink
Replace deprecated distutils dependency (#477)
Browse files Browse the repository at this point in the history
Replace distutils with sysconfig and add Python3.12 to CI tests. distutils was removed in python3.12
  • Loading branch information
jo-basevi committed Aug 5, 2024
1 parent c83489e commit 83001a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# Run the job for different versions of python
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
2 changes: 1 addition & 1 deletion payu/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""

import argparse
from distutils import sysconfig
import sysconfig
import importlib
import os
import pkgutil
Expand Down

0 comments on commit 83001a2

Please sign in to comment.