mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 19:14:09 +01:00
Drop support for Python versions before 3.4.
This commit is contained in:
parent
25d9f468fe
commit
864b1759e3
25
.travis.yml
25
.travis.yml
@ -2,7 +2,7 @@ language: python
|
|||||||
sudo: true
|
sudo: true
|
||||||
install:
|
install:
|
||||||
- if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt; fi
|
- if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt; fi
|
||||||
- if [[ "$TRAVIS_PYTHON_VERSION" =~ ^3\.[4-9] ]] ; then pip install -v git+https://github.com/ProgVal/irctest.git; fi
|
- pip install -v git+https://github.com/ProgVal/irctest.git
|
||||||
- echo "y" | pip uninstall limnoria || true
|
- echo "y" | pip uninstall limnoria || true
|
||||||
# command to run tests, e.g. python setup.py test
|
# command to run tests, e.g. python setup.py test
|
||||||
script:
|
script:
|
||||||
@ -14,24 +14,6 @@ notifications:
|
|||||||
email: false
|
email: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: "2.6"
|
|
||||||
env: WITH_OPT_DEPS=false
|
|
||||||
dist: trusty
|
|
||||||
- python: "2.7"
|
|
||||||
env: WITH_OPT_DEPS=false
|
|
||||||
dist: trusty
|
|
||||||
- python: "2.7"
|
|
||||||
env: WITH_OPT_DEPS=true
|
|
||||||
dist: trusty
|
|
||||||
- python: "3.2"
|
|
||||||
env: WITH_OPT_DEPS=false
|
|
||||||
dist: trusty
|
|
||||||
- python: "3.2"
|
|
||||||
env: WITH_OPT_DEPS=true
|
|
||||||
dist: trusty
|
|
||||||
- python: "3.3"
|
|
||||||
env: WITH_OPT_DEPS=true
|
|
||||||
dist: trusty
|
|
||||||
- python: "3.4"
|
- python: "3.4"
|
||||||
env: WITH_OPT_DEPS=true
|
env: WITH_OPT_DEPS=true
|
||||||
dist: trusty
|
dist: trusty
|
||||||
@ -55,10 +37,7 @@ matrix:
|
|||||||
env: WITH_OPT_DEPS=true
|
env: WITH_OPT_DEPS=true
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
|
||||||
- python: "pypy"
|
- python: "pypy3"
|
||||||
env: WITH_OPT_DEPS=true
|
|
||||||
dist: trusty
|
|
||||||
- python: "pypy3.3-5.2-alpha1"
|
|
||||||
env: WITH_OPT_DEPS=true
|
env: WITH_OPT_DEPS=true
|
||||||
dist: trusty
|
dist: trusty
|
||||||
- python: "pypy3"
|
- python: "pypy3"
|
||||||
|
@ -13,9 +13,8 @@ Master branch: [![Build Status (master branch)](https://travis-ci.org/ProgVal/Li
|
|||||||
|
|
||||||
Testing branch: [![Build Status (testing branch)](https://travis-ci.org/ProgVal/Limnoria.png?branch=testing)](https://travis-ci.org/ProgVal/Limnoria)
|
Testing branch: [![Build Status (testing branch)](https://travis-ci.org/ProgVal/Limnoria.png?branch=testing)](https://travis-ci.org/ProgVal/Limnoria)
|
||||||
|
|
||||||
Limnoria supports CPython 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, nightly;
|
Limnoria supports CPython 3.4, 3.5, 3.6, 3.7, nightly;
|
||||||
and Pypy 2 and 3. It works best with CPython 3.4 and higher.
|
and Pypy 3.
|
||||||
Python 2.5 and older versions are not supported.
|
|
||||||
|
|
||||||
# Support
|
# Support
|
||||||
|
|
||||||
|
9
setup.py
9
setup.py
@ -81,8 +81,8 @@ if version:
|
|||||||
fd.write(' pass\n')
|
fd.write(' pass\n')
|
||||||
fd.close()
|
fd.close()
|
||||||
|
|
||||||
if sys.version_info < (2, 6, 0):
|
if sys.version_info < (3, 4, 0):
|
||||||
sys.stderr.write("Supybot requires Python 2.6 or newer.")
|
sys.stderr.write("Limnoria requires Python 3.4 or newer.")
|
||||||
sys.stderr.write(os.linesep)
|
sys.stderr.write(os.linesep)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
@ -206,13 +206,10 @@ setup(
|
|||||||
'Operating System :: OS Independent',
|
'Operating System :: OS Independent',
|
||||||
'Operating System :: POSIX',
|
'Operating System :: POSIX',
|
||||||
'Operating System :: Microsoft :: Windows',
|
'Operating System :: Microsoft :: Windows',
|
||||||
'Programming Language :: Python :: 2.6',
|
|
||||||
'Programming Language :: Python :: 2.7',
|
|
||||||
'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',
|
||||||
|
'Programming Language :: Python :: 3.7',
|
||||||
'Topic :: Communications :: Chat :: Internet Relay Chat',
|
'Topic :: Communications :: Chat :: Internet Relay Chat',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user