Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Commit

Permalink
Drop support for Python 3.3 and require at least Python 3.4 (#6).
Browse files Browse the repository at this point in the history
It is after the end-of-life of Python 3.3 (EOL). See
https://devguide.python.org/#branchstatus
  • Loading branch information
s3rvac committed Apr 11, 2018
1 parent 1388d4a commit 4d91564
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- 3.3
- 3.4
- 3.5
- 3.6
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ Changelog
dev
---

* -
* Dropped support for Python 3.3 as `it is after its end-of-life
<https://devguide.python.org/#branchstatus>`_ (`#6
<https://github.com/s3rvac/retdec-python/issues/6>`_). The minimal required
Python version is now 3.4.

0.5.2 (2017-07-26)
------------------
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ page in the documentation.
Requirements
------------

* Python >= 3.3 (CPython or PyPy)
* Python >= 3.4 (CPython or PyPy)
* `requests <http://docs.python-requests.org>`_ module for making HTTPS calls
to the `retdec.com API <https://retdec.com/api/>`_

Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This page gives an overview of the library and tools to get you started.
Requirements
------------

* Python >= 3.3 (CPython or PyPy)
* Python >= 3.4 (CPython or PyPy)
* `requests <http://docs.python-requests.org>`_ module for making HTTPS calls to the `retdec.com API <https://retdec.com/api/>`_

Installation
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# 'encoding' is an invalid keyword argument for this function").
if sys.version_info[0] == 2:
sys.exit('Error: retdec-python does not support Python 2. Use Python 3.')
# Additionally, check that the user runs at least Python 3.3 as this is the
# Additionally, check that the user runs at least Python 3.4 as this is the
# minimal required version.
if sys.version_info < (3, 3):
sys.exit('Error: retdec-python requires at least Python 3.3.')
if sys.version_info < (3, 4):
sys.exit('Error: retdec-python requires at least Python 3.4.')


# Utility function to read the contents of the given file.
Expand Down Expand Up @@ -62,7 +62,6 @@ def get_project_version():
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py33,py34,py35,py36,pypy3
envlist = py34,py35,py36,pypy3

[testenv]
deps =
Expand Down

0 comments on commit 4d91564

Please sign in to comment.