Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support Python 3.13 #261

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
FORCE_COLOR: "1"

jobs:
run:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -83,11 +86,12 @@ jobs:
matrix:
include:
- {python-version: "3.12", session: "mypy"}
- {python-version: "3.11", session: "tests"}
- {python-version: "3.13", session: "tests"}
- {python-version: "3.12", session: "tests"}
- {python-version: "3.11", session: "tests"}
- {python-version: "3.10", session: "tests"}
- {python-version: "3.9", session: "tests"}
- {python-version: "3.8", session: "tests"}
- {python-version: "3.9", session: "tests"}
- {python-version: "3.8", session: "tests"}

steps:
- name: Checkout code
Expand All @@ -99,6 +103,9 @@ jobs:
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip
cache-dependency-path: poetry.lock

- name: Upgrade pip
run: |
Expand Down Expand Up @@ -128,4 +135,4 @@ jobs:
TAP_JOTFORM_API_KEY: ${{ secrets.TAP_JOTFORM_API_KEY }}
TAP_JOTFORM_API_URL: "https://api.jotform.com"
run: |
nox
nox --verbose
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.1.3"
rev: "2.1.4"
hooks:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.0"
rev: "v0.5.1"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand Down
9 changes: 8 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@
src_dir = "tap_jotform"
tests_dir = "tests"

python_versions = ["3.12", "3.11", "3.10", "3.9", "3.8"]
python_versions = [
"3.13",
"3.12",
"3.11",
"3.10",
"3.9",
"3.8",
]
main_python_version = "3.12"
locations = src_dir, tests_dir, "noxfile.py"
nox.options.sessions = (
Expand Down
Loading