From aeca06a07b7a699a225e06480f0e5325332a7ba1 Mon Sep 17 00:00:00 2001 From: Adel Daouzli Date: Mon, 8 Mar 2021 21:29:48 +0100 Subject: [PATCH] #97: assumes that Pyment needs at least Python 3.6 to run --- .appveyor.yml | 12 ++++++------ .travis.yml | 6 +++--- CHANGELOG | 3 ++- README.rst | 7 ++----- doc/sphinx/source/pyment.rst | 2 +- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 40a3b1e..c2e5c9a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -7,16 +7,16 @@ environment: # The list here is complete (excluding Python 2.6, which # isn't covered by this document) at the time of writing. - - PYTHON: "C:\\Python27" - - PYTHON: "C:\\Python27-x64" - PYTHON: "C:\\Miniconda" - PYTHON: "C:\\Miniconda-x64" - - PYTHON: "C:\\Python34-x64" - - PYTHON: "C:\\Miniconda34-x64" - - PYTHON: "C:\\Python35-x64" - - PYTHON: "C:\\Miniconda35-x64" - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Miniconda36-x64" + - PYTHON: "C:\\Python37-x64" + - PYTHON: "C:\\Miniconda37-x64" + - PYTHON: "C:\\Python38-x64" + - PYTHON: "C:\\Miniconda38-x64" + - PYTHON: "C:\\Python39-x64" + - PYTHON: "C:\\Miniconda39-x64" install: # We need wheel installed to build wheels diff --git a/.travis.yml b/.travis.yml index 1bf48b1..6c987c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,9 @@ language: python python: - - "2.7" - - "3.4" - - "3.5" - "3.6" + - "3.7" + - "3.8" + - "3.9" # command to install dependencies install: diff --git a/CHANGELOG b/CHANGELOG index 4f4fe6e..b30113f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ 0.4.0: - add support to type hints (PEP 484) - - issues #46, #69, #93 + - stop supporting running Pyment with Python from version 2.7 to 3.5 + - issues #46, #69, #93, #97 - integrate PRs #96 0.3.4 - 2021/03/04: diff --git a/README.rst b/README.rst index a4467bb..5ada85a 100644 --- a/README.rst +++ b/README.rst @@ -27,10 +27,7 @@ Windows: |appveyor| **Supported Versions** -.. image:: https://img.shields.io/badge/python-2.7-blue.svg - :target: https://img.shields.io/badge/python-2.7-blue.svg - :alt: Supports Python27 -.. image:: https://img.shields.io/badge/python-3.4-blue.svg +.. image:: https://img.shields.io/badge/python-3.4-blue.svg :target: https://img.shields.io/badge/python-3.4-blue.svg :alt: Supports Python34 .. image:: https://img.shields.io/badge/python-3.5-blue.svg @@ -58,7 +55,7 @@ Windows: |appveyor| Description ----------- -This Python (2.7, 3+) program intends to help Python programmers to enhance inside code documentation using docstrings. +This Python3 program intends to help Python programmers to enhance inside code documentation using docstrings. It is useful for code not well documented, or code without docstrings, or some not yet or partially documented code, or a mix of all of this :-) It can be helpful also to harmonize or change a project docstring style format. diff --git a/doc/sphinx/source/pyment.rst b/doc/sphinx/source/pyment.rst index 6c2339e..6f359cb 100644 --- a/doc/sphinx/source/pyment.rst +++ b/doc/sphinx/source/pyment.rst @@ -44,7 +44,7 @@ The first is using the command line options (`pyment --help`). The second is pro Using Pyment ============ -Pyment runs under Python 2.7+/3+. But if *argparser* is installed it can run under Python 2.6, and maybe less. +Pyment runs using Python3.6+. Pyment is usable as is on command line using pyment script. But it can also be used inside a Python program.