Skip to content

Commit

Permalink
Add Python 3.12 support (#36)
Browse files Browse the repository at this point in the history
* Force Python ceiling to get new NumPy version
* Remove workaround for exploding single element slice
* Update to pyarrow 14.0
* Update to pandas 2.0
  • Loading branch information
drhagen authored Nov 3, 2023
1 parent 228b0db commit 9b73f6b
Show file tree
Hide file tree
Showing 5 changed files with 344 additions and 295 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
test:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
nox.options.sessions = ["test", "coverage", "lint"]


@session(python=["3.9", "3.10", "3.11"])
@session(python=["3.9", "3.10", "3.11", "3.12"])
def test(s: Session):
s.install(".", "pytest", "pytest-cov")
s.env["COVERAGE_FILE"] = f".coverage.{s.python}"
s.run("python", "-m", "pytest", "--cov", "tabeline")


@session(python=["3.9", "3.10", "3.11"])
@session(python=["3.9", "3.10", "3.11", "3.12"])
def test_pandas(s: Session):
s.install(".[pandas]", "pytest", "pytest-cov")
s.env["COVERAGE_FILE"] = f".coverage.pandas.{s.python}"
Expand Down
Loading

0 comments on commit 9b73f6b

Please sign in to comment.