diff --git a/.travis.yml b/.travis.yml index 549c496..7c25d88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ addons: - p7zip-full script: - - export PYTHON_VERSION=3.11.0 + - export PYTHON_VERSION=3.11.1 - export PYTHON_IMPL_VERSION=cp311 - export RELEASE_VERSION=$(grep -oP '[0-9\.ab]+' local/__init__.py) diff --git a/README.md b/README.md index 5c18e4c..b2464e4 100644 --- a/README.md +++ b/README.md @@ -152,16 +152,17 @@ 使用,不要通过它同时下载大量(包括多线程)较大的文件。 ## 兼容性 -- CPython 3.6-3.10 已测试,其它版本则无法保证持续运行正常。 +- CPython 3.6-3.11已测试,其它版本则无法保证持续运行正常。 - 必须组件: - - gevent 20.4.0 及以上 - - pyOpenSSL 19.1.0 及以上 - - dnslib 0.9.12 及以上 - - PySocks 1.7.0 及以上 + - gevent 22.8.0 及以上 + - pyOpenSSL 20.0.0 及以上 + - dnslib 0.9.19 及以上 + - PySocks 1.7.1 - 可选组件: - brotlicffi -- 发布将提供包含 Windows CPython 3.9 环境的便携版本。另,从 GotoX 3.8.7 开始, - 使用了 [nalexandru](https://github.com/nalexandru/api-ms-win-core-path-HACK) +- 提供脚本支持将 CPython 3.8-3.12 win_amd64 打包为便携版本,发布的便携版本即是 + 由此脚本打包。打包环境为 Python 3.6+、pycurl、7-zip, 并使用了 + [nalexandru](https://github.com/nalexandru/api-ms-win-core-path-HACK) 提供的 api-ms-win-core-path-l1-1-0.dll 文件,以帮助 CPython 3.9 及以上版本在 Windows 7 上正常运行。 - 由于自己只使用 Windows,所以其它系统不保证能正常使用。如果有需求作者会尽量修改, diff --git a/local/__init__.py b/local/__init__.py index bb5382e..2de9e71 100644 --- a/local/__init__.py +++ b/local/__init__.py @@ -1 +1 @@ -__version__ = '3.9.0dev' +__version__ = '3.9.0' diff --git a/pack_portable.ini b/pack_portable.ini index 3358ae7..ae0fbc4 100644 --- a/pack_portable.ini +++ b/pack_portable.ini @@ -1,19 +1,3 @@ -[3.6.8-win32] -url = https://www.python.org/ftp/python/3.6.8/python-3.6.8-embed-win32.zip -sum = md5|60470b4cceba52094121d43cd3f6ce3a - -[3.6.8-win_amd64] -url = https://www.python.org/ftp/python/3.6.8/python-3.6.8-embed-amd64.zip -sum = md5|73df7cb2f1500ff36d7dbeeac3968711 - -[3.7.9-win32] -url = https://www.python.org/ftp/python/3.7.9/python-3.7.9-embed-win32.zip -sum = md5|97c6558d479dc53bf448580b66ad7c1e - -[3.7.9-win_amd64] -url = https://www.python.org/ftp/python/3.7.9/python-3.7.9-embed-amd64.zip -sum = md5|60f77740b30030b22699dbd14883a4a3 - [3.8.10-win32] url = https://www.python.org/ftp/python/3.8.10/python-3.8.10-embed-win32.zip sum = md5|659adf421e90fba0f56a9631f79e70fb @@ -30,21 +14,21 @@ sum = md5|fec0bc06857502a56dd1aeaea6488ef8 url = https://www.python.org/ftp/python/3.9.13/python-3.9.13-embed-amd64.zip sum = md5|57731cf80b1c429a0be7133266d7d7cf -[3.10.8-win32] -url = https://www.python.org/ftp/python/3.10.8/python-3.10.8-embed-win32.zip -sum = md5|e0dbee095e5963b26b8bf258fd2b9f41 +[3.10.9-win32] +url = https://www.python.org/ftp/python/3.10.9/python-3.10.9-embed-win32.zip +sum = md5|8afb62c3cc8b60df57004fa8df158b8c -[3.10.8-win_amd64] -url = https://www.python.org/ftp/python/3.10.8/python-3.10.8-embed-amd64.zip -sum = md5|923be16c4cef2474b7982d16cea60ddb +[3.10.9-win_amd64] +url = https://www.python.org/ftp/python/3.10.9/python-3.10.9-embed-amd64.zip +sum = md5|c02aded21c751551d5e5ec83c3736fa7 -[3.11.0-win32] -url = https://www.python.org/ftp/python/3.11.0/python-3.11.0-embed-win32.zip -sum = md5|0888959642cc8af087d88da3866490a5 +[3.11.1-win32] +url = https://www.python.org/ftp/python/3.11.1/python-3.11.1-embed-win32.zip +sum = md5|cc960a3a6d5d1529117c463ac00aae43 -[3.11.0-win_amd64] -url = https://www.python.org/ftp/python/3.11.0/python-3.11.0-embed-amd64.zip -sum = md5|7df0f4244e5a66760b7caaed58e86c93 +[3.11.1-win_amd64] +url = https://www.python.org/ftp/python/3.11.1/python-3.11.1-embed-amd64.zip +sum = md5|f16900451e15abe1ba3ea657f3c7fe9e # PEP 440 https://peps.python.org/pep-0440/ # [SUB_PKG ][SPECIFIER[!]][(,SPECIFIER[!])*] diff --git a/requirements.txt b/requirements.txt index f9a00df..a125907 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -gevent >= 21.0 -pyOpenSSL >= 22.0 -dnslib >= 0.9.12 -PySocks >= 1.7.0 +gevent >= 22.8.0 +pyOpenSSL >= 22.0.0 +dnslib >= 0.9.19 +PySocks == 1.7.1