diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52e7c9a0..80a69f1f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,9 +7,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.12' cache: 'pip' @@ -22,13 +22,13 @@ jobs: test: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python }} cache: 'pip' diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index eeebb883..463f2050 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -12,14 +12,14 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Build SDist and wheel run: pipx run build - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v5 with: name: artifact path: dist/* @@ -31,17 +31,17 @@ jobs: if: github.event_name == 'push' needs: [ build_dist ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" cache: 'pip' - name: Install build dependencies run: pip install -U setuptools wheel build - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v5 with: # unpacks default artifact into dist/ # if `name: artifact` is omitted, the action will create extra parent dir diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 32fde356..f37eccae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -11,7 +11,7 @@ repos: - id: isort args: [ "--profile", "black", "--filter-files" ] - repo: https://github.com/psf/black - rev: 25.1.0 + rev: 25.11.0 hooks: - id: black language_version: python3.11 diff --git a/CHANGELOG.md b/CHANGELOG.md index 47023884..d71df068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,11 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.12.1] + +- Added Python 3.14 support ([#256]) + ## [1.12.0] ### Changed -- Dropped Python3.8 support while it has reached EOL. ([]) +- Dropped Python3.8 support while it has reached EOL. ([#249]) ## [1.11.1] @@ -301,3 +305,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#236]: https://github.com/cloudevents/sdk-python/pull/236 [#240]: https://github.com/cloudevents/sdk-python/pull/240 [#248]: https://github.com/cloudevents/sdk-python/pull/248 +[#249]: https://github.com/cloudevents/sdk-python/pull/249 +[#256]: https://github.com/cloudevents/sdk-python/pull/256 diff --git a/mypy.ini b/mypy.ini index d8fb9cc0..3168f2b5 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,6 +1,6 @@ [mypy] plugins = pydantic.mypy -python_version = 3.8 +python_version = 3.9 pretty = True show_error_context = True diff --git a/setup.py b/setup.py index f4249978..c5c43938 100644 --- a/setup.py +++ b/setup.py @@ -70,6 +70,7 @@ def get_version(rel_path): "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Typing :: Typed", ], keywords="CloudEvents Eventing Serverless",