diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 34f1ae2..f1a6ae4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' cache: 'pip' cache-dependency-path: 'requirements/*.txt' - name: Install dev dependencies @@ -22,7 +22,7 @@ jobs: test: strategy: matrix: - python: ['3.7', '3.8', '3.9', '3.10'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11'] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index b996d3e..56bbf66 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -36,7 +36,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: 'pip' - name: Install build dependencies run: pip install -U setuptools wheel build diff --git a/CHANGELOG.md b/CHANGELOG.md index e63cdf7..c025b6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.9.0] — 2023-01-04 +### Added +- Added typings to the codebase. ([#207]) +- Added Python3.11 support. ([#209]) + ## [1.8.0] — 2022-12-08 ### Changed - Dropped support of Python 3.6 that has reached EOL almost a year ago. @@ -174,6 +179,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release +[1.9.0]: https://github.com/cloudevents/sdk-python/compare/1.8.0...1.9.0 [1.8.0]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.8.0 [1.7.1]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.7.1 [1.7.0]: https://github.com/cloudevents/sdk-python/compare/1.6.0...1.7.0 @@ -247,4 +253,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#197]: https://github.com/cloudevents/sdk-python/pull/197 [#202]: https://github.com/cloudevents/sdk-python/pull/202 [#204]: https://github.com/cloudevents/sdk-python/pull/204 +[#207]: https://github.com/cloudevents/sdk-python/pull/207 [#208]: https://github.com/cloudevents/sdk-python/pull/208 +[#209]: https://github.com/cloudevents/sdk-python/pull/209 diff --git a/cloudevents/__init__.py b/cloudevents/__init__.py index cc81e92..3b98aa8 100644 --- a/cloudevents/__init__.py +++ b/cloudevents/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__version__ = "1.8.0" +__version__ = "1.9.0" diff --git a/setup.py b/setup.py index 9738d04..97cf57e 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,7 @@ def get_version(rel_path): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Typing :: Typed", ], keywords="CloudEvents Eventing Serverless", diff --git a/tox.ini b/tox.ini index ba83324..a5cbdfa 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{37,38,39,310},lint +envlist = py{37,38,39,310,311},lint skipsdist = True [testenv] @@ -12,7 +12,7 @@ setenv = commands = pytest {env:PYTESTARGS} {posargs} [testenv:reformat] -basepython = python3.10 +basepython = python3.11 deps = black isort @@ -21,7 +21,7 @@ commands = isort cloudevents samples [testenv:lint] -basepython = python3.10 +basepython = python3.11 deps = black isort