Skip to content

Commit ef98274

Browse files
authored
Add Python 3.11 support (#209)
* docs: add missing release notes Signed-off-by: Yurii Serhiichuk <[email protected]> * chore: add Python3.11 support Signed-off-by: Yurii Serhiichuk <[email protected]> * chore: Bump version Signed-off-by: Yurii Serhiichuk <[email protected]> * docs: create release section Signed-off-by: Yurii Serhiichuk <[email protected]> Signed-off-by: Yurii Serhiichuk <[email protected]>
1 parent 5e00c4f commit ef98274

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Setup Python
1212
uses: actions/setup-python@v4
1313
with:
14-
python-version: '3.10'
14+
python-version: '3.11'
1515
cache: 'pip'
1616
cache-dependency-path: 'requirements/*.txt'
1717
- name: Install dev dependencies
@@ -22,7 +22,7 @@ jobs:
2222
test:
2323
strategy:
2424
matrix:
25-
python: ['3.7', '3.8', '3.9', '3.10']
25+
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
2626
os: [ubuntu-latest, windows-latest, macos-latest]
2727
runs-on: ${{ matrix.os }}
2828
steps:

.github/workflows/pypi-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up Python
3737
uses: actions/setup-python@v4
3838
with:
39-
python-version: "3.10"
39+
python-version: "3.11"
4040
cache: 'pip'
4141
- name: Install build dependencies
4242
run: pip install -U setuptools wheel build

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.9.0] — 2023-01-04
10+
### Added
11+
- Added typings to the codebase. ([#207])
12+
- Added Python3.11 support. ([#209])
13+
914
## [1.8.0] — 2022-12-08
1015
### Changed
1116
- 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
174179
### Added
175180
- Initial release
176181

182+
[1.9.0]: https://github.com/cloudevents/sdk-python/compare/1.8.0...1.9.0
177183
[1.8.0]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.8.0
178184
[1.7.1]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.7.1
179185
[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
247253
[#197]: https://github.com/cloudevents/sdk-python/pull/197
248254
[#202]: https://github.com/cloudevents/sdk-python/pull/202
249255
[#204]: https://github.com/cloudevents/sdk-python/pull/204
256+
[#207]: https://github.com/cloudevents/sdk-python/pull/207
250257
[#208]: https://github.com/cloudevents/sdk-python/pull/208
258+
[#209]: https://github.com/cloudevents/sdk-python/pull/209

cloudevents/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15-
__version__ = "1.8.0"
15+
__version__ = "1.9.0"

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def get_version(rel_path):
6969
"Programming Language :: Python :: 3.8",
7070
"Programming Language :: Python :: 3.9",
7171
"Programming Language :: Python :: 3.10",
72+
"Programming Language :: Python :: 3.11",
7273
"Typing :: Typed",
7374
],
7475
keywords="CloudEvents Eventing Serverless",

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{37,38,39,310},lint
2+
envlist = py{37,38,39,310,311},lint
33
skipsdist = True
44

55
[testenv]
@@ -12,7 +12,7 @@ setenv =
1212
commands = pytest {env:PYTESTARGS} {posargs}
1313

1414
[testenv:reformat]
15-
basepython = python3.10
15+
basepython = python3.11
1616
deps =
1717
black
1818
isort
@@ -21,7 +21,7 @@ commands =
2121
isort cloudevents samples
2222

2323
[testenv:lint]
24-
basepython = python3.10
24+
basepython = python3.11
2525
deps =
2626
black
2727
isort

0 commit comments

Comments
 (0)