Add Python 3.11 support (#209)
* 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>
This commit is contained in:
parent
5e00c4f41f
commit
ef982743b6
|
@ -11,7 +11,7 @@ jobs:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.11'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
cache-dependency-path: 'requirements/*.txt'
|
cache-dependency-path: 'requirements/*.txt'
|
||||||
- name: Install dev dependencies
|
- name: Install dev dependencies
|
||||||
|
@ -22,7 +22,7 @@ jobs:
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
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]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -36,7 +36,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.11"
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: pip install -U setuptools wheel build
|
run: pip install -U setuptools wheel build
|
||||||
|
|
|
@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [1.8.0] — 2022-12-08
|
||||||
### Changed
|
### Changed
|
||||||
- Dropped support of Python 3.6 that has reached EOL almost a year ago.
|
- 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
|
### Added
|
||||||
- Initial release
|
- 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.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.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
|
[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
|
[#197]: https://github.com/cloudevents/sdk-python/pull/197
|
||||||
[#202]: https://github.com/cloudevents/sdk-python/pull/202
|
[#202]: https://github.com/cloudevents/sdk-python/pull/202
|
||||||
[#204]: https://github.com/cloudevents/sdk-python/pull/204
|
[#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
|
[#208]: https://github.com/cloudevents/sdk-python/pull/208
|
||||||
|
[#209]: https://github.com/cloudevents/sdk-python/pull/209
|
||||||
|
|
|
@ -12,4 +12,4 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
__version__ = "1.8.0"
|
__version__ = "1.9.0"
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -69,6 +69,7 @@ if __name__ == "__main__":
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
"Typing :: Typed",
|
"Typing :: Typed",
|
||||||
],
|
],
|
||||||
keywords="CloudEvents Eventing Serverless",
|
keywords="CloudEvents Eventing Serverless",
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py{37,38,39,310},lint
|
envlist = py{37,38,39,310,311},lint
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -12,7 +12,7 @@ setenv =
|
||||||
commands = pytest {env:PYTESTARGS} {posargs}
|
commands = pytest {env:PYTESTARGS} {posargs}
|
||||||
|
|
||||||
[testenv:reformat]
|
[testenv:reformat]
|
||||||
basepython = python3.10
|
basepython = python3.11
|
||||||
deps =
|
deps =
|
||||||
black
|
black
|
||||||
isort
|
isort
|
||||||
|
@ -21,7 +21,7 @@ commands =
|
||||||
isort cloudevents samples
|
isort cloudevents samples
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
basepython = python3.10
|
basepython = python3.11
|
||||||
deps =
|
deps =
|
||||||
black
|
black
|
||||||
isort
|
isort
|
||||||
|
|
Loading…
Reference in New Issue