Skip to content

Commit 0f751eb

Browse files
Merge pull request #92 from wiremock/2.35.1-release
Update the bundled WireMock version to 2.35.1 + Pin Poetry in the Pipelines
2 parents d67c969 + 52cb5b1 commit 0f751eb

File tree

9 files changed

+18
-12
lines changed

9 files changed

+18
-12
lines changed

.github/workflows/lint-docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
uses: actions/setup-python@v4
1717
with:
1818
python-version: "3.10"
19-
- name: Install Poetry
20-
run: curl -sSL https://install.python-poetry.org | python
19+
- name: Install and configure Poetry
20+
uses: snok/install-poetry@v1
21+
with:
22+
version: 1.5.1
2123
- name: Install dependencies
2224
run: |
2325
poetry env use '3.10'

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ jobs:
1818
uses: actions/setup-python@v4
1919
with:
2020
python-version: "3.10"
21-
- name: Install Poetry
22-
run: curl -sSL https://install.python-poetry.org | python
21+
- name: Install and configure Poetry
22+
uses: snok/install-poetry@v1
23+
with:
24+
version: 1.5.1
2325
- name: Install dependencies
2426
run: poetry install
2527
- name: Build distributions

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ jobs:
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323

24-
- name: Install Poetry
25-
run: curl -sSL https://install.python-poetry.org | python
24+
- name: Install and configure Poetry
25+
uses: snok/install-poetry@v1
26+
with:
27+
version: 1.5.1
2628

2729
- name: Install dependencies
2830
run: |

docs/api-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ WireMockServer(java_path='/path/to/my/java')
6969
### Customizing the WireMock server JAR file:
7070

7171
```python
72-
WireMockServer(jar_path='/my/secret/location/wiremock-standalone-2.35.0.jar')
72+
WireMockServer(jar_path='/my/secret/location/wiremock-standalone-2.35.1.jar')
7373
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "wiremock"
3-
version = "2.6.0"
3+
version = "2.6.1"
44
description = "Wiremock Admin API Client"
55
authors = ["Cody Lee <[email protected]>", "Mike Waites <[email protected]>"]
66
license = "OSI Approved :: Apache Software License"

tests/test_server/test_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_init_with_defaults(config):
5454
with patch.object(WireMockServer, "_get_free_port", return_value=config.port):
5555
wm = WireMockServer()
5656

57-
expected_jar = files("wiremock") / "server" / "wiremock-standalone-2.35.0.jar"
57+
expected_jar = files("wiremock") / "server" / "wiremock-standalone-2.35.1.jar"
5858
assertEqual(wm.java_path, "java") # Assume java in PATH
5959
assertEqual(wm.jar_path, expected_jar)
6060

wiremock/server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class WireMockServer(object):
1818

1919
DEFAULT_JAVA = "java" # Assume java in PATH
20-
DEFAULT_JAR = files("wiremock") / "server" / "wiremock-standalone-2.35.0.jar"
20+
DEFAULT_JAR = files("wiremock") / "server" / "wiremock-standalone-2.35.1.jar"
2121

2222
def __init__(
2323
self,
15 MB
Binary file not shown.

wiremock/testing/testcontainer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class WireMockContainer(DockerContainer):
3333

3434
def __init__(
3535
self,
36-
image: str = "wiremock/wiremock:2.35.0",
36+
image: str = "wiremock/wiremock:2.35.1-1",
3737
http_server_port: int = 8080,
3838
https_server_port: int = 8443,
3939
secure: bool = True,
@@ -227,7 +227,7 @@ def start(self, cmd: Optional[str] = None) -> "WireMockContainer":
227227

228228
@contextmanager
229229
def wiremock_container(
230-
image: str = "wiremock/wiremock:2.35.0",
230+
image: str = "wiremock/wiremock:2.35.1-1",
231231
http_server_port: int = 8080,
232232
https_server_port: int = 8443,
233233
secure: bool = True,

0 commit comments

Comments
 (0)