diff --git a/.travis.yml b/.travis.yml index 91add93..9b4b81f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,7 @@ jobs: - phone-gen --version after_success: false env: - - PHONENUMBERS="8.12.7" # last version + - PHONENUMBERS="8.12.8" # last version python: - "pypy3" @@ -49,8 +49,8 @@ python: - "3.9-dev" install: - pip install phonenumbers==$PHONENUMBERS - - pip install pytest-cov==2.10.0 - - pip install pytest==5.4.3 + - pip install pytest-cov==2.10.1 + - pip install pytest==6.0.1 - pip install -e . script: - pip freeze | grep phonenumbers diff --git a/Pipfile b/Pipfile index 974fc85..a6ac869 100644 --- a/Pipfile +++ b/Pipfile @@ -5,15 +5,14 @@ verify_ssl = true [dev-packages] requests = "==2.24.0" -pytest = "==5.4.3" -pytest-cov = "==2.10.0" -phonenumbers = "==8.12.7" +pytest = "==6.0.1" +pytest-cov = "==2.10.1" +phonenumbers = "==8.12.8" black = "==19.10b0" flake8 = "==3.8.3" pep8-naming = "==0.11.1" [packages] -phone-gen = {editable = true, path = "."} [requires] python_version = "3.8" diff --git a/README.md b/README.md index b77c575..8fe69c6 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,7 @@ Need Python 3.6 or more. Changelog ---- +* **1.3.5** Updating patterns to libphonenumber v8.12.8 * **1.3.4** Updating patterns to libphonenumber v8.12.7 * **1.3.3** Updating patterns to libphonenumber v8.12.6 * **1.3.2** Fix `MI` invalid pattern diff --git a/phone_gen/patterns.py b/phone_gen/patterns.py index 6ad2ef9..5d33a55 100644 --- a/phone_gen/patterns.py +++ b/phone_gen/patterns.py @@ -1,12 +1,12 @@ # -*- coding: utf-8 -*- """ -Auto-generated file 2020-07-21 16:06:02 UTC -Resource: https://github.com/google/libphonenumber v8.12.7 +Auto-generated file 2020-08-17 13:00:00 UTC +Resource: https://github.com/google/libphonenumber v8.12.8 """ PATTERNS = { - "info": "libphonenumber v8.12.7", + "info": "libphonenumber v8.12.8", "data": { "AC": {"code": "247", "pattern": "((6[2-467][\\d]{3}))"}, "AD": {"code": "376", "pattern": "(([78][\\d]{5}))"}, @@ -575,7 +575,7 @@ }, "PL": { "code": "48", - "pattern": "(((1[2-8])|(2[2-69])|(3[2-4])|(4[1-468])|(5[24-689])|(6[1-3578])|(7[14-7])|(8[1-79])|(9[145])([02-9][\\d]{6})|(1([0-8][\\d]{5})|(9[\\d]{3}([\\d]{2})?))))", + "pattern": "((47[\\d]{7})|((1[2-8])|(2[2-69])|(3[2-4])|(4[1-468])|(5[24-689])|(6[1-3578])|(7[14-7])|(8[1-79])|(9[145])([02-9][\\d]{6})|(1([0-8][\\d]{5})|(9[\\d]{3}([\\d]{2})?))))", }, "PM": {"code": "508", "pattern": "(((4[1-3])|(50)[\\d]{4}))"}, "PR": {"code": "1", "pattern": "(((787)|(939)[2-9][\\d]{6}))"},