Skip to content

Commit 86c7e6d

Browse files
mrjohannchangstephanosio
authored andcommitted
Add support for Python 3.11
1 parent cceb318 commit 86c7e6d

File tree

7 files changed

+10397
-6
lines changed

7 files changed

+10397
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Build instructions
6363

6464
Visual Studio 2019 will work for Python 3.6-3.9.
6565

66-
Visual Studio 2022 will work for Python 3.10
66+
Visual Studio 2022 will work for Python 3.10-3.11.
6767

6868
3. Install Python 3.6 or later to get
6969
the [Python launcher for Windows](https://docs.python.org/3/using/windows.html#launcher).
@@ -112,15 +112,15 @@ Build instructions
112112
links the source code in `pyXY\` for each of the specified Python versions,
113113
producing wheels as output in `dist\`.
114114

115-
### Rebuilding the wheels for Python 3.6, 3.7, 3.8, 3.9 and 3.10
115+
### Rebuilding the wheels for Python 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11
116116

117117
In `x86 Native Tools Command Prompt for VS 2022`:
118118

119-
build-wheels.bat 3.6-32 3.7-32 3.8-32 3.9-32 3.10-32
119+
build-wheels.bat 3.6-32 3.7-32 3.8-32 3.9-32 3.10-32 3.11-32
120120

121121
In `x64 Native Tools Command Prompt for VS 2022`:
122122

123-
build-wheels.bat 3.6 3.7 3.8 3.9 3.10
123+
build-wheels.bat 3.6 3.7 3.8 3.9 3.10 3.11
124124

125125

126126
This gives a set of wheels in `dist\`.
@@ -157,4 +157,4 @@ Adding support for a new Python version
157157

158158
In practise, `Modules\_cursesmodule.c` from newer Python 3 versions is likely to be compatible with older Python 3 versions too. The Python 3.6 and 3.7 wheels are currently built from identical `_cursesmodule.c` files (but not the Python 3.8 or 3.9 wheels).
159159

160-
For Python 3.10 it is necessary to adapt `_cursesmodule.c` and `clinic\_cursesmodule.c.h` files to new Python API (decribed more here https://devguide.python.org/c-api). It demands removing two headers files as described in [this commit]().
160+
For Python 3.10 and 3.11 it is necessary to adapt `_cursesmodule.c` and `clinic\_cursesmodule.c.h` files to new Python API (decribed more here https://devguide.python.org/c-api). It demands removing two headers files as described in [this commit]().

0 commit comments

Comments
 (0)