summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoris Roovers <joris.roovers@gmail.com>2019-06-18 11:10:32 +0200
committerJoris Roovers <joris.roovers@gmail.com>2019-06-18 11:11:43 +0200
commitf32693f7926ad0e33b4a8f382ddaee57d1599a48 (patch)
treea7e3a439001a2350ce9ea156b87aa80cd64e1de4
parent0190fe18dfb27125615fc35a9ec559544881553b (diff)
Drop support for Python 3.3
Updated docs and tests accordingly.
-rw-r--r--.travis.yml2
-rw-r--r--CHANGELOG.md2
-rw-r--r--Vagrantfile2
-rw-r--r--docs/contributing.md6
-rw-r--r--docs/index.md2
-rwxr-xr-xrun_tests.sh6
-rw-r--r--setup.py1
7 files changed, 10 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 772c31a..5211cbf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,8 +5,6 @@ matrix:
include:
- python: "2.7"
os: linux
- - python: "3.3"
- os: linux
- python: "3.4"
os: linux
- python: "3.5"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b7d983d..cb45d54 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,8 @@
- If you're interested in adding new Contrib rules to gitlint, please start by reading the
[Contributing](http://jorisroovers.github.io/gitlint/contributing/) page. Thanks for considering!
+- Python 3.3 no longer supported
+
## v0.11.0 (2019-03-13) ##
- Python 3.7 support
diff --git a/Vagrantfile b/Vagrantfile
index 649567f..9ba944e 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -7,7 +7,7 @@ INSTALL_DEPS=<<EOF
cd /vagrant
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get update
-sudo apt-get install -y --allow-unauthenticated python2.7-dev python3.3-dev python3.4-dev python3.5-dev python3.6-dev python3.7-dev
+sudo apt-get install -y --allow-unauthenticated python2.7-dev python3.4-dev python3.5-dev python3.6-dev python3.7-dev
sudo apt-get install -y python-virtualenv git ipython python-pip python3-pip silversearcher-ag
sudo apt-get purge -y python3-virtualenv
sudo pip3 install virtualenv
diff --git a/docs/contributing.md b/docs/contributing.md
index ddb79a5..85d3cc5 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -53,12 +53,12 @@ To run tests:
./run_tests.sh --all # Run unit, integration, pep8 and gitlint checks
```
-The ```Vagrantfile``` comes with ```virtualenv```s for python 2.7, 3.3, 3.4, 3.5, 3.6, 3.7 and pypy2.
+The ```Vagrantfile``` comes with ```virtualenv```s for python 2.7, 3.4, 3.5, 3.6, 3.7 and pypy2.
You can easily run tests against specific python environments by using the following commands *inside* of the Vagrant VM:
```
./run_tests.sh --envs 27 # Run the unit tests against Python 2.7
-./run_tests.sh --envs 27,33,pypy2 # Run the unit tests against Python 2.7, Python 3.3 and Pypy2
-./run_tests.sh --envs 27,33 --pep8 # Run pep8 checks against Python 2.7 and Python 3.3 (also works for ```--git```, ```--integration```, ```--pep8```, ```--stats``` and ```--lint```).
+./run_tests.sh --envs 27,35,pypy2 # Run the unit tests against Python 2.7, Python 3.5 and Pypy2
+./run_tests.sh --envs 27,35 --pep8 # Run pep8 checks against Python 2.7 and Python 3.5 (also works for ```--git```, ```--integration```, ```--pep8```, ```--stats``` and ```--lint```).
./run_tests.sh --envs all --all # Run all tests against all environments
./run_tests.sh --all-env --all # Idem: Run all tests against all environments
```
diff --git a/docs/index.md b/docs/index.md
index a0b8046..4931942 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -24,7 +24,7 @@ useful throughout the years.
- **Easily configurable:** Gitlint has sane defaults, but [you can also easily customize it to your own liking](configuration.md).
- **Community contributed rules**: Conventions that are common but not universal [can be selectively enabled](contrib_rules).
- **User-defined rules:** Want to do more then what gitlint offers out of the box? Write your own [user defined rules](user_defined_rules.md).
- - **Broad python version support:** Gitlint supports python versions 2.7, 3.3+ and PyPy2.
+ - **Broad python version support:** Gitlint supports python versions 2.7, 3.4+ and PyPy2.
- **Full unicode support:** Lint your Russian, Chinese or Emoji commit messages with ease!
- **Production-ready:** Gitlint checks a lot of the boxes you're looking for: high unit test coverage, integration tests,
python code standards (pep8, pylint), good documentation, proven track record.
diff --git a/run_tests.sh b/run_tests.sh
index 6017036..29bd4f4 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -13,7 +13,7 @@ help(){
echo " -b, --build Run build tests"
echo " -a, --all Run all tests and checks (unit, integration, pep8, git)"
echo " -e, --envs [ENV1],[ENV2] Run tests against specified python environments"
- echo " (envs: 27,33,34,35,36,37,pypy2)."
+ echo " (envs: 27,34,35,36,37,pypy2)."
echo " Also works for integration, pep8 and lint tests."
echo " --all-env Run all tests against all python environments"
echo " --install Install virtualenvs for the --envs specified"
@@ -274,7 +274,7 @@ install_virtualenv(){
assert_specific_env(){
if [ -z "$1" ] || [ "$1" == "default" ]; then
- fatal "ERROR: Please specify one or more valid python environments using --envs: 27,33,34,35,36,37,pypy2"
+ fatal "ERROR: Please specify one or more valid python environments using --envs: 27,34,35,36,37,pypy2"
exit 1
fi
}
@@ -342,7 +342,7 @@ exit_code=0
# If the users specified 'all', then just replace $envs with the list of all envs
if [ "$envs" == "all" ]; then
- envs="27,33,34,35,36,37,pypy2"
+ envs="27,34,35,36,37,pypy2"
fi
envs=$(echo "$envs" | tr ',' '\n') # Split the env list on comma so we can loop through it
diff --git a/setup.py b/setup.py
index 8533ab8..f6b7f00 100644
--- a/setup.py
+++ b/setup.py
@@ -51,7 +51,6 @@ setup(
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",