diff --git a/pipreqs-0.4.10.tar.gz b/pipreqs-0.4.10.tar.gz deleted file mode 100644 index f7deada..0000000 --- a/pipreqs-0.4.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e351d644b28b98d7386b046a73806cbb3bb66b23a30e74feeb95ed9571db939 -size 38213 diff --git a/pipreqs-0.4.13.tar.gz b/pipreqs-0.4.13.tar.gz new file mode 100644 index 0000000..58df11b --- /dev/null +++ b/pipreqs-0.4.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a17f167880b6921be37533ce4c81ddc6e22b465c107aad557db43b1add56a99b +size 47595 diff --git a/python-pipreqs.changes b/python-pipreqs.changes index f91ca79..828cac8 100644 --- a/python-pipreqs.changes +++ b/python-pipreqs.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Jul 10 05:12:03 UTC 2023 - Steve Kowalik + +- Update to 0.4.13: + * Update mapping for python-slugify + * Update mapping socketio to python-socketio + * Add mapping for python-constraint + * Mitigation for dependency confusion (bsc#1212933, CVE-2023-31543) + * enh: include airflow mapping + * Mapping Telegram to python-telegram-bot + * added => and ~= support through the "mode" option +- Don't use greedy globs in %files. +- Switch to pyproject macros. +- Skip more tests that require network access. +- Drop unneeded Requires on setuptools. + ------------------------------------------------------------------- Tue Jun 13 08:57:42 UTC 2023 - ecsos diff --git a/python-pipreqs.spec b/python-pipreqs.spec index e83f6c8..76f2732 100644 --- a/python-pipreqs.spec +++ b/python-pipreqs.spec @@ -1,7 +1,7 @@ # # spec file for package python-pipreqs # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,22 +18,22 @@ %{?sle15_python_module_pythons} Name: python-pipreqs -Version: 0.4.10 +Version: 0.4.13 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 pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docopt -Requires: python-setuptools Requires: python-yarg Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module docopt} @@ -49,16 +49,16 @@ Pip requirements.txt generator based on imports in project. chmod a-x pipreqs/pipreqs.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/pipreqs %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # 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)' +%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 or test_clean or test_dynamic_version)' %post %python_install_alternative pipreqs @@ -70,6 +70,7 @@ chmod a-x pipreqs/pipreqs.py %doc AUTHORS.rst README.rst %license LICENSE %python_alternative %{_bindir}/pipreqs -%{python_sitelib}/* +%{python_sitelib}/pipreqs +%{python_sitelib}/pipreqs-%{version}.dist-info %changelog