Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
8ae87fa1dc |
19
drop-icecream-dep.patch
Normal file
19
drop-icecream-dep.patch
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Index: invocations-3.3.0/tests/conftest.py
|
||||||
|
===================================================================
|
||||||
|
--- invocations-3.3.0.orig/tests/conftest.py
|
||||||
|
+++ invocations-3.3.0/tests/conftest.py
|
||||||
|
@@ -5,9 +5,11 @@ from pytest import fixture
|
||||||
|
from invoke import MockContext
|
||||||
|
|
||||||
|
# Set up icecream globally for convenience.
|
||||||
|
-from icecream import install
|
||||||
|
-
|
||||||
|
-install()
|
||||||
|
+try:
|
||||||
|
+ from icecream import install
|
||||||
|
+ install()
|
||||||
|
+except ModuleNotFoundError:
|
||||||
|
+ pass
|
||||||
|
|
||||||
|
|
||||||
|
@fixture
|
BIN
invocations-3.0.2.tar.gz
(Stored with Git LFS)
BIN
invocations-3.0.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
invocations-3.3.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
invocations-3.3.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
Index: invocations-3.0.2/tests/packaging/release.py
|
Index: invocations-3.3.0/tests/packaging/release.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- invocations-3.0.2.orig/tests/packaging/release.py
|
--- invocations-3.3.0.orig/tests/packaging/release.py
|
||||||
+++ invocations-3.0.2/tests/packaging/release.py
|
+++ invocations-3.3.0/tests/packaging/release.py
|
||||||
@@ -3,7 +3,10 @@ from os import path
|
@@ -3,7 +3,10 @@ from os import path
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
@@ -14,12 +14,12 @@ Index: invocations-3.0.2/tests/packaging/release.py
|
|||||||
from invoke import MockContext, Result, Config, Exit
|
from invoke import MockContext, Result, Config, Exit
|
||||||
from docutils.utils import Reporter
|
from docutils.utils import Reporter
|
||||||
from unittest.mock import Mock, patch, call
|
from unittest.mock import Mock, patch, call
|
||||||
Index: invocations-3.0.2/invocations/packaging/release.py
|
Index: invocations-3.3.0/invocations/packaging/release.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- invocations-3.0.2.orig/invocations/packaging/release.py
|
--- invocations-3.3.0.orig/invocations/packaging/release.py
|
||||||
+++ invocations-3.0.2/invocations/packaging/release.py
|
+++ invocations-3.3.0/invocations/packaging/release.py
|
||||||
@@ -20,7 +20,10 @@ from glob import glob
|
@@ -21,7 +21,10 @@ from io import StringIO
|
||||||
from io import StringIO
|
from pathlib import Path
|
||||||
from shutil import rmtree
|
from shutil import rmtree
|
||||||
|
|
||||||
-from invoke.vendor.lexicon import Lexicon
|
-from invoke.vendor.lexicon import Lexicon
|
||||||
|
@@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 6 10:23:52 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- 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).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 1 13:06:53 UTC 2023 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- python-six is not required
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 4 19:15:25 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu May 4 19:15:25 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-invocations
|
# spec file for package python-invocations
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,13 +18,15 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-invocations
|
Name: python-invocations
|
||||||
Version: 3.0.2
|
Version: 3.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Reusable Invoke tasks
|
Summary: Reusable Invoke tasks
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
URL: https://github.com/pyinvoke/invocations
|
URL: https://github.com/pyinvoke/invocations
|
||||||
Source: https://github.com/pyinvoke/invocations/archive/%{version}.tar.gz#/invocations-%{version}.tar.gz
|
Source: https://github.com/pyinvoke/invocations/archive/%{version}.tar.gz#/invocations-%{version}.tar.gz
|
||||||
Patch0: invocations-no-bundled.patch
|
Patch0: invocations-no-bundled.patch
|
||||||
|
# PATCH-FIX-OPENSUSE drop-icecream-dep.patch -- daniel.garcia@suse.com
|
||||||
|
Patch1: drop-icecream-dep.patch
|
||||||
BuildRequires: %{python_module blessings >= 1.6}
|
BuildRequires: %{python_module blessings >= 1.6}
|
||||||
BuildRequires: %{python_module invoke >= 1.7.2}
|
BuildRequires: %{python_module invoke >= 1.7.2}
|
||||||
BuildRequires: %{python_module lexicon}
|
BuildRequires: %{python_module lexicon}
|
||||||
@@ -32,7 +34,6 @@ BuildRequires: %{python_module pytest-relaxed}
|
|||||||
BuildRequires: %{python_module releases >= 1.6}
|
BuildRequires: %{python_module releases >= 1.6}
|
||||||
BuildRequires: %{python_module semantic_version >= 2.4}
|
BuildRequires: %{python_module semantic_version >= 2.4}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: %{python_module tabulate >= 0.7.5}
|
BuildRequires: %{python_module tabulate >= 0.7.5}
|
||||||
BuildRequires: %{python_module tqdm >= 4.8.1}
|
BuildRequires: %{python_module tqdm >= 4.8.1}
|
||||||
BuildRequires: %{python_module twine >= 1.15}
|
BuildRequires: %{python_module twine >= 1.15}
|
||||||
@@ -44,7 +45,6 @@ Requires: python-invoke >= 1.7.2
|
|||||||
Requires: python-lexicon
|
Requires: python-lexicon
|
||||||
Requires: python-releases >= 1.6
|
Requires: python-releases >= 1.6
|
||||||
Requires: python-semantic_version >= 2.4
|
Requires: python-semantic_version >= 2.4
|
||||||
Requires: python-six
|
|
||||||
Requires: python-tabulate >= 0.7.5
|
Requires: python-tabulate >= 0.7.5
|
||||||
Requires: python-tqdm >= 4.8.1
|
Requires: python-tqdm >= 4.8.1
|
||||||
Requires: python-twine >= 1.15
|
Requires: python-twine >= 1.15
|
||||||
|
Reference in New Issue
Block a user