diff --git a/pipreqs-0.4.10.tar.gz b/pipreqs-0.4.10.tar.gz new file mode 100644 index 0000000..f7deada --- /dev/null +++ b/pipreqs-0.4.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e351d644b28b98d7386b046a73806cbb3bb66b23a30e74feeb95ed9571db939 +size 38213 diff --git a/pipreqs-0.4.9.tar.gz b/pipreqs-0.4.9.tar.gz deleted file mode 100644 index 016e702..0000000 --- a/pipreqs-0.4.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cec6eecc4685967b27eb386037565a737d036045f525b9eb314631a68d60e4bc -size 36156 diff --git a/python-pipreqs.changes b/python-pipreqs.changes index e8e5acc..9881a0b 100644 --- a/python-pipreqs.changes +++ b/python-pipreqs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 24 10:47:46 UTC 2020 - pgajdos@suse.com + +- version update to 0.4.10 + * bugfix: f.close() only required if open succeeded + ------------------------------------------------------------------- Fri Mar 1 01:51:15 PM UTC 2019 - John Vandenberg diff --git a/python-pipreqs.spec b/python-pipreqs.spec index 0957441..85e8b15 100644 --- a/python-pipreqs.spec +++ b/python-pipreqs.spec @@ -1,7 +1,7 @@ # # spec file for package python-pipreqs # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pipreqs -Version: 0.4.9 +Version: 0.4.10 Release: 0 Summary: Pip requirements generator based on imports in project License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/bndr/pipreqs Source: https://files.pythonhosted.org/packages/source/p/pipreqs/pipreqs-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module nose} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docopt +Requires: python-setuptools Requires: python-yarg BuildArch: noarch # SECTION test requirements @@ -53,8 +54,8 @@ chmod a-x pipreqs/pipreqs.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Ignore four tests that require network access -%python_exec -m nose -e 'test_(get_imports_info|ignored_directory|init_)' +# Ignore tests that require network access +%pytest -k 'not (test_get_imports_info or test_ignored_directory or test_init or test_init_overwrite or teset_init_savepath or test_omit_version)' %files %{python_files} %doc AUTHORS.rst README.rst