pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python-gitlab/python-gitlab/commit/f825d70e25feae8cd9da84e768ec6075edbc2200

refactor(deps): drop compose v1 dependency in favor of v2 · python-gitlab/python-gitlab@f825d70 · GitHub
Skip to content

Commit f825d70

Browse files
nejchJohnVillalovos
authored andcommitted
refactor(deps): drop compose v1 dependency in favor of v2
1 parent 953f38d commit f825d70

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

CONTRIBUTING.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ Running integration tests
7878
-------------------------
7979

8080
Integration tests run against a running gitlab instance, using a docker
81-
container. You need to have docker installed on the test machine, and your user
82-
must have the correct permissions to talk to the docker daemon.
81+
container. You need to have docker and `docker compose
82+
<https://docs.docker.com/compose/install/>`_
83+
installed on the test machine, and your user must have the correct permissions
84+
to talk to the docker daemon.
8385

8486
To run these tests:
8587

@@ -104,7 +106,7 @@ up of the containers by running:
104106

105107
.. code-block:: bash
106108
107-
docker-compose -f tests/functional/fixtures/docker-compose.yml -p pytest-python-gitlab down -v
109+
docker compose -f tests/functional/fixtures/docker-compose.yml -p pytest-python-gitlab down -v
108110
109111
By default, the tests run against the latest version of the ``gitlab/gitlab-ce``
110112
image. You can override both the image and tag by providing either the

requirements-docker.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
-r requirements.txt
22
-r requirements-test.txt
3-
docker-compose==1.29.2 # prevent inconsistent .env behavior from system install
43
pytest-docker

tests/functional/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ def gitlab_version(gl) -> GitlabVersion:
3434
return GitlabVersion(major=major, minor=minor, patch=patch, revision=revision)
3535

3636

37+
@pytest.fixture(scope="session")
38+
def docker_compose_command():
39+
return "docker compose"
40+
41+
3742
@pytest.fixture(scope="session")
3843
def fixture_dir(test_dir) -> pathlib.Path:
3944
return test_dir / "functional" / "fixtures"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy