Skip to content

Commit

Permalink
Support python 3.12 (#1185)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Dec 21, 2023
1 parent 07f7437 commit de45c7a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.11"]
python-version: ["3.8", "3.12"]
include:
- os: windows-latest
python-version: "3.9"
- os: ubuntu-latest
python-version: "pypy-3.8"
python-version: "pypy-3.9"
- os: macos-latest
python-version: "3.10"
- os: ubuntu-latest
python-version: "3.8"
python-version: "3.11"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -153,11 +153,11 @@ jobs:

- name: List installed packages
run: |
hatch run test:list
hatch -v run test:list
- name: Run the unit tests
run: |
hatch run test:nowarn || hatch run test:nowarn --lf
hatch -v run test:nowarn || hatch run test:nowarn --lf
test_prereleases:
name: Test Prereleases
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
urls = {Homepage = "https://ipython.org"}
requires-python = ">=3.8"
Expand All @@ -36,7 +32,7 @@ dependencies = [
"tornado>=6.1",
"matplotlib-inline>=0.1",
'appnope;platform_system=="Darwin"',
"pyzmq>=20",
"pyzmq>=24",
"psutil",
"packaging",
]
Expand Down Expand Up @@ -175,6 +171,9 @@ filterwarnings= [
"ignore:unclosed event loop:ResourceWarning",
"ignore:There is no current event loop:DeprecationWarning",
"module:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning",

# Ignore datetime warning.
"ignore:datetime.datetime.utc:DeprecationWarning",
]

[tool.coverage.report]
Expand Down

0 comments on commit de45c7a

Please sign in to comment.