Skip to content

Commit

Permalink
support Python 3.12 (#388)
Browse files Browse the repository at this point in the history
* support Python 3.12

* Update pyproject.toml

* style: pre-commit fixes

* Try fix branch

* pre-commit

* Upper-pin numpy in CI (temp)

* Awkward 1.10.5

---------

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 5, 2023
1 parent 826572b commit 30e19f9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }} - Light
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -67,6 +68,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }} - Awkward v1
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -98,6 +100,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }} - Awkward v2
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 9 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## Unreleased

#### Maintenance

- chore: support Python 3.12 [#388][]

[#388]: https://github.com/scikit-hep/vector/pull/388

## Version 1.1

### Version 1.1.1
Expand Down Expand Up @@ -114,7 +122,7 @@
- chore: minor cleanups [#266][]
- chore: test on `awkward v1.10.0` and add cov to `noxfile` [#256][]
- chore: use Python 3.11! [#282][]
- chore: zenodo-badge-sync-mishra1 [#269][]
- chore: zenodo badge sync [#269][]
- ci: test notebooks on PRs [#272][]

[#256]: https://github.com/scikit-hep/vector/pull/256
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import nox

ALL_PYTHONS = ["3.8", "3.9", "3.10", "3.11"]
ALL_PYTHONS = ["3.8", "3.9", "3.10", "3.11", "3.12"]

nox.options.sessions = ["lint", "tests", "doctests"]

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ awkward = [
]
dev = [
"awkward>=1.2",
"numba>=0.57",
'numba>=0.57; python_version < "3.12"',
"papermill>=2.4",
"pytest>=6",
"pytest-cov>=3",
Expand Down

0 comments on commit 30e19f9

Please sign in to comment.