Skip to content

Commit dab623f

Browse files
committed
Update pinned packages in test_requirements.txt
The latest packages don't all work in Python 3.5/3.6, so the latest versions that work with Python 3.6 are pinned (by creating a virtualenv with Python 3.6 and then using pip freeze), Python 3.5 is dropped from Travis, and the README is updated to indicate testing starts with version 3.6.
1 parent 8102431 commit dab623f

File tree

4 files changed

+32
-12
lines changed

4 files changed

+32
-12
lines changed

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ cache: pip
55

66
python:
77
#- '2.7'
8-
#- '3.4'
9-
- '3.5'
108
- '3.6'
11-
#- '3.7'
9+
- '3.7'
1210
- '3.8'
1311
- '3.9'
1412

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ email-validator: Validate Email Addresses
22
=========================================
33

44
A robust email address syntax and deliverability validation library for
5-
Python 3.5+ by [Joshua Tauberer](https://joshdata.me).
5+
Python by [Joshua Tauberer](https://joshdata.me).
66

77
This library validates that a string is of the form `[email protected]`. This is
88
the sort of validation you would want for an email-based login form on
@@ -32,6 +32,10 @@ This library was first published in 2015. The current version is 1.1.1
3232
from `validate_email` has changed, but dict-style access to the validated
3333
address information still works, so it is backwards compatible.**
3434

35+
This library is tested with Python 3.6+ but should work in earlier versions:
36+
37+
[![Build Status](https://app.travis-ci.com/JoshData/python-email-validator.svg?branch=main)](https://app.travis-ci.com/JoshData/python-email-validator)
38+
3539
Installation
3640
------------
3741

setup.cfg

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ classifiers =
1616
Programming Language :: Python :: 2
1717
Programming Language :: Python :: 2.7
1818
Programming Language :: Python :: 3
19-
Programming Language :: Python :: 3.5
20-
Programming Language :: Python :: 3.6
2119
Programming Language :: Python :: 3.7
2220
Programming Language :: Python :: 3.8
2321
Programming Language :: Python :: 3.9

test_requirements.txt

+26-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
1-
coverage==4.5.4
2-
docutils==0.15.2
3-
flake8==3.7.9
4-
pytest==5.2.2
5-
pytest-cov==2.8.1
6-
idna>=2.8
1+
# This file was generated by running
2+
# pip install dnspython idna # from setup.cfg
3+
# pip install pytest pytest-cov coverage flake8
4+
# pip freeze
5+
# in a virtualenv with Python 3.6. (Some packages' latest versions
6+
# are not compatible with Python 3.6, so we must pin versions for
7+
# repeatable testing in earlier versions of Python.)
8+
attrs==21.4.0
9+
coverage==6.2
10+
dnspython==2.2.1
11+
flake8==4.0.1
12+
idna==3.3
13+
importlib-metadata==4.2.0
14+
iniconfig==1.1.1
15+
mccabe==0.6.1
16+
packaging==21.3
17+
pluggy==1.0.0
18+
py==1.11.0
19+
pycodestyle==2.8.0
20+
pyflakes==2.4.0
21+
pyparsing==3.0.7
22+
pytest==7.0.1
23+
pytest-cov==3.0.0
24+
tomli==1.2.3
25+
typing_extensions==4.1.1
26+
zipp==3.6.0

0 commit comments

Comments
 (0)