Skip to content

Commit edf23bc

Browse files
committed
Drop support for Python 3.6 which is EOL'd already
1 parent b4814e3 commit edf23bc

File tree

5 files changed

+18
-19
lines changed

5 files changed

+18
-19
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ language: python
44
cache: pip
55

66
python:
7-
- '3.6'
87
- '3.7'
98
- '3.8'
109
- '3.9'

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
In Development
22
--------------
33

4-
* Python versions through 3.5 and dnspython 1.x are no longer supported. Python 3.6+ (now through Python 3.11) with dnspython 2.x are now required.
4+
* Python versions through 3.6 and dnspython 1.x are no longer supported. Python 3.7+ with dnspython 2.x are now required.
55
* The dnspython package is no longer required if DNS checks are not used.
66
* NoNameservers and NXDOMAIN DNS errors are now handled differently: NoNameservers no longer fails validation, and NXDOMAIN now skips checking for an A/AAAA fallback and goes straight to failing validation.
77
* Some syntax error messages have changed because they are now checked explicitly rather than as a part of other checks.

README.md

+1-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.6+ by [Joshua Tauberer](https://joshdata.me).
5+
Python 3.7+ by [Joshua Tauberer](https://joshdata.me).
66

77
This library validates that a string is of the form `[email protected]` and optionally checks that the domain name is set up to receive email. This is
88
the sort of validation you would want for an email-based registration form on

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ packages = find:
2727
install_requires =
2828
dnspython>=2.0.0 # optional if deliverability check isn't needed
2929
idna>=2.0.0
30-
python_requires = >=3.6
30+
python_requires = >=3.7
3131

3232
[options.entry_points]
3333
console_scripts =

test_requirements.txt

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# This file was generated by running
2-
# sudo docker run --rm -it --network=host python:3.6.15-slim /bin/bash
1+
# This file was generated by running:
2+
# sudo docker run --rm -it --network=host python:3.7-slim /bin/bash
33
# pip install dnspython idna # from setup.cfg
44
# pip install pytest pytest-cov coverage flake8
55
# pip freeze
6-
# in a virtualenv with Python 3.6. (Some packages' latest versions
7-
# are not compatible with Python 3.6, so we must pin versions for
8-
# repeatable testing in earlier versions of Python.)
6+
# (Some packages' latest versions may not be compatible with
7+
# the earliest Python version we support, and some exception
8+
# messages may depend on package versions, so we pin versions
9+
# for reproducible testing.)
910
attrs==22.2.0
10-
coverage==6.2
11-
dnspython==2.2.1
11+
coverage==7.2.1
12+
dnspython==2.3.0
13+
exceptiongroup==1.1.0
1214
flake8==5.0.4
1315
idna==3.4
1416
importlib-metadata==4.2.0
15-
iniconfig==1.1.1
17+
iniconfig==2.0.0
1618
mccabe==0.7.0
17-
packaging==21.3
19+
packaging==23.0
1820
pluggy==1.0.0
19-
py==1.11.0
2021
pycodestyle==2.9.1
2122
pyflakes==2.5.0
22-
pyparsing==3.0.9
23-
pytest==7.0.1
23+
pytest==7.2.1
2424
pytest-cov==4.0.0
25-
tomli==1.2.3
26-
typing_extensions==4.1.1
27-
zipp==3.6.0
25+
tomli==2.0.1
26+
typing_extensions==4.5.0
27+
zipp==3.15.0

0 commit comments

Comments
 (0)