From: Bob Halley Date: Sat, 5 Mar 2022 21:06:06 +0000 (-0800) Subject: Set minimum Python version to 3.7. X-Git-Tag: v2.3.0rc1~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f950862a341a6559126235c892ff516e114f14fd;p=thirdparty%2Fdnspython.git Set minimum Python version to 3.7. --- diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 40cc6390..8954a481 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ["3.6","3.7","3.8","3.9","3.10"] + python-version: ["3.7","3.8","3.9","3.10"] exclude: - os: windows-latest python-version: "3.9" @@ -26,8 +26,6 @@ jobs: python-version: "3.8" - os: windows-latest python-version: "3.7" - - os: windows-latest - python-version: "3.6" steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 03300fce..ed579113 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,10 @@ Note that you can install any combination of the above, e.g.: ### Notices -Python 2.x support ended with the release of 1.16.0. dnspython 2.0.0 and -later only support Python 3.6 and later. +Python 2.x support ended with the release of 1.16.0. Dnspython 2.0.0 through +2.2.x supprot support Python 3.6 and later. As of dnspython 2.3.0, the minimum +supported Python version will be 3.7. We plan to align future support with the +lifetime of the Python 3 versions. Documentation has moved to [dnspython.readthedocs.io](https://dnspython.readthedocs.io). diff --git a/doc/installation.rst b/doc/installation.rst index 8f58cff9..81dcdb04 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -6,7 +6,7 @@ Installation Requirements ------------ -Python 3.6 or later. +Python 3.7 or newer. Installation ------------ @@ -28,7 +28,7 @@ On a UNIX-like system, you then run:: while on a Windows system you would run:: python setup.py install - + Finally, you have the option of cloning the dnspython source from github and building it:: diff --git a/doc/whatsnew.rst b/doc/whatsnew.rst index 164c4e6a..34d792e0 100644 --- a/doc/whatsnew.rst +++ b/doc/whatsnew.rst @@ -6,7 +6,12 @@ What's New in dnspython 2.3.0 (in development) ---------------------- -* Nothing yet! +* Python 3.7 or newer is required. + +* Type annotations are now integrated with the source code and cover + far more of the library. + +* The get_soa() method has been added to dns.zone.Zone. 2.2.0 ----- diff --git a/pyproject.toml b/pyproject.toml index 1a311647..ea91a02e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ documentation = "https://dnspython.readthedocs.io/en/stable/" "Bug Tracker" = "https://github.com/rthalley/dnspython/issues" [tool.poetry.dependencies] -python = "^3.6" +python = "^3.7" httpx = {version=">=0.21.1", optional=true, python=">=3.6.2"} h2 = {version=">=4.1.0", optional=true, python=">=3.6.2"} requests-toolbelt = {version="^0.9.1", optional=true} diff --git a/setup.cfg b/setup.cfg index 06532d0e..a32ff8ce 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,6 @@ classifiers = Topic :: Internet :: Name Service (DNS) Topic :: Software Development :: Libraries :: Python Modules Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 @@ -44,7 +43,7 @@ packages = dns.rdtypes.IN dns.rdtypes.ANY dns.rdtypes.CH -python_requires = >=3.6 +python_requires = >=3.7 test_suite = tests setup_requires = setuptools>=44; wheel; setuptools_scm[toml]>=3.4.3