15
0

2 Commits

Author SHA256 Message Date
7d026725f6 Accepting request 1221720 from devel:languages:python
- Add drop-icecream-dep.patch
- Update to 3.3.0:
   * Add mypy type-checking variant of the recently added import test,
     in packaging.release.test_install. This helps prove packages
     exposing py.typed in their source tree are including it in their
     distributions correctly.
- 3.2.0:
   * Minor enhancements to the checks module:
     - blacken now has a format alias (and will likely reverse the
       real name and the alias in 4.0)
     - Added lint task which currently just runs flake8, will likely
       learn how to be configurable later.
     - Added all_ default task for the collection, which runs both
       blacken (in regular, not diff-only mode - idea is to be useful
       for devs, not CI, which already does both independently) and
       lint in series.
- 3.1.0:
    * Updated packaging.release.test_install to attempt imports of
      freshly test-installed packages, to catch import-time errors on
      top of install-time ones. This can be opted out of by giving the
      skip_import kwarg (aka the --skip-import flag on the CLI).

OBS-URL: https://build.opensuse.org/request/show/1221720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-invocations?expand=0&rev=15
2024-11-08 10:56:02 +00:00
0a13c14138 - Add drop-icecream-dep.patch
- Update to 3.3.0:
   * Add mypy type-checking variant of the recently added import test,
     in packaging.release.test_install. This helps prove packages
     exposing py.typed in their source tree are including it in their
     distributions correctly.
- 3.2.0:
   * Minor enhancements to the checks module:
     - blacken now has a format alias (and will likely reverse the
       real name and the alias in 4.0)
     - Added lint task which currently just runs flake8, will likely
       learn how to be configurable later.
     - Added all_ default task for the collection, which runs both
       blacken (in regular, not diff-only mode - idea is to be useful
       for devs, not CI, which already does both independently) and
       lint in series.
- 3.1.0:
    * Updated packaging.release.test_install to attempt imports of
      freshly test-installed packages, to catch import-time errors on
      top of install-time ones. This can be opted out of by giving the
      skip_import kwarg (aka the --skip-import flag on the CLI).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invocations?expand=0&rev=36
2024-11-06 10:28:36 +00:00
2 changed files with 6 additions and 11 deletions

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
Mon Jun 30 05:51:22 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Drop unneeded {Build,}Requires on python-lexicon.
-------------------------------------------------------------------
Wed Nov 6 10:23:52 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-invocations
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,7 @@ Patch0: invocations-no-bundled.patch
Patch1: drop-icecream-dep.patch
BuildRequires: %{python_module blessings >= 1.6}
BuildRequires: %{python_module invoke >= 1.7.2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module lexicon}
BuildRequires: %{python_module pytest-relaxed}
BuildRequires: %{python_module releases >= 1.6}
BuildRequires: %{python_module semantic_version >= 2.4}
@@ -42,6 +42,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-blessings >= 1.6
Requires: python-invoke >= 1.7.2
Requires: python-lexicon
Requires: python-releases >= 1.6
Requires: python-semantic_version >= 2.4
Requires: python-tabulate >= 0.7.5
@@ -66,10 +67,10 @@ the Invoke project's communication channels for updates. Thanks!
%autosetup -p1 -n invocations-%{version}
%build
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -83,6 +84,6 @@ rm -r tests/autodoc/ tests/packaging/
%doc README.rst
%license LICENSE
%{python_sitelib}/invocations
%{python_sitelib}/invocations-%{version}.dist-info
%{python_sitelib}/invocations-%{version}*info
%changelog