mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-text/jrnl: drop 4.1, 4.2
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
--- a/tests/lib/when_steps.py
|
||||
+++ b/tests/lib/when_steps.py
|
||||
@@ -7,7 +7,7 @@
|
||||
from pytest_bdd import when
|
||||
from pytest_bdd.parsers import parse
|
||||
from pytest_bdd.parsers import re
|
||||
-from pytest_bdd.steps import inject_fixture
|
||||
+from pytest_bdd.compat import inject_fixture
|
||||
|
||||
from jrnl.main import run
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
Patching out toml in favor for tomli as the latter is already included in the Gentoo repo
|
||||
|
||||
--- a/tests/lib/fixtures.py
|
||||
+++ b/tests/lib/fixtures.py
|
||||
@@ -9,7 +9,7 @@
|
||||
from unittest.mock import Mock
|
||||
from unittest.mock import patch
|
||||
|
||||
-import toml
|
||||
+import tomli
|
||||
from keyring import backend
|
||||
from keyring import errors
|
||||
from pytest import fixture
|
||||
@@ -204,7 +204,7 @@
|
||||
@fixture
|
||||
def toml_version(working_dir):
|
||||
pyproject = os.path.join(working_dir, "..", "pyproject.toml")
|
||||
- pyproject_contents = toml.load(pyproject)
|
||||
+ pyproject_contents = tomli.load(pyproject)
|
||||
return pyproject_contents["tool"]["poetry"]["version"]
|
||||
Reference in New Issue
Block a user