14
0

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipreqs?expand=0&rev=9
This commit is contained in:
2023-07-10 05:12:47 +00:00
committed by Git OBS Bridge
parent 9259137afe
commit a2855911ab
4 changed files with 29 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e351d644b28b98d7386b046a73806cbb3bb66b23a30e74feeb95ed9571db939
size 38213

BIN
pipreqs-0.4.13.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Jul 10 05:12:03 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <ecsos@opensuse.org>

View File

@@ -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,19 +18,19 @@
%{?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
@@ -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