Skip to content

Commit

Permalink
add tests with python 3.12 (skrub-data#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromedockes authored Dec 11, 2023
1 parent 43848ef commit 063a086
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
# Install the min or latest dependencies for skrub
# as defined in setup.cfg at [options.extra_require].
#
Expand All @@ -54,6 +54,8 @@ jobs:
python-version: "3.11"
- dependencies-version: "dev, polars"
python-version: "3.11"
- dependencies-version: "dev, polars"
python-version: "3.12"
- dependencies-version: "dev, min-py310"
python-version: "3.10"
dependencies-version-type: "minimal"
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ filterwarnings = [
# Ignore warning from np.in1d since the future behavior is already the desired
# behavior. TODO remove when numpy min version >= 1.25.
'ignore:elementwise\ comparison\ failed:FutureWarning',
# TODO remove when pandas min version >= 2.2.0
'ignore:.*utcfromtimestamp\(\) is deprecated.*:DeprecationWarning',
# TODO remove when joblib min version >= 1.4.0
'ignore:.*ast\.Num is deprecated.*:DeprecationWarning',
# TODO remove when joblib min version >= 1.4.0
'ignore:.*ast\.NameConstant is deprecated.*:DeprecationWarning',
# TODO remove when joblib min version >= 1.4.0
'ignore:.*Attribute n is deprecated.*:DeprecationWarning',
]
addopts = "--doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers =
Operating System :: OS Independent
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering
Topic :: Software Development :: Libraries
project_urls =
Expand Down

0 comments on commit 063a086

Please sign in to comment.