]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Set minimum Python version to 3.7.
authorBob Halley <halley@dnspython.org>
Sat, 5 Mar 2022 21:06:06 +0000 (13:06 -0800)
committerBob Halley <halley@dnspython.org>
Sat, 5 Mar 2022 21:06:06 +0000 (13:06 -0800)
.github/workflows/python-package.yml
README.md
doc/installation.rst
doc/whatsnew.rst
pyproject.toml
setup.cfg

index 40cc639061cdc759614a4f8d6386bf03a1c64410..8954a481f7756a0952d1d86290ff429435feb418 100644 (file)
@@ -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
index 03300fce2f8ded7538ce2bf1dc65904727ffaeee..ed579113a440f1277cbde50148a6b7010442d57a 100644 (file)
--- 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).
index 8f58cff9feaf7ddbe56f440f874c603042f90009..81dcdb04d5b6763fbf6116ac56819bd691f75f18 100644 (file)
@@ -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::
 
index 164c4e6ab5465dce4ac13bb7efa595d315e73495..34d792e08c972e8a4add7e3d7e145f4a405fa3a5 100644 (file)
@@ -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
 -----
index 1a311647b452a59a15325da45905d32d3b20f897..ea91a02ea4ab89934b052acf31d7a0334cd5cada 100644 (file)
@@ -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}
index 06532d0e0ac96cb22cd8394d9f494b11b7df0356..a32ff8cecb3cfabc9049ae09a39a7322dc235865 100644 (file)
--- 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