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
This commit is contained in:
Tomáš Chvátal 2019-03-10 11:05:14 +00:00 committed by Git OBS Bridge
parent d2f2a927d7
commit d40ed99efa
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 10 10:15:00 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- 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 <tchvatal@suse.com>

View File

@ -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