Skip to content

Commit

Permalink
TST: test on Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Oct 4, 2023
1 parent d2c7dc1 commit 9466dfc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bleeding-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11-dev
python-version: 3.12-dev

- name: Build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest
python-version: ['3.11']
python-version: ['3.12']
include:
- os: ubuntu-20.04
python-version: '3.8'
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: 3.x

- uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ select = [
combine-as-imports = true

[tool.pytest.ini_options]
filterwarnings = ["error"]
filterwarnings = [
"error",
'ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated:DeprecationWarning', # https://github.com/dateutil/dateutil/pull/1285
]

[tool.mypy]
python_version = "3.8"
Expand Down

0 comments on commit 9466dfc

Please sign in to comment.