Skip to content

Commit

Permalink
Add Python 3.11 support (#209)
Browse files Browse the repository at this point in the history
* docs: add missing release notes

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

* chore: add Python3.11 support

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

* chore: Bump version

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

* docs: create release section

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
  • Loading branch information
xSAVIKx committed Jan 4, 2023
1 parent 5e00c4f commit ef98274
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-release.yml
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion cloudevents/__init__.py
Expand Up @@ -12,4 +12,4 @@
# License for the specific language governing permissions and limitations
# under the License.

__version__ = "1.8.0"
__version__ = "1.9.0"
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions 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]
Expand All @@ -12,7 +12,7 @@ setenv =
commands = pytest {env:PYTESTARGS} {posargs}

[testenv:reformat]
basepython = python3.10
basepython = python3.11
deps =
black
isort
Expand All @@ -21,7 +21,7 @@ commands =
isort cloudevents samples

[testenv:lint]
basepython = python3.10
basepython = python3.11
deps =
black
isort
Expand Down

0 comments on commit ef98274

Please sign in to comment.