Skip to content

Commit 7404439

Browse files
authored
Test on python 3.12 (#978)
* test on py312 * ignore datetime warnings * ignore datetime warnings
1 parent 79168bb commit 7404439

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ jobs:
3838
fail-fast: false
3939
matrix:
4040
os: [ubuntu-latest, windows-latest, macos-latest]
41-
python-version: ["3.8", "3.11"]
41+
python-version: ["3.8", "3.12"]
4242
include:
4343
- os: windows-latest
44-
python-version: "3.9"
44+
python-version: "3.11"
4545
- os: ubuntu-latest
46-
python-version: "pypy-3.8"
46+
python-version: "pypy-3.9"
4747
- os: ubuntu-latest
4848
python-version: "3.10"
4949
- os: macos-latest
50-
python-version: "3.8"
50+
python-version: "3.9"
5151
steps:
5252
- uses: actions/checkout@v4
5353
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ classifiers = [
1616
"License :: OSI Approved :: BSD License",
1717
"Operating System :: OS Independent",
1818
"Programming Language :: Python",
19-
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.8",
21-
"Programming Language :: Python :: 3.9",
22-
"Programming Language :: Python :: 3.10",
23-
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3"
2420
]
2521
requires-python = ">=3.8"
2622
dependencies = [
@@ -143,6 +139,9 @@ timeout_method = "thread"
143139
filterwarnings= [
144140
# Fail on warnings
145141
"error",
142+
# from python-dateutil
143+
"ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning",
144+
"ignore:datetime.datetime.utcnow:DeprecationWarning",
146145
]
147146

148147
[tool.coverage.report]

0 commit comments

Comments
 (0)