From 2ad4cdf75b782280f7d6c8cf215a32ee29b0ba28 Mon Sep 17 00:00:00 2001 From: James Pulec Date: Tue, 5 Jan 2021 19:57:40 -0800 Subject: [PATCH 1/3] Pin Faker to Prevent Asteroid Crash There's some sort of issue with version 5.0.2 of Faker which updates a lot of code to use the pathlib library instead of os utils. This causes the sys.path_importer_cache to get filled with PosixPath objects instead of strings as it's keys, which causes an asteroid crash. For now, we can just pin Faker to a version that still works until the upstream issue is resolved. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index ae3c2e0a..5e62e551 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,7 @@ install_requires=[ 'pylint-plugin-utils>=0.5', 'pylint>=2.0', + 'Faker==5.0.1', ], extras_require={ 'with_django': ['Django'], From 2936373644bdc870c776174c9d939f53256653ef Mon Sep 17 00:00:00 2001 From: James Pulec Date: Wed, 6 Jan 2021 00:01:05 -0800 Subject: [PATCH 2/3] Remove Python 3.5 Support It's be EOL'd since Sept 2020, so time to ditch it. --- setup.py | 1 - tox.ini | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 5e62e551..e587f03b 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,6 @@ 'Operating System :: Unix', 'Topic :: Software Development :: Quality Assurance', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', diff --git a/tox.ini b/tox.ini index b5207d30..6e342548 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ envlist = pylint readme py{36}-django{111,20,-master} - py{35,36,37}-django22 + py{36,37}-django22 py{36,37,38}-django{30,31} [testenv] @@ -20,7 +20,7 @@ commands = pylint: pylint --rcfile=tox.ini -d missing-docstring,too-many-branches,too-many-return-statements,too-many-ancestors,fixme --ignore=tests pylint_django setup readme: bash -c \'python setup.py -q sdist && twine check dist/*\' py{36}-django{111,20,-master}: coverage run pylint_django/tests/test_func.py -v - py{35,36,37}-django22: coverage run pylint_django/tests/test_func.py -v + py{36,37}-django22: coverage run pylint_django/tests/test_func.py -v py{36,37,38}-django{30,31}: coverage run pylint_django/tests/test_func.py -v clean: find . -type f -name '*.pyc' -delete clean: find . -type d -name __pycache__ -delete @@ -47,7 +47,7 @@ whitelist_externals = django_not_installed: bash readme: bash py{36}-django{111,20,-master}: coverage - py{35,36,37}-django22: coverage + py{36,37}-django22: coverage py{36,37,38}-django{30,31}: coverage clean: find clean: rm From 0834fd57ce6cfccd4b9fccd87a61ed396a85c111 Mon Sep 17 00:00:00 2001 From: James Pulec Date: Wed, 6 Jan 2021 00:17:26 -0800 Subject: [PATCH 3/3] And Remove From Travis --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 47203e1c..ea782a2c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ dist: xenial language: python python: - - 3.5 - 3.6 - 3.7 - 3.8