From d40ed99efaea320ad0d60dcedb0f1c72ce4afc48edb1c86aeb807d3e33f3d3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 10 Mar 2019 11:05:14 +0000 Subject: [PATCH] Accepting request 683524 from home:jayvdb:py-check-failures - Remove pre-existing bytecode files in the sdist, which were being included in the runtime package and causing lint warnings on Leap 42.3 & SLE 12 SP4, and they were breaking tests on Leap 15. OBS-URL: https://build.opensuse.org/request/show/683524 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=18 --- python-Faker.changes | 7 +++++++ python-Faker.spec | 2 ++ 2 files changed, 9 insertions(+) diff --git a/python-Faker.changes b/python-Faker.changes index eac3dff..7744f4f 100644 --- a/python-Faker.changes +++ b/python-Faker.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Mar 10 10:15:00 UTC 2019 - John Vandenberg + +- Remove pre-existing bytecode files in the sdist, which were + being included in the runtime package and causing lint warnings + on Leap 42.3 & SLE 12 SP4, and they were breaking tests on Leap 15. + ------------------------------------------------------------------- Thu Feb 14 14:44:47 UTC 2019 - Tomáš Chvátal diff --git a/python-Faker.spec b/python-Faker.spec index 163ea8e..d596e2b 100644 --- a/python-Faker.spec +++ b/python-Faker.spec @@ -63,6 +63,8 @@ testing, and data anonymization from production services. %prep %setup -q -n Faker-%{version} +# Remove pre-existing bytecode files in the sdist +find . -name '*.py[co]' -delete # do not hardcode pytest version sed -i -e 's:"pytest>=3.8.0,<3.9":"pytest>=3.8.0":g' setup.py