Skip to content

Commit de45c7a

Browse files
authored
Support python 3.12 (#1185)
1 parent 07f7437 commit de45c7a

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, windows-latest, macos-latest]
25-
python-version: ["3.8", "3.11"]
25+
python-version: ["3.8", "3.12"]
2626
include:
2727
- os: windows-latest
2828
python-version: "3.9"
2929
- os: ubuntu-latest
30-
python-version: "pypy-3.8"
30+
python-version: "pypy-3.9"
3131
- os: macos-latest
3232
python-version: "3.10"
3333
- os: ubuntu-latest
34-
python-version: "3.8"
34+
python-version: "3.11"
3535
steps:
3636
- name: Checkout
3737
uses: actions/checkout@v4
@@ -153,11 +153,11 @@ jobs:
153153

154154
- name: List installed packages
155155
run: |
156-
hatch run test:list
156+
hatch -v run test:list
157157
158158
- name: Run the unit tests
159159
run: |
160-
hatch run test:nowarn || hatch run test:nowarn --lf
160+
hatch -v run test:nowarn || hatch run test:nowarn --lf
161161
162162
test_prereleases:
163163
name: Test Prereleases

pyproject.toml

+4-5
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ classifiers = [
1717
"License :: OSI Approved :: BSD License",
1818
"Programming Language :: Python",
1919
"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",
2420
]
2521
urls = {Homepage = "https://ipython.org"}
2622
requires-python = ">=3.8"
@@ -36,7 +32,7 @@ dependencies = [
3632
"tornado>=6.1",
3733
"matplotlib-inline>=0.1",
3834
'appnope;platform_system=="Darwin"',
39-
"pyzmq>=20",
35+
"pyzmq>=24",
4036
"psutil",
4137
"packaging",
4238
]
@@ -175,6 +171,9 @@ filterwarnings= [
175171
"ignore:unclosed event loop:ResourceWarning",
176172
"ignore:There is no current event loop:DeprecationWarning",
177173
"module:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning",
174+
175+
# Ignore datetime warning.
176+
"ignore:datetime.datetime.utc:DeprecationWarning",
178177
]
179178

180179
[tool.coverage.report]

0 commit comments

Comments
 (0)