Skip to content

Commit

Permalink
CI: Verify compatibility with Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 31, 2024
1 parent 67d184d commit c03de7c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.8", "3.12"]
python-version: [
"3.8",
"3.13",
]

env:
OS: ${{ matrix.os }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ngr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.8", "3.12"]
python-version: [
"3.8",
"3.13",
]

env:
OS: ${{ matrix.os }}
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased
- nlp: Updated dependencies langchain, langchain-text-splitters, unstructured
- CI: Verify compatibility with Python 3.13

## 2024-03-07 v0.0.9
- Testing: Add `pueblo.testing.notebook.{list_path,generate_tests}`
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Communications",
"Topic :: Education",
"Topic :: Software Development :: Libraries",
Expand Down
4 changes: 4 additions & 0 deletions tests/test_ngr.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from functools import lru_cache
from pathlib import Path

Expand Down Expand Up @@ -43,6 +44,9 @@ def test_ngr_sample(sample: Path):
"""
Invoke minimal `ngr test` target.
"""
if str(sample) == "ngr/meltano" and sys.version_info >= (3, 13):
raise pytest.skip("Meltano not available for Python 3.13 yet")

runner = CliRunner()

result = runner.invoke(
Expand Down

0 comments on commit c03de7c

Please sign in to comment.