Skip to content

Commit 9409ba2

Browse files
committed
Drop support for Python 2.7 and 3.5
1 parent 53a55e6 commit 9409ba2

3 files changed

Lines changed: 12 additions & 15 deletions

File tree

.travis.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
language: python
22
dist: bionic
33
install:
4-
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then pip install -r requirements.txt; fi
4+
- pip install -r requirements.txt
55
script:
66
- python -m unittest test_asserts
7-
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1,2` \> 3.4; then mypy asserts test_asserts.py; fi
8-
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1,2` \> 3.4; then flake8 asserts test_asserts.py; fi
9-
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1,2` \> 3.4; then python -m doctest asserts/__init__.py; fi
7+
- mypy asserts test_asserts.py
8+
- flake8 asserts test_asserts.py
9+
- python -m doctest asserts/__init__.py
1010
jobs:
1111
include:
12-
- stage: test
13-
python: 2.7
14-
dist: trusty
15-
- stage: test
16-
python: 3.5
17-
dist: trusty
1812
- stage: test
1913
python: 3.6
2014
dist: trusty

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## News in asserts 0.11.0
2+
3+
### API-Incompatible Changes
4+
5+
* Drop support for Python 2.7 and 3.5.
6+
17
## News in asserts 0.10.0
28

39
### API-Incompatible Changes

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def read(fname):
1010

1111
setup(
1212
name="asserts",
13-
version="0.10.0",
13+
version="0.11.0",
1414
description="Stand-alone Assertions",
1515
long_description=read("README.md"),
1616
long_description_content_type="text/markdown",
@@ -19,16 +19,13 @@ def read(fname):
1919
url="https://github.com/srittau/python-asserts",
2020
packages=["asserts"],
2121
package_data={"asserts": ["py.typed", "*.pyi"]},
22-
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
22+
python_requires=">=3.6",
2323
license="MIT",
2424
classifiers=[
2525
"Development Status :: 3 - Alpha",
2626
"Intended Audience :: Developers",
2727
"License :: OSI Approved :: MIT License",
28-
"Programming Language :: Python :: 2",
29-
"Programming Language :: Python :: 2.7",
3028
"Programming Language :: Python :: 3",
31-
"Programming Language :: Python :: 3.5",
3229
"Programming Language :: Python :: 3.6",
3330
"Programming Language :: Python :: 3.7",
3431
"Programming Language :: Python :: 3.8",

0 commit comments

Comments
 (0)