- Raise error if input and output filenames are matched (#1787). Thanks @atugushev - Add pyproject.toml as default input file format (#1780). Thanks @berislavlopac - Fix a regression with unsafe packages for --allow-unsafe (#1788). Thanks @q0w - 6.12.1 (2022-12-16) - Set explicitly packages for setuptools (#1782). Thanks @q0w - 6.12.0 (2022-12-13) - Add --no-index flag to pip-compile (#1745). Thanks @atugushev - Treat --upgrade-packages PKGSPECs as constraints (not just minimums), consistently (#1578). Thanks @AndydeCleyre - Filter out the user provided unsafe packages (#1766). Thanks @q0w - Adopt PEP-621 for packaging (#1763). Thanks @ssbarnea - 6.11.0 (2022-11-30) - Add pyproject.toml file (#1643). Thanks @otherJL0 - Support build isolation using setuptools/pyproject.toml requirement files (#1727). Thanks @atugushev - Improve punctuation/grammar with pip-compile header (#1547). Thanks @blueyed - Generate hashes for all available candidates (#1723). Thanks @neykov - Bump click minimum version to >= 8 (#1733). Thanks @atugushev - Bump pip minimum version to >= 22.2 (#1729). Thanks @atugushev - 6.10.0 (2022-11-13) - Deprecate pip-compile --resolver=legacy (#1724). Thanks @atugushev - Prompt user to use the backtracking resolver on errors (#1719). Thanks @maxfenv - Add support for Python 3.11 final (#1708). Thanks @hugovk OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-tools?expand=0&rev=11
91 lines
2.8 KiB
RPMSpec
91 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package python-pip-tools
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define skip_python2 1
|
|
Name: python-pip-tools
|
|
Version: 6.12.2
|
|
Release: 0
|
|
Summary: Tool to keep pinned dependencies up to date
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/jazzband/pip-tools/
|
|
Source: https://files.pythonhosted.org/packages/source/p/pip-tools/pip-tools-%{version}.tar.gz
|
|
BuildRequires: %{python_module build}
|
|
BuildRequires: %{python_module pip >= 22.2}
|
|
BuildRequires: %{python_module setuptools_scm}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-build
|
|
Requires: python-click >= 8
|
|
Requires: python-pip >= 22.2
|
|
Requires: python-setuptools
|
|
Requires: python-wheel
|
|
Recommends: git-core
|
|
BuildArch: noarch
|
|
# SECTION test requirements
|
|
BuildRequires: %{python_module click >= 8}
|
|
BuildRequires: %{python_module flit-core}
|
|
BuildRequires: %{python_module poetry-core}
|
|
BuildRequires: %{python_module pytest-xdist}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: ca-certificates
|
|
BuildRequires: git-core
|
|
# /SECTION
|
|
%python_subpackages
|
|
|
|
%description
|
|
pip-tools keeps pinned dependencies inside a project up to date.
|
|
|
|
%prep
|
|
%autosetup -p1 -n pip-tools-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%python_clone -a %{buildroot}%{_bindir}/pip-compile
|
|
%python_clone -a %{buildroot}%{_bindir}/pip-sync
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%post
|
|
%python_install_alternative pip-compile pip-sync
|
|
|
|
%postun
|
|
%python_uninstall_alternative pip-compile pip-sync
|
|
|
|
%check
|
|
export LANG=en_US.UTF-8
|
|
donttest="network"
|
|
# test_direct_reference_with_extras also requires network access
|
|
donttest+=" or test_direct_reference_with_extras"
|
|
# test_local_duplicate_subdependency_combined also requires network
|
|
donttest+=" or test_local_duplicate_subdependency_combined"
|
|
%pytest -k "not ($donttest)"
|
|
|
|
%files %{python_files}
|
|
%doc CHANGELOG.md README.rst
|
|
%license LICENSE
|
|
%python_alternative %{_bindir}/pip-compile
|
|
%python_alternative %{_bindir}/pip-sync
|
|
%{python_sitelib}/piptools
|
|
%{python_sitelib}/pip_tools-%{version}*-info
|
|
|
|
%changelog
|