- Unset source date epoch for tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=58
This commit is contained in:
parent
100c43d9a2
commit
df43af400c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 10 10:23:44 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Unset source date epoch for tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 10 03:12:41 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -67,10 +67,9 @@ cp -p src/poetry/core/_vendor/tomli/LICENSE vendoredlicenses/tomli.L
|
||||
%check
|
||||
# gh#python-poetry/poetry#1645
|
||||
git init
|
||||
# date time issues -- wheel gets built with the current time
|
||||
donttest="test_dist_info_date_time_default_value or test_sdist_mtime_zero "
|
||||
donttest+="or test_sdist_members_mtime_default"
|
||||
%pytest -k "not ($donttest)"
|
||||
# tests expect the default 2016-01-01 for test builds, not the epoch set by OBS (serverside)
|
||||
unset SOURCE_DATE_EPOCH
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
Loading…
Reference in New Issue
Block a user