summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-02-20 20:19:23 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-02-20 20:19:23 -0500
commit67ea0627879e10e47380482156b1421862e3c956 (patch)
tree6539268b30382d59d5d77fbc1b36e8e4daecbc92 /plugins
parenta7119e1b26a8bae531b118b7cb8c4b195f731df6 (diff)
downloadcmd2-git-67ea0627879e10e47380482156b1421862e3c956.tar.gz
Deprecate Python 3.5
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ext_test/build-pyenvs.sh2
-rw-r--r--plugins/ext_test/noxfile.py2
-rw-r--r--plugins/ext_test/setup.py5
-rw-r--r--plugins/template/README.md22
-rw-r--r--plugins/template/build-pyenvs.sh2
-rw-r--r--plugins/template/noxfile.py2
-rw-r--r--plugins/template/setup.py7
7 files changed, 21 insertions, 21 deletions
diff --git a/plugins/ext_test/build-pyenvs.sh b/plugins/ext_test/build-pyenvs.sh
index 39c28aa1..d64e11bd 100644
--- a/plugins/ext_test/build-pyenvs.sh
+++ b/plugins/ext_test/build-pyenvs.sh
@@ -23,7 +23,7 @@
# virtualenvs will be added to '.python-version'. Feel free to modify
# this list, but note that this script intentionally won't install
# dev, rc, or beta python releases
-declare -a pythons=("3.7" "3.6" "3.5" "3.4")
+declare -a pythons=("3.7" "3.6" "3.8" "3.9")
# function to find the latest patch of a minor version of python
function find_latest_version {
diff --git a/plugins/ext_test/noxfile.py b/plugins/ext_test/noxfile.py
index 85411106..75eab841 100644
--- a/plugins/ext_test/noxfile.py
+++ b/plugins/ext_test/noxfile.py
@@ -1,7 +1,7 @@
import nox
-@nox.session(python=['3.5', '3.6', '3.7', '3.8', '3.9'])
+@nox.session(python=['3.6', '3.7', '3.8', '3.9'])
def tests(session):
session.install('invoke', './[test]')
session.run('invoke', 'pytest', '--junit', '--no-pty')
diff --git a/plugins/ext_test/setup.py b/plugins/ext_test/setup.py
index 7dc55f6a..cab366b8 100644
--- a/plugins/ext_test/setup.py
+++ b/plugins/ext_test/setup.py
@@ -33,7 +33,7 @@ setuptools.setup(
license='MIT',
package_data=PACKAGE_DATA,
packages=['cmd2_ext_test'],
- python_requires='>=3.5',
+ python_requires='>=3.6',
install_requires=['cmd2 >= 0.9.4, <=2'],
setup_requires=['setuptools >= 42', 'setuptools_scm >= 3.4'],
classifiers=[
@@ -43,12 +43,11 @@ setuptools.setup(
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
- 'Programming Language :: Python :: 3.4',
- 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
],
# dependencies for development and testing
# $ pip install -e .[dev]
diff --git a/plugins/template/README.md b/plugins/template/README.md
index 1944f1c7..904b0541 100644
--- a/plugins/template/README.md
+++ b/plugins/template/README.md
@@ -235,15 +235,15 @@ $ pyenv install 3.7.0
$ pyenv virtualenv -p python3.7 3.7.0 cmd2-3.7
$ pyenv install 3.6.5
$ pyenv virtualenv -p python3.6 3.6.5 cmd2-3.6
-$ pyenv install 3.5.5
-$ pyenv virtualenv -p python3.5 3.5.5 cmd2-3.5
-$ pyenv install 3.4.8
-$ pyenv virtualenv -p python3.4 3.4.8 cmd2-3.4
+$ pyenv install 3.8.5
+$ pyenv virtualenv -p python3.8 3.8.5 cmd2-3.8
+$ pyenv install 3.9.0
+$ pyenv virtualenv -p python3.9 3.9.0 cmd2-3.9
```
Now set pyenv to make all three of those available at the same time:
```
-$ pyenv local cmd2-3.7 cmd2-3.6 cmd2-3.5 cmd2-3.4
+$ pyenv local cmd2-3.7 cmd2-3.6 cmd2-3.8 cmd2-3.9
```
Whether you ran the script, or did it by hand, you now have isolated virtualenvs
@@ -257,14 +257,14 @@ utilize.
| `python3` | 3.7.0 | cmd2-3.6 |
| `python3.7` | 3.7.0 | cmd2-3.7 |
| `python3.6` | 3.6.5 | cmd2-3.6 |
-| `python3.5` | 3.5.5 | cmd2-3.5 |
-| `python3.4` | 3.4.8 | cmd2-3.4 |
+| `python3.8` | 3.8.5 | cmd2-3.8 |
+| `python3.9` | 3.9.0 | cmd2-3.9 |
| `pip` | 3.7.0 | cmd2-3.6 |
| `pip3` | 3.7.0 | cmd2-3.6 |
| `pip3.7` | 3.7.0 | cmd2-3.7 |
| `pip3.6` | 3.6.5 | cmd2-3.6 |
-| `pip3.5` | 3.5.5 | cmd2-3.5 |
-| `pip3.4` | 3.4.8 | cmd2-3.4 |
+| `pip3.8` | 3.8.5 | cmd2-3.8 |
+| `pip3.9` | 3.9.0 | cmd2-3.9 |
## Install Dependencies
@@ -298,8 +298,8 @@ unit tests found in the `tests` directory.
### Use nox to run unit tests in multiple versions of python
-The included `noxfile.py` is setup to run the unit tests in python 3.4, 3.5, 3.6,
-and 3.7. You can run your unit tests in all of these versions of python by:
+The included `noxfile.py` is setup to run the unit tests in python 3.6, 3.7, 3.8,
+and 3.9. You can run your unit tests in all of these versions of python by:
```
$ nox
```
diff --git a/plugins/template/build-pyenvs.sh b/plugins/template/build-pyenvs.sh
index 39c28aa1..d64e11bd 100644
--- a/plugins/template/build-pyenvs.sh
+++ b/plugins/template/build-pyenvs.sh
@@ -23,7 +23,7 @@
# virtualenvs will be added to '.python-version'. Feel free to modify
# this list, but note that this script intentionally won't install
# dev, rc, or beta python releases
-declare -a pythons=("3.7" "3.6" "3.5" "3.4")
+declare -a pythons=("3.7" "3.6" "3.8" "3.9")
# function to find the latest patch of a minor version of python
function find_latest_version {
diff --git a/plugins/template/noxfile.py b/plugins/template/noxfile.py
index 85411106..75eab841 100644
--- a/plugins/template/noxfile.py
+++ b/plugins/template/noxfile.py
@@ -1,7 +1,7 @@
import nox
-@nox.session(python=['3.5', '3.6', '3.7', '3.8', '3.9'])
+@nox.session(python=['3.6', '3.7', '3.8', '3.9'])
def tests(session):
session.install('invoke', './[test]')
session.run('invoke', 'pytest', '--junit', '--no-pty')
diff --git a/plugins/template/setup.py b/plugins/template/setup.py
index fa3f5135..eea51e1f 100644
--- a/plugins/template/setup.py
+++ b/plugins/template/setup.py
@@ -24,7 +24,7 @@ setuptools.setup(
url='https://github.com/python-cmd2/cmd2-plugin-template',
license='MIT',
packages=['cmd2_myplugin'],
- python_requires='>=3.4',
+ python_requires='>=3.6',
install_requires=['cmd2 >= 0.9.4, <=2'],
setup_requires=['setuptools_scm'],
classifiers=[
@@ -34,10 +34,11 @@ setuptools.setup(
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
- 'Programming Language :: Python :: 3.4',
- 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
],
# dependencies for development and testing
# $ pip install -e .[dev]