Skip to content

Commit a02864e

Browse files
authored
Drop python36 (#208)
* chore: drop Python 3.6 official support Signed-off-by: Yurii Serhiichuk <[email protected]> * docs: update docs regarding Python 3.6 being unsupported anymore Signed-off-by: Yurii Serhiichuk <[email protected]> * deps: drop Python3.6-only dependencies Signed-off-by: Yurii Serhiichuk <[email protected]> * chore: drop extra `;` Signed-off-by: Yurii Serhiichuk <[email protected]> * chore: try `setup.py` syntax Signed-off-by: Yurii Serhiichuk <[email protected]> Signed-off-by: Yurii Serhiichuk <[email protected]>
1 parent 119264c commit a02864e

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
test:
2323
strategy:
2424
matrix:
25-
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
25+
python: ['3.7', '3.8', '3.9', '3.10']
2626
os: [ubuntu-latest, windows-latest, macos-latest]
2727
runs-on: ${{ matrix.os }}
2828
steps:

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [1.8.0] — 2022-12-08
10+
### Changed
11+
- Dropped support of Python 3.6 that has reached EOL almost a year ago.
12+
[v1.7.1](https://pypi.org/project/cloudevents/1.7.1/) is the last
13+
one to support Python 3.6 ([#208])
14+
915
## [1.7.1] — 2022-11-21
1016
### Fixed
1117
- Fixed Pydantic extras dependency constraint (backport of v1.6.3, [#204])
@@ -168,6 +174,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
168174
### Added
169175
- Initial release
170176

177+
[1.8.0]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.8.0
171178
[1.7.1]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.7.1
172179
[1.7.0]: https://github.com/cloudevents/sdk-python/compare/1.6.0...1.7.0
173180
[1.6.3]: https://github.com/cloudevents/sdk-python/compare/1.6.2...1.6.3
@@ -240,3 +247,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
240247
[#197]: https://github.com/cloudevents/sdk-python/pull/197
241248
[#202]: https://github.com/cloudevents/sdk-python/pull/202
242249
[#204]: https://github.com/cloudevents/sdk-python/pull/204
250+
[#208]: https://github.com/cloudevents/sdk-python/pull/208

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.7.1"
15+
__version__ = "1.8.0"

requirements/test.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ flake8-print
44
pytest
55
pytest-cov
66
# web app tests
7-
sanic<=20.12.7; python_version <= '3.6'
8-
sanic; python_version > '3.6'
9-
sanic-testing; python_version > '3.6'
7+
sanic
8+
sanic-testing
109
aiohttp
1110
Pillow
1211
requests
1312
flask
14-
pydantic>=1.0.0<1.9.0; python_version <= '3.6'
15-
pydantic>=1.0.0<2.0; python_version > '3.6'
13+
pydantic>=1.0.0,<2.0

setup.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ def get_version(rel_path):
6060
"Development Status :: 5 - Production/Stable",
6161
"Operating System :: POSIX :: Linux",
6262
"Programming Language :: Python :: 3",
63-
"Programming Language :: Python :: 3.6",
6463
"Programming Language :: Python :: 3.7",
6564
"Programming Language :: Python :: 3.8",
6665
"Programming Language :: Python :: 3.9",
@@ -69,10 +68,5 @@ def get_version(rel_path):
6968
packages=find_packages(exclude=["cloudevents.tests"]),
7069
version=pypi_config["version_target"],
7170
install_requires=["deprecation>=2.0,<3.0"],
72-
extras_require={
73-
"pydantic": [
74-
"pydantic>=1.0.0,<1.9.0;python_version<'3.7'",
75-
"pydantic>=1.0.0,<2.0;python_version>='3.7'",
76-
],
77-
},
71+
extras_require={"pydantic": "pydantic>=1.0.0,<2.0"},
7872
)

tox.ini

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

55
[testenv]

0 commit comments

Comments
 (0)