From 55a2b1d16df3eb9a4977be5da0ccdfc7162235d5 Mon Sep 17 00:00:00 2001 From: "bear (Mike Taylor)" Date: Sun, 31 May 2020 18:37:52 -0400 Subject: [PATCH] Updated Pipfile and Makefile to: - update and move packages to the "dev" section - use Python 3.7 for pipenv - install tox-pipenv plugin to try and fix Tox (currently doesn't) - simplify tox.ini to try and fix Tox (didn't) - move ci makefile target to the circle config Currently Tox is broken (see https://github.com/tox-dev/tox-pipenv/issues/61) --- .circleci/config.yml | 8 +- CHANGES.txt | 14 ++ Makefile | 32 +--- Pipfile | 4 +- Pipfile.lock | 374 +++++++++++++++++++++++++++++++++++++++++++ README.rst | 7 +- tox.ini | 12 +- 7 files changed, 403 insertions(+), 48 deletions(-) create mode 100644 Pipfile.lock diff --git a/.circleci/config.yml b/.circleci/config.yml index a4f4aba..32d2098 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,8 +11,8 @@ jobs: command: | make dev make info - uname -a - lsb_release -a - run: - name: build and test - command: make ci + name: test + command: | + make lint + make coverage diff --git a/CHANGES.txt b/CHANGES.txt index c9edfb4..74a2ad2 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,17 @@ +31 May 2020 - bear + PR #244 Polished README.rst + PR #242 fix pyicu import to suppress warnings + PR #239 Fixed missing comma in seconds strings + + Updated Pipfile and Makefile to: + - update and move packages to the "dev" section + - use Python 3.7 for pipenv + - install tox-pipenv plugin to try and fix Tox (currently doesn't) + - simplify tox.ini to try and fix Tox (didn't) + - move ci makefile target to the circle config + + Currently Tox is broken (see https://github.com/tox-dev/tox-pipenv/issues/61) + 18 Nov 2019 - bear v2.5 release diff --git a/Makefile b/Makefile index 24c805f..25f7bb3 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,6 @@ -.PHONY: docs test - -UNAME_S := $(shell uname -s) -ifeq ($(UNAME_S),Darwin) - BREWPATH = $(shell brew --prefix) - PYICU_LD = "-L${BREWPATH}/opt/icu4c/lib -L${BREWPATH}/opt/openssl@1.1/lib" - PYICU_CPP = "-I${BREWPATH}/opt/icu4c/include -I${BREWPATH}/opt/openssl@1.1/include" - ICU_VER = 58.2 -else - PYICU_LD = - PYICU_CPP = - ICU_VER = -endif +.PHONY: dev info clean docs lint test help: - @echo " env install all production dependencies" @echo " dev install all dev and production dependencies (virtualenv is assumed)" @echo " clean remove unwanted stuff" @echo " lint check style with flake8" @@ -21,18 +8,12 @@ help: @echo " build generate source and wheel dist files" @echo " upload generate source and wheel dist files and upload them" -env: - pipenv install - -dev: env - @echo "on OS X use homebrew to install icu4c" - LDFLAGS=${PYICU_LD} CPPFLAGS=${PYICU_CPP} ICU_VERSION=${ICU_VER} \ - pipenv --python 2.7 - pipenv --python 3.7 +dev: + pipenv install --dev --python 3.7 info: - @python --version @pipenv --version + @pipenv run python --version clean: rm -fr build @@ -47,7 +28,7 @@ docs: lint: pipenv run flake8 parsedatetime > violations.flake8.txt -test: lint +test: pipenv run python setup.py test tox: clean @@ -58,9 +39,6 @@ coverage: clean @pipenv run coverage html @pipenv run coverage report -ci: tox coverage - CODECOV_TOKEN=`cat .codecov-token` pipenv run codecov - build: clean pipenv run python setup.py check pipenv run python setup.py sdist diff --git a/Pipfile b/Pipfile index 662b7fd..6024b62 100644 --- a/Pipfile +++ b/Pipfile @@ -4,6 +4,7 @@ url = "https://pypi.org/simple" verify_ssl = true [dev-packages] +tox = "*" tox-pipenv = "*" pytest = "*" pytest-cov = "*" @@ -15,8 +16,7 @@ coveralls = "*" codecov = "*" check-manifest = "*" unittest2 = "*" -tox = "*" -tox-pyenv = "*" +pyicu-binary = "*" [packages] diff --git a/Pipfile.lock b/Pipfile.lock new file mode 100644 index 0000000..c7bcf1d --- /dev/null +++ b/Pipfile.lock @@ -0,0 +1,374 @@ +{ + "_meta": { + "hash": { + "sha256": "93b324c3339e1b98c1c17125c7cdc32eb95784fdbc1bfc6e4cdd1f1c95d0bc04" + }, + "pipfile-spec": 6, + "requires": { + "python_version": "3.7" + }, + "sources": [ + { + "name": "pypi", + "url": "https://pypi.org/simple", + "verify_ssl": true + } + ] + }, + "default": {}, + "develop": { + "appdirs": { + "hashes": [ + "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41", + "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128" + ], + "version": "==1.4.4" + }, + "argparse": { + "hashes": [ + "sha256:62b089a55be1d8949cd2bc7e0df0bddb9e028faefc8c32038cc84862aefdd6e4", + "sha256:c31647edb69fd3d465a847ea3157d37bed1f95f19760b11a47aa91c04b666314" + ], + "version": "==1.4.0" + }, + "attrs": { + "hashes": [ + "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c", + "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72" + ], + "version": "==19.3.0" + }, + "certifi": { + "hashes": [ + "sha256:1d987a998c75633c40847cc966fcf5904906c920a7f17ef374f5aa4282abd304", + "sha256:51fcb31174be6e6664c5f69e3e1691a2d72a1a12e90f872cbdb1567eb47b6519" + ], + "version": "==2020.4.5.1" + }, + "chardet": { + "hashes": [ + "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae", + "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691" + ], + "version": "==3.0.4" + }, + "check-manifest": { + "hashes": [ + "sha256:0d8e1b0944a667dd4a75274f6763e558f0d268fde2c725e894dfd152aae23300", + "sha256:3131d1b32d88ea3eb222a09c6277d78f43d1e780901e5d60e1b4a8d15169e9ee" + ], + "index": "pypi", + "version": "==0.42" + }, + "codecov": { + "hashes": [ + "sha256:2ebd639d8f621aabcce399e475b0302e436cb7e00e7724d1b2224bbf3f215a0c" + ], + "index": "pypi", + "version": "==2.1.3" + }, + "coverage": { + "hashes": [ + "sha256:00f1d23f4336efc3b311ed0d807feb45098fc86dee1ca13b3d6768cdab187c8a", + "sha256:01333e1bd22c59713ba8a79f088b3955946e293114479bbfc2e37d522be03355", + "sha256:0cb4be7e784dcdc050fc58ef05b71aa8e89b7e6636b99967fadbdba694cf2b65", + "sha256:0e61d9803d5851849c24f78227939c701ced6704f337cad0a91e0972c51c1ee7", + "sha256:1601e480b9b99697a570cea7ef749e88123c04b92d84cedaa01e117436b4a0a9", + "sha256:2742c7515b9eb368718cd091bad1a1b44135cc72468c731302b3d641895b83d1", + "sha256:2d27a3f742c98e5c6b461ee6ef7287400a1956c11421eb574d843d9ec1f772f0", + "sha256:402e1744733df483b93abbf209283898e9f0d67470707e3c7516d84f48524f55", + "sha256:5c542d1e62eece33c306d66fe0a5c4f7f7b3c08fecc46ead86d7916684b36d6c", + "sha256:5f2294dbf7875b991c381e3d5af2bcc3494d836affa52b809c91697449d0eda6", + "sha256:6402bd2fdedabbdb63a316308142597534ea8e1895f4e7d8bf7476c5e8751fef", + "sha256:66460ab1599d3cf894bb6baee8c684788819b71a5dc1e8fa2ecc152e5d752019", + "sha256:782caea581a6e9ff75eccda79287daefd1d2631cc09d642b6ee2d6da21fc0a4e", + "sha256:79a3cfd6346ce6c13145731d39db47b7a7b859c0272f02cdb89a3bdcbae233a0", + "sha256:7a5bdad4edec57b5fb8dae7d3ee58622d626fd3a0be0dfceda162a7035885ecf", + "sha256:8fa0cbc7ecad630e5b0f4f35b0f6ad419246b02bc750de7ac66db92667996d24", + "sha256:a027ef0492ede1e03a8054e3c37b8def89a1e3c471482e9f046906ba4f2aafd2", + "sha256:a3f3654d5734a3ece152636aad89f58afc9213c6520062db3978239db122f03c", + "sha256:a82b92b04a23d3c8a581fc049228bafde988abacba397d57ce95fe95e0338ab4", + "sha256:acf3763ed01af8410fc36afea23707d4ea58ba7e86a8ee915dfb9ceff9ef69d0", + "sha256:adeb4c5b608574a3d647011af36f7586811a2c1197c861aedb548dd2453b41cd", + "sha256:b83835506dfc185a319031cf853fa4bb1b3974b1f913f5bb1a0f3d98bdcded04", + "sha256:bb28a7245de68bf29f6fb199545d072d1036a1917dca17a1e75bbb919e14ee8e", + "sha256:bf9cb9a9fd8891e7efd2d44deb24b86d647394b9705b744ff6f8261e6f29a730", + "sha256:c317eaf5ff46a34305b202e73404f55f7389ef834b8dbf4da09b9b9b37f76dd2", + "sha256:dbe8c6ae7534b5b024296464f387d57c13caa942f6d8e6e0346f27e509f0f768", + "sha256:de807ae933cfb7f0c7d9d981a053772452217df2bf38e7e6267c9cbf9545a796", + "sha256:dead2ddede4c7ba6cb3a721870f5141c97dc7d85a079edb4bd8d88c3ad5b20c7", + "sha256:dec5202bfe6f672d4511086e125db035a52b00f1648d6407cc8e526912c0353a", + "sha256:e1ea316102ea1e1770724db01998d1603ed921c54a86a2efcb03428d5417e489", + "sha256:f90bfc4ad18450c80b024036eaf91e4a246ae287701aaa88eaebebf150868052" + ], + "index": "pypi", + "version": "==5.1" + }, + "coveralls": { + "hashes": [ + "sha256:41bd57b60321dfd5b56e990ab3f7ed876090691c21a9e3b005e1f6e42e6ba4b9", + "sha256:d213f5edd49053d03f0db316ccabfe17725f2758147afc9a37eaca9d8e8602b5" + ], + "index": "pypi", + "version": "==2.0.0" + }, + "distlib": { + "hashes": [ + "sha256:2e166e231a26b36d6dfe35a48c4464346620f8645ed0ace01ee31822b288de21" + ], + "version": "==0.3.0" + }, + "docopt": { + "hashes": [ + "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491" + ], + "version": "==0.6.2" + }, + "filelock": { + "hashes": [ + "sha256:18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59", + "sha256:929b7d63ec5b7d6b71b0fa5ac14e030b3f70b75747cef1b10da9b879fef15836" + ], + "version": "==3.0.12" + }, + "flake8": { + "hashes": [ + "sha256:c69ac1668e434d37a2d2880b3ca9aafd54b3a10a3ac1ab101d22f29e29cf8634", + "sha256:ccaa799ef9893cebe69fdfefed76865aeaefbb94cb8545617b2298786a4de9a5" + ], + "index": "pypi", + "version": "==3.8.2" + }, + "idna": { + "hashes": [ + "sha256:7588d1c14ae4c77d74036e8c22ff447b26d0fde8f007354fd48a7814db15b7cb", + "sha256:a068a21ceac8a4d63dbfd964670474107f541babbd2250d61922f029858365fa" + ], + "version": "==2.9" + }, + "importlib-metadata": { + "hashes": [ + "sha256:2a688cbaa90e0cc587f1df48bdc97a6eadccdcd9c35fb3f976a09e3b5016d90f", + "sha256:34513a8a0c4962bc66d35b359558fd8a5e10cd472d37aec5f66858addef32c1e" + ], + "markers": "python_version < '3.8'", + "version": "==1.6.0" + }, + "linecache2": { + "hashes": [ + "sha256:4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c", + "sha256:e78be9c0a0dfcbac712fe04fbf92b96cddae80b1b842f24248214c8496f006ef" + ], + "version": "==1.0.0" + }, + "mccabe": { + "hashes": [ + "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", + "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f" + ], + "index": "pypi", + "version": "==0.6.1" + }, + "more-itertools": { + "hashes": [ + "sha256:558bb897a2232f5e4f8e2399089e35aecb746e1f9191b6584a151647e89267be", + "sha256:7818f596b1e87be009031c7653d01acc46ed422e6656b394b0f765ce66ed4982" + ], + "version": "==8.3.0" + }, + "packaging": { + "hashes": [ + "sha256:4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8", + "sha256:998416ba6962ae7fbd6596850b80e17859a5753ba17c32284f67bfff33784181" + ], + "version": "==20.4" + }, + "pep517": { + "hashes": [ + "sha256:576c480be81f3e1a70a16182c762311eb80d1f8a7b0d11971e5234967d7a342c", + "sha256:8e6199cf1288d48a0c44057f112acf18aa5ebabbf73faa242f598fbe145ba29e" + ], + "version": "==0.8.2" + }, + "pipenv": { + "hashes": [ + "sha256:27da0a74f7ed8f24d72422c68cf42ca60aae326d7a894a9d6bfc6c613dbd2216", + "sha256:81862314929e3e532502e25bab3c6ba969c0cf67dcaa9d63c2c931ee2d61541c" + ], + "version": "==2020.5.28" + }, + "pluggy": { + "hashes": [ + "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0", + "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d" + ], + "version": "==0.13.1" + }, + "py": { + "hashes": [ + "sha256:5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa", + "sha256:c20fdd83a5dbc0af9efd622bee9a5564e278f6380fffcacc43ba6f43db2813b0" + ], + "version": "==1.8.1" + }, + "pycodestyle": { + "hashes": [ + "sha256:2295e7b2f6b5bd100585ebcb1f616591b652db8a741695b3d8f5d28bdc934367", + "sha256:c58a7d2815e0e8d7972bf1803331fb0152f867bd89adf8a01dfd55085434192e" + ], + "version": "==2.6.0" + }, + "pyflakes": { + "hashes": [ + "sha256:0d94e0e05a19e57a99444b6ddcf9a6eb2e5c68d3ca1e98e90707af8152c90a92", + "sha256:35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8" + ], + "version": "==2.2.0" + }, + "pyicu-binary": { + "hashes": [ + "sha256:140933607d9a81e97f468d67a93d7183d80a21237d29f3c2c8b9ad30057bb59e", + "sha256:248a941c9af1d0f82ff4bf591e878d2fe34d259eb84a6335ee579807458fc85f", + "sha256:2a645a2ce52fb1500d3143cbc662a9cc5186e94a24d55d4260ac246ed54bf8a6", + "sha256:463024d18ecde1a4f656bf8f4f9f6833cf5e480bc54a3f11155cecae0eb2514b", + "sha256:4956e3670f8693c0eba5e60edb1c2fd8f1de2eb48df0d76c3f32d32b6d7654e6", + "sha256:4e6a49340908495969081fc8351c1fb57b68d310b0ba1a49e0d4a5cee529cdab", + "sha256:581fe1c52d4f595a794ab4badb76567215946fd1dfaaf5d22caedb5717359f6b", + "sha256:5fa8fd6238527729cb1e67ee391adadbc18d07f56257997587174ca3fcd718ff", + "sha256:74b1e811456258b05311238461c7c026d544ba036e54e5452e801de6ba963fab", + "sha256:7ef7e17ba75eee11847cef79db3109f26c1c094319686508c99410fe16871b3f", + "sha256:8dbfa360adea71ebd257d95443c8b51a3c54e06aff7c6cf807d7c24a1eaa3002", + "sha256:9f0501f3a8a49b27abd3c6900898bdd84aa53ce398ecd145a5f1ad609ecc8e75", + "sha256:a58e09ac05947d7110dec457366c356a1e1118be029a38b4b03e66a22909bb06", + "sha256:ba91381a93e11b9da67a0f83fc65bf7872aa66363bf659c84fa94e05193913e6", + "sha256:c4727dcf6ce7c9cc210b1fa0cba46e320c61c86af48c3c08004ca6382d203831", + "sha256:cec07b346e6f7c5a4d97c4bd66fe8e549c82a45d3e9e90ce3509b93a09a86bee", + "sha256:d86ea896553cb1de7f1d8dbf6c7b1397fe53c0fab6f72dcf7cba69c200fb5840", + "sha256:d88d97fd725ebc70173f74f8bbcf488dc162dba48eb52e6a828e61906bce5124", + "sha256:d88e6b0c7b8939506d0ab04cadcdc77407f19f5396a003dace2a1d32beb53169", + "sha256:e860387620433b35cca6d92126387766ef956abe62c26e3f08b5ad29c6832142" + ], + "index": "pypi", + "version": "==2.3.1" + }, + "pyparsing": { + "hashes": [ + "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1", + "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b" + ], + "version": "==2.4.7" + }, + "pytest": { + "hashes": [ + "sha256:95c710d0a72d91c13fae35dce195633c929c3792f54125919847fdcdf7caa0d3", + "sha256:eb2b5e935f6a019317e455b6da83dd8650ac9ffd2ee73a7b657a30873d67a698" + ], + "index": "pypi", + "version": "==5.4.2" + }, + "pytest-cov": { + "hashes": [ + "sha256:b6a814b8ed6247bd81ff47f038511b57fe1ce7f4cc25b9106f1a4b106f1d9322", + "sha256:c87dfd8465d865655a8213859f1b4749b43448b5fae465cb981e16d52a811424" + ], + "index": "pypi", + "version": "==2.9.0" + }, + "pytest-runner": { + "hashes": [ + "sha256:5534b08b133ef9a5e2c22c7886a8f8508c95bb0b0bdc6cc13214f269c3c70d51", + "sha256:96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b" + ], + "index": "pypi", + "version": "==5.2" + }, + "requests": { + "hashes": [ + "sha256:43999036bfa82904b6af1d99e4882b560e5e2c68e5c4b0aa03b655f3d7d73fee", + "sha256:b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6" + ], + "version": "==2.23.0" + }, + "six": { + "hashes": [ + "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259", + "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced" + ], + "version": "==1.15.0" + }, + "toml": { + "hashes": [ + "sha256:926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f", + "sha256:bda89d5935c2eac546d648028b9901107a595863cb36bae0c73ac804a9b4ce88" + ], + "version": "==0.10.1" + }, + "tox": { + "hashes": [ + "sha256:322dfdf007d7d53323f767badcb068a5cfa7c44d8aabb698d131b28cf44e62c4", + "sha256:8c9ad9b48659d291c5bc78bcabaa4d680d627687154b812fa52baedaa94f9f83" + ], + "index": "pypi", + "version": "==3.15.1" + }, + "tox-pipenv": { + "hashes": [ + "sha256:23c44c787e6ab2f2b00e9a68820dde677fd93345d74edbd27cc19bc035a99b18", + "sha256:4d3207954d97f52abe8835d8538916f4d34975de2329d0cdef611cfb93355542" + ], + "index": "pypi", + "version": "==1.10.0" + }, + "traceback2": { + "hashes": [ + "sha256:05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030", + "sha256:8253cebec4b19094d67cc5ed5af99bf1dba1285292226e98a31929f87a5d6b23" + ], + "version": "==1.4.0" + }, + "unittest2": { + "hashes": [ + "sha256:13f77d0875db6d9b435e1d4f41e74ad4cc2eb6e1d5c824996092b3430f088bb8", + "sha256:22882a0e418c284e1f718a822b3b022944d53d2d908e1690b319a9d3eb2c0579" + ], + "index": "pypi", + "version": "==1.1.0" + }, + "urllib3": { + "hashes": [ + "sha256:3018294ebefce6572a474f0604c2021e33b3fd8006ecd11d62107a5d2a963527", + "sha256:88206b0eb87e6d677d424843ac5209e3fb9d0190d0ee169599165ec25e9d9115" + ], + "version": "==1.25.9" + }, + "virtualenv": { + "hashes": [ + "sha256:a116629d4e7f4d03433b8afa27f43deba09d48bc48f5ecefa4f015a178efb6cf", + "sha256:a730548b27366c5e6cbdf6f97406d861cccece2e22275e8e1a757aeff5e00c70" + ], + "version": "==20.0.21" + }, + "virtualenv-clone": { + "hashes": [ + "sha256:07e74418b7cc64f4fda987bf5bc71ebd59af27a7bc9e8a8ee9fd54b1f2390a27", + "sha256:665e48dd54c84b98b71a657acb49104c54e7652bce9c1c4f6c6976ed4c827a29" + ], + "version": "==0.5.4" + }, + "wcwidth": { + "hashes": [ + "sha256:cafe2186b3c009a04067022ce1dcd79cb38d8d65ee4f4791b8888d6599d1bbe1", + "sha256:ee73862862a156bf77ff92b09034fc4825dd3af9cf81bc5b360668d425f3c5f1" + ], + "version": "==0.1.9" + }, + "zipp": { + "hashes": [ + "sha256:aa36550ff0c0b7ef7fa639055d797116ee891440eac1a56f378e2d3179e0320b", + "sha256:c599e4d75c98f6798c509911d08a22e6c021d074469042177c8c86fb92eefd96" + ], + "markers": "python_version < '3.8'", + "version": "==3.1.0" + } + } +} diff --git a/README.rst b/README.rst index 2ccdfcb..8633ccd 100644 --- a/README.rst +++ b/README.rst @@ -59,15 +59,10 @@ PyEnv environment:: pyenv install -s pypy-5.3 pyenv global 2.7.11 3.5.2 2.6.9 pypy-5.3 -The tests depend on PyICU being installed. PyICU depends on icu4c which on macOS requires homebrew:: +The tests depend on PyICU being installed using the `pyicu-binary` package which removes the source build step. PyICU depends on icu4c which on macOS requires homebrew:: brew install icu4c -*and* then will require that you pass in the ``LDFLAGS`` and ``CPPFLAGS`` that homebrew will display after the install:: - - LDFLAGS: -L/usr/local/opt/icu4c/lib - CPPFLAGS: -I/usr/local/opt/icu4c/include - The Makefile contains the macOS default values for them so you may need to tweak them. =================== diff --git a/tox.ini b/tox.ini index 31443a4..dfbcf61 100644 --- a/tox.ini +++ b/tox.ini @@ -1,16 +1,10 @@ [tox] -envlist = py37,py27,codestyle +envlist = py37,py27 skip_missing_interpreters = True [testenv] -deps = -Ur{toxinidir}/requirements.txt - -Ur{toxinidir}/requirements.testing.txt - +deps = + pytest commands = py.test {posargs} - setenv = PYTHONWARNINGS=always::DeprecationWarning - -[testenv:codestyle] -deps = pycodestyle -commands = pycodestyle --ignore=E501,E741 parsedatetime tests