Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-docker for 
openSUSE:Factory checked in at 2025-11-14 16:22:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-docker (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-docker.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-docker"

Fri Nov 14 16:22:18 2025 rev:4 rq:1317748 version:3.2.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-docker/python-pytest-docker.changes    
    2025-07-06 17:18:04.576191739 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-docker.new.2061/python-pytest-docker.changes
      2025-11-14 16:22:25.360265289 +0100
@@ -1,0 +2,9 @@
+Thu Nov 13 12:45:16 UTC 2025 - Daniel Garcia <[email protected]>
+
+- Update to 3.2.5:
+  * ci improvements by @augi in #128
+  * Use --wait in the default setup command by @mikeroll in #129
+- 3.2.4:
+  * chore(deps): pytest 9.x allowed by @augi in #127
+
+-------------------------------------------------------------------

Old:
----
  python-pytest-docker-3.2.3.tar.gz

New:
----
  _scmsync.obsinfo
  build.specials.obscpio
  python-pytest-docker-3.2.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-docker.spec ++++++
--- /var/tmp/diff_new_pack.LnbiBy/_old  2025-11-14 16:22:26.160298896 +0100
+++ /var/tmp/diff_new_pack.LnbiBy/_new  2025-11-14 16:22:26.164299064 +0100
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-pytest-docker
-Version:        3.2.3
+Version:        3.2.5
 Release:        0
 Summary:        Simple pytest fixtures for Docker and Docker Compose based 
tests
 License:        MIT

++++++ _scmsync.obsinfo ++++++
mtime: 1763038184
commit: 058776019f0019bbb4d3ca00a018152505b4028176ae31924890aeead10a9f8c
url: https://src.opensuse.org/python-pytest/python-pytest-docker.git
revision: 058776019f0019bbb4d3ca00a018152505b4028176ae31924890aeead10a9f8c
projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2025-11-14 10:14:43.000000000 +0100
@@ -0,0 +1 @@
+.osc

++++++ python-pytest-docker-3.2.3.tar.gz -> python-pytest-docker-3.2.5.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-docker-3.2.3/.github/workflows/build-and-publish.yaml 
new/pytest-docker-3.2.5/.github/workflows/build-and-publish.yaml
--- old/pytest-docker-3.2.3/.github/workflows/build-and-publish.yaml    
2025-07-04 09:46:00.000000000 +0200
+++ new/pytest-docker-3.2.5/.github/workflows/build-and-publish.yaml    
2025-11-12 14:41:54.000000000 +0100
@@ -15,7 +15,7 @@
       - uses: actions/checkout@v2
       - uses: actions/setup-python@v2
         with:
-          python-version: 3.9
+          python-version: '3.10'
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip build twine
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-docker-3.2.3/.github/workflows/tests.yaml 
new/pytest-docker-3.2.5/.github/workflows/tests.yaml
--- old/pytest-docker-3.2.3/.github/workflows/tests.yaml        2025-07-04 
09:46:00.000000000 +0200
+++ new/pytest-docker-3.2.5/.github/workflows/tests.yaml        2025-11-12 
14:41:54.000000000 +0100
@@ -8,8 +8,12 @@
     strategy:
       matrix:
         python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
-        pytest-version: [4, 5, 6, 7, 8]
-
+        pytest-version: [4, 5, 6, 7, 8, 9]
+        exclude:
+          - python-version: "3.8"
+            pytest-version: 9
+          - python-version: "3.9"
+            pytest-version: 9
     steps:
       - uses: actions/checkout@v2
       - name: Set up Python ${{ matrix.python-version }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-docker-3.2.3/README.md 
new/pytest-docker-3.2.5/README.md
--- old/pytest-docker-3.2.3/README.md   2025-07-04 09:46:00.000000000 +0200
+++ new/pytest-docker-3.2.5/README.md   2025-11-12 14:41:54.000000000 +0100
@@ -94,6 +94,10 @@
     assert response.status_code == status
 ```
 
+> The default `docker_setup` command includes `--wait`, which respects either 
the
+> image `HEALTHCHECK` or the compose `healthcheck`. Generally, if those
+> are configured properly, `wait_until_responsive` should not be required. 
+
 By default, this plugin will try to open `docker-compose.yml` in your
 `tests` directory. If you need to use a custom location, override the
 `docker_compose_file` fixture inside your `conftest.py` file:
@@ -138,7 +142,7 @@
 # Stop the stack before starting a new one
 @pytest.fixture(scope="session")
 def docker_setup():
-    return ["down -v", "up --build -d"]
+    return ["down -v", "up --build --wait"]
 ```
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-docker-3.2.3/setup.cfg 
new/pytest-docker-3.2.5/setup.cfg
--- old/pytest-docker-3.2.3/setup.cfg   2025-07-04 09:46:00.000000000 +0200
+++ new/pytest-docker-3.2.5/setup.cfg   2025-11-12 14:41:54.000000000 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = pytest-docker
-version =  3.2.3
+version =  3.2.5
 description = Simple pytest fixtures for Docker and Docker Compose based tests
 long_description = file: README.md
 long_description_content_type = text/markdown
@@ -35,7 +35,7 @@
 packages=pytest_docker
 
 install_requires =
-    pytest >=4.0, <9.0
+    pytest >=4.0, <10.0
     attrs >=19.2.0
 
 [options.extras_require]
@@ -85,3 +85,4 @@
 mypy_path = "src/pytest_docker,tests"
 namespace_packages = true
 warn_unused_ignores = true
+warn_return_any = false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-docker-3.2.3/src/pytest_docker/plugin.py 
new/pytest-docker-3.2.5/src/pytest_docker/plugin.py
--- old/pytest-docker-3.2.3/src/pytest_docker/plugin.py 2025-07-04 
09:46:00.000000000 +0200
+++ new/pytest-docker-3.2.5/src/pytest_docker/plugin.py 2025-11-12 
14:41:54.000000000 +0100
@@ -1,5 +1,6 @@
 import contextlib
 import os
+from pathlib import Path
 import re
 import subprocess
 import time
@@ -119,7 +120,7 @@
         raise Exception("Timeout reached while waiting on service!")
 
 
-def str_to_list(arg: Union[str, List[Any], Tuple[Any]]) -> Union[List[Any], 
Tuple[Any]]:
+def str_to_list(arg: Union[str, Path, List[Any], Tuple[Any]]) -> 
Union[List[Any], Tuple[Any]]:
     if isinstance(arg, (list, tuple)):
         return arg
     return [arg]
@@ -178,7 +179,7 @@
 
 
 def get_setup_command() -> Union[List[str], str]:
-    return ["up --build -d"]
+    return ["up --build --wait"]
 
 
 @pytest.fixture(scope=containers_scope)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-docker-3.2.3/tests/test_docker_services.py 
new/pytest-docker-3.2.5/tests/test_docker_services.py
--- old/pytest-docker-3.2.3/tests/test_docker_services.py       2025-07-04 
09:46:00.000000000 +0200
+++ new/pytest-docker-3.2.5/tests/test_docker_services.py       2025-11-12 
14:41:54.000000000 +0100
@@ -49,7 +49,7 @@
     # Both should have been called.
     assert check_output.call_args_list == [
         mock.call(
-            'docker compose -f "docker-compose.yml" -p "pytest123" up --build 
-d',
+            'docker compose -f "docker-compose.yml" -p "pytest123" up --build 
--wait',
             stderr=subprocess.STDOUT,
             shell=True,
         ),
@@ -100,7 +100,7 @@
     assert check_output.call_args_list == [
         mock.call(
             'docker compose -f "docker-compose.yml" -p "pytest123" '
-            "up --build -d",  # pylint: disable:=implicit-str-concat
+            'up --build --wait',  # pylint: disable:=implicit-str-concat
             shell=True,
             stderr=subprocess.STDOUT,
         ),
@@ -147,7 +147,7 @@
     assert check_output.call_args_list == [
         mock.call(
             'docker compose -f "docker-compose.yml" -p "pytest123" '
-            "up --build -d",  # pylint: disable:=implicit-str-concat
+            "up --build --wait",  # pylint: disable:=implicit-str-concat
             shell=True,
             stderr=subprocess.STDOUT,
         )
@@ -188,7 +188,7 @@
             "docker compose",
             "docker-compose.yml",
             docker_compose_project_name="pytest123",
-            docker_setup="up --build -d",
+            docker_setup="up --build --wait",
             docker_cleanup="down -v",
         ) as services:
             assert isinstance(services, Services)
@@ -212,7 +212,7 @@
     # Both should have been called.
     assert check_output.call_args_list == [
         mock.call(
-            'docker compose -f "docker-compose.yml" -p "pytest123" up --build 
-d',
+            'docker compose -f "docker-compose.yml" -p "pytest123" up --build 
--wait',
             stderr=subprocess.STDOUT,
             shell=True,
         ),
@@ -242,7 +242,7 @@
             "docker compose",
             "docker-compose.yml",
             docker_compose_project_name="pytest123",
-            docker_setup=["ps", "up --build -d"],
+            docker_setup=["ps", "up --build --wait"],
             docker_cleanup=["down -v", "ps"],
         ) as services:
             assert isinstance(services, Services)
@@ -271,7 +271,7 @@
             shell=True,
         ),
         mock.call(
-            'docker compose -f "docker-compose.yml" -p "pytest123" up --build 
-d',
+            'docker compose -f "docker-compose.yml" -p "pytest123" up --build 
--wait',
             stderr=subprocess.STDOUT,
             shell=True,
         ),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-docker-3.2.3/tests/test_dockercomposeexecutor.py 
new/pytest-docker-3.2.5/tests/test_dockercomposeexecutor.py
--- old/pytest-docker-3.2.3/tests/test_dockercomposeexecutor.py 2025-07-04 
09:46:00.000000000 +0200
+++ new/pytest-docker-3.2.5/tests/test_dockercomposeexecutor.py 2025-11-12 
14:41:54.000000000 +0100
@@ -1,7 +1,7 @@
 import subprocess
 from unittest import mock
 
-import py
+from pathlib import Path
 from pytest_docker.plugin import DockerComposeExecutor
 
 
@@ -31,9 +31,9 @@
         ]
 
 
-def test_pypath_compose_files() -> None:
-    compose_file: py.path.local = py.path.local("/tmp/docker-compose.yml")
-    docker_compose = DockerComposeExecutor("docker compose", compose_file, 
"pytest123")  # type: ignore
+def test_path_compose_file() -> None:
+    compose_file: Path = Path("/tmp/docker-compose.yml")
+    docker_compose = DockerComposeExecutor("docker compose", compose_file, 
"pytest123")
     with mock.patch("subprocess.check_output") as check_output:
         docker_compose.execute("up")
         assert check_output.call_args_list == [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-docker-3.2.3/tests/test_fixtures.py 
new/pytest-docker-3.2.5/tests/test_fixtures.py
--- old/pytest-docker-3.2.3/tests/test_fixtures.py      2025-07-04 
09:46:00.000000000 +0200
+++ new/pytest-docker-3.2.5/tests/test_fixtures.py      2025-11-12 
14:41:54.000000000 +0100
@@ -21,7 +21,7 @@
 
 
 def test_docker_setup(docker_setup: List[str]) -> None:
-    assert docker_setup == ["up --build -d"]
+    assert docker_setup == ["up --build --wait"]
 
 
 def test_docker_compose_comand(docker_compose_command: str) -> None:

Reply via email to