forked from pool/python-fawltydeps
- migrate to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fawltydeps?expand=0&rev=12
This commit is contained in:
@@ -1,21 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 15 08:47:51 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||||
|
|
||||||
|
- migrate to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 14 14:09:44 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
Thu Aug 14 14:09:44 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
||||||
|
|
||||||
- Add missing runtime requirements
|
- Add missing runtime requirements
|
||||||
- Update to 0.20.0
|
|
||||||
* Expand user defined mapping documentation. by @obscurerichard in #480
|
|
||||||
* Follow-up after removing support for Python v3.8 by @jherland in #475
|
|
||||||
* Work around top-level venv special case by @jherland in #468
|
|
||||||
* Upgrade project declarations in pyproject.toml by @jherland in #481
|
|
||||||
* Suggest package names for undeclared imports, when possible by @jherland in #470
|
|
||||||
* CI: call actionlint to check workflow files by @smelc in #485
|
|
||||||
* Add support for *-wildcards in ignore-undeclared and ignore-unused by @jherland in #479
|
|
||||||
* RFC/Follow-up to actionlint CI action by @jherland in #488
|
|
||||||
* Follow-up to #484: Add a --base-dir option by @jherland in #489
|
|
||||||
* CI: run CodeQL by @smelc in #487
|
|
||||||
* CI: call the CodeQL workflow from the main workflow file by @smelc in #491
|
|
||||||
* Fix infinite recursion when --base-dir is not a parent of a source file by @jherland in #492
|
|
||||||
* Update dependencies and bump version to v0.20.0 by @jherland in #493
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 13 12:15:54 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
Sun Jul 13 12:15:54 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
@@ -56,15 +47,6 @@ Tue Apr 1 20:03:48 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
|||||||
* Documentation page: mkdocs & GitHub pages by @mknorps in #449
|
* Documentation page: mkdocs & GitHub pages by @mknorps in #449
|
||||||
* Add support for PEP 735 dependency groups by @jherland in #469
|
* Add support for PEP 735 dependency groups by @jherland in #469
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Mar 3 08:53:55 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
|
||||||
|
|
||||||
- update to 0.19.0
|
|
||||||
* Drop Python v3.7 support, upgrade deps, add Python v3.13 support by @jherland in #459
|
|
||||||
* Documentation page: mkdocs & GitHub pages by @mknorps in #449
|
|
||||||
* Add support for PEP 735 dependency groups by @jherland in #469
|
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 10 14:00:42 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
Mon Feb 10 14:00:42 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -16,6 +16,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-fawltydeps
|
Name: python-fawltydeps
|
||||||
Version: 0.20.0
|
Version: 0.20.0
|
||||||
@@ -25,8 +31,7 @@ License: MIT
|
|||||||
URL: https://github.com/tweag/FawltyDeps
|
URL: https://github.com/tweag/FawltyDeps
|
||||||
Source: https://github.com/tweag/FawltyDeps/archive/refs/tags/v%{version}.tar.gz#/fawltydeps-%{version}.tar.gz
|
Source: https://github.com/tweag/FawltyDeps/archive/refs/tags/v%{version}.tar.gz#/fawltydeps-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module PyYAML >= 6.0.1}
|
BuildRequires: %{python_module PyYAML >= 6.0.1}
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.9.2}
|
||||||
BuildRequires: %{python_module hypothesis}
|
|
||||||
BuildRequires: %{python_module importlib-metadata >= 6.6.0}
|
BuildRequires: %{python_module importlib-metadata >= 6.6.0}
|
||||||
BuildRequires: %{python_module isort > 5.10}
|
BuildRequires: %{python_module isort > 5.10}
|
||||||
BuildRequires: %{python_module nox}
|
BuildRequires: %{python_module nox}
|
||||||
@@ -36,22 +41,25 @@ BuildRequires: %{python_module pip}
|
|||||||
BuildRequires: %{python_module poetry-core}
|
BuildRequires: %{python_module poetry-core}
|
||||||
BuildRequires: %{python_module pydantic >= 1.10.4}
|
BuildRequires: %{python_module pydantic >= 1.10.4}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
# Section TEST dependencies
|
||||||
|
BuildRequires: %{python_module pytest >= 7.1.0}
|
||||||
|
BuildRequires: %{python_module hypothesis}
|
||||||
|
#
|
||||||
Requires: python-PyYAML >= 6.0.1
|
Requires: python-PyYAML >= 6.0.1
|
||||||
Requires: python-importlib-metadata >= 6.6.0
|
Requires: python-importlib-metadata >= 6.6.0
|
||||||
Requires: python-isort > 5.10
|
Requires: python-isort > 5.10
|
||||||
Requires: python-packaging
|
Requires: python-packaging
|
||||||
Requires: python-pip-requirements-parser
|
Requires: python-pip-requirements-parser
|
||||||
Requires: python-pydantic
|
Requires: python-pydantic
|
||||||
|
%if %{with libalternatives}
|
||||||
|
Requires: alts
|
||||||
|
BuildRequires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Suggests: python-uv
|
|
||||||
# TEST dependencies
|
|
||||||
BuildRequires: %{python_module pytest >= 7.1.0}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%if "%{python_flavor}" < "python311"
|
|
||||||
BuildRequires: %{python_module tomli >= 2.0.1}
|
|
||||||
%endif
|
%endif
|
||||||
|
Suggests: python-uv
|
||||||
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -78,6 +86,10 @@ skiptests+=" or test_resolve_dependencies_install_deps_on_mixed_packages__raises
|
|||||||
skiptests+=" or test_resolve_dependencies__generates_expected_mappings"
|
skiptests+=" or test_resolve_dependencies__generates_expected_mappings"
|
||||||
%pytest -k "not ($skiptests)"
|
%pytest -k "not ($skiptests)"
|
||||||
|
|
||||||
|
%pre
|
||||||
|
# If libalternatives is used: Removing old update-alternatives entries.
|
||||||
|
%python_libalternatives_reset_alternative fawltydeps
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative fawltydeps
|
%python_install_alternative fawltydeps
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user