mirror of
https://github.com/mnaberez/py65.git
synced 2025-08-07 22:25:01 +00:00
Drop support for older Python, bump major version
This commit is contained in:
@@ -2,8 +2,6 @@ language: python
|
|||||||
sudo: false
|
sudo: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: 2.6
|
|
||||||
env: TOXENV=py26
|
|
||||||
- python: 2.7
|
- python: 2.7
|
||||||
env: TOXENV=py27
|
env: TOXENV=py27
|
||||||
- python: 3.4
|
- python: 3.4
|
||||||
|
@@ -1,6 +1,10 @@
|
|||||||
1.1.0.dev0 (Next Release)
|
2.0.0.dev0 (Next Release)
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
|
- Support for some older Python versions has been dropped. On Python 3,
|
||||||
|
Py65 now requires Python 3.4 or later. On Python 2, Py65 now requires
|
||||||
|
Python 2.7.
|
||||||
|
|
||||||
- Added a workaround to ignore an error ``Error: <class 'termios.error'>,
|
- Added a workaround to ignore an error ``Error: <class 'termios.error'>,
|
||||||
(25, 'Inappropriate ioctl for device')`` that may occur on some systems
|
(25, 'Inappropriate ioctl for device')`` that may occur on some systems
|
||||||
when reading character input. Based on a patch by Marko Lauke.
|
when reading character input. Based on a patch by Marko Lauke.
|
||||||
|
13
setup.py
13
setup.py
@@ -1,4 +1,4 @@
|
|||||||
__version__ = '1.1.0'
|
__version__ = '2.0.0.dev0'
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
@@ -6,11 +6,11 @@ py_version = sys.version_info[:2]
|
|||||||
PY3 = py_version[0] == 3
|
PY3 = py_version[0] == 3
|
||||||
|
|
||||||
if PY3:
|
if PY3:
|
||||||
if py_version < (3, 2):
|
if py_version < (3, 4):
|
||||||
raise RuntimeError('On Python 3, Py65 requires Python 3.2 or later')
|
raise RuntimeError('On Python 3, Py65 requires Python 3.4 or later')
|
||||||
else:
|
else:
|
||||||
if py_version < (2, 6):
|
if py_version < (2, 7):
|
||||||
raise RuntimeError('On Python 2, Py65 requires Python 2.6 or later')
|
raise RuntimeError('On Python 2, Py65 requires Python 2.7 or later')
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
@@ -25,11 +25,8 @@ CLASSIFIERS = [
|
|||||||
'Operating System :: POSIX',
|
'Operating System :: POSIX',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
'Programming Language :: Python :: 2',
|
'Programming Language :: Python :: 2',
|
||||||
'Programming Language :: Python :: 2.6',
|
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.2',
|
|
||||||
'Programming Language :: Python :: 3.3',
|
|
||||||
'Programming Language :: Python :: 3.4',
|
'Programming Language :: Python :: 3.4',
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
|
Reference in New Issue
Block a user