Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e258cee

Browse files
filmorlostmsu
andauthored
Drop Python 3.6 support (#1795)
Fixes #1640 Co-authored-by: Victor Nova <[email protected]>
1 parent 87d4db9 commit e258cee

File tree

6 files changed

+4
-141
lines changed

6 files changed

+4
-141
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [windows, ubuntu, macos]
19-
python: ["3.6", "3.7", "3.8", "3.9", "3.10"]
19+
python: ["3.7", "3.8", "3.9", "3.10"]
2020
platform: [x64, x86]
2121
exclude:
2222
- os: ubuntu

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ and other `PyObject` derived types when called from Python.
3131

3232

3333
### Changed
34-
- Drop support for Python 2, 3.4, and 3.5
34+
- Drop support for Python 2, 3.4, 3.5, and 3.6
3535
- `wchar_t` size aka `Runtime.UCS` is now determined at runtime
3636
- `clr.AddReference` may now throw errors besides `FileNotFoundException`, that provide more
3737
details about the cause of the failure

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ def finalize_options(self):
165165
"License :: OSI Approved :: MIT License",
166166
"Programming Language :: C#",
167167
"Programming Language :: Python :: 3",
168-
"Programming Language :: Python :: 3.6",
169168
"Programming Language :: Python :: 3.7",
170169
"Programming Language :: Python :: 3.8",
171170
"Programming Language :: Python :: 3.9",

src/runtime/Mixins/collections.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
Implements collections.abc for common .NET types
3-
https://docs.python.org/3.6/library/collections.abc.html
3+
https://docs.python.org/3/library/collections.abc.html
44
"""
55

66
import collections.abc as col

src/runtime/Native/TypeOffset36.cs

-136
This file was deleted.

src/runtime/Util/Util.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ internal static class Util
1313
internal const string UnstableApiMessage =
1414
"This API is unstable, and might be changed or removed in the next minor release";
1515
internal const string MinimalPythonVersionRequired =
16-
"Only Python 3.6 or newer is supported";
16+
"Only Python 3.7 or newer is supported";
1717
internal const string InternalUseOnly =
1818
"This API is for internal use only";
1919

0 commit comments

Comments
 (0)